The types of values a feature flag can have.
Flags can have any JSON-serializable value.
The current version string of the SDK.
A basic implementation of logging that uses the global
console object. This is used by
default in the browser SDK. It sends messages of "debug", "info", "warn", or "error"
level (if enable) to
To make LDClient use this logger, put it in the
logger property of LDOptions.
Creates an instance of the LaunchDarkly client.
Applications should instantiate a single instance for the lifetime of the application.
The client will begin attempting to connect to LaunchDarkly as soon as it is created. To
determine when it is ready to use, call LDClient.waitForInitialization, or register an
event listener for the
"ready" event using LDClient.on.
The LaunchDarkly environment ID.
The initial user properties. These can be changed later with LDClient.identify.
The user must have a
key property, except that if you omit
user.key and set
true, the SDK will create a randomized unique key (which will be cached in local storage for the
current OS user account, so the next initialization will reuse the same key).
Optional configuration settings.
Generated using TypeDoc