launchdarkly-js-sdk-common 5.7.0 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +7 -0
- package/CODEOWNERS +1 -1
- package/package.json +1 -1
- package/typings.d.ts +7 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the `launchdarkly-js-sdk-common` package will be documented in this file. Changes that affect the dependent SDKs such as `launchdarkly-js-client-sdk` should also be logged in those projects, in the next release that uses the updated version of this package. This project adheres to [Semantic Versioning](http://semver.org).
|
|
4
4
|
|
|
5
|
+
## [5.7.1](https://github.com/launchdarkly/js-sdk-common/compare/5.7.0...5.7.1) (2025-05-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* updating identify code documentation ([82c6071](https://github.com/launchdarkly/js-sdk-common/commit/82c6071760cccbe3000a30f46fb19e169ed8573e))
|
|
11
|
+
|
|
5
12
|
## [5.7.0](https://github.com/launchdarkly/js-sdk-common/compare/5.6.0...5.7.0) (2025-05-22)
|
|
6
13
|
|
|
7
14
|
|
package/CODEOWNERS
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# Repository Maintainers
|
|
2
|
-
* @launchdarkly/team-sdk
|
|
2
|
+
* @launchdarkly/team-sdk-js
|
package/package.json
CHANGED
package/typings.d.ts
CHANGED
|
@@ -1071,6 +1071,13 @@ export interface LDPlugin {
|
|
|
1071
1071
|
* Changing the current context also causes all feature flag values to be reloaded. Until that has
|
|
1072
1072
|
* finished, calls to {@link variation} will still return flag values for the previous context. You can
|
|
1073
1073
|
* use a callback or a Promise to determine when the new flag values are available.
|
|
1074
|
+
*
|
|
1075
|
+
* It is possible that the identify call will fail. In that case, when using a callback, the callback will receive
|
|
1076
|
+
* an error value. While the SDK will continue to function, the developer will need to be aware that
|
|
1077
|
+
* calls to {@link variation} will still return flag values for the previous context.
|
|
1078
|
+
*
|
|
1079
|
+
* When using a promise, it is important that you handle the rejection case;
|
|
1080
|
+
* otherwise it will become an unhandled Promise rejection, which is a serious error on some platforms.
|
|
1074
1081
|
*
|
|
1075
1082
|
* @param context
|
|
1076
1083
|
* The context properties. Must contain at least the `key` property.
|