launchdarkly-node-client-sdk 3.2.0 → 3.2.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/CHANGELOG.md +11 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the LaunchDarkly Client-Side SDK for Node.js will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [3.2.0] - 2024-05-01
|
|
6
|
+
### Added:
|
|
7
|
+
- Added an optional timeout to the `waitForInitialization` method. When a timeout is specified the returned promise will be rejected after the timeout elapses if the client has not finished initializing within that time. When no timeout is specified the returned promise will not be resolved or rejected until the initialization either completes or fails.
|
|
8
|
+
|
|
9
|
+
### Changed:
|
|
10
|
+
- The track method now validates that the provided metricValue is a number. If a metric value is provided, and it is not a number, then a warning will be logged.
|
|
11
|
+
|
|
12
|
+
### Fixed:
|
|
13
|
+
- Fixed the documentation for `evaluationReasons` for the `identify` method.
|
|
14
|
+
- Upgraded to launchdarkly-eventsource version 2.0.2. This version contains performance improvements and logging improvements compared the the version that was in use.
|
|
15
|
+
|
|
5
16
|
## [3.1.0] - 2024-03-19
|
|
6
17
|
### Changed:
|
|
7
18
|
- Redact anonymous attributes within feature events
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "launchdarkly-node-client-sdk",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "LaunchDarkly Client-Side SDK for Node.js",
|
|
5
5
|
"author": "LaunchDarkly <team@launchdarkly.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"outputName": "junit.xml"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"launchdarkly-eventsource": "2.0.
|
|
67
|
+
"launchdarkly-eventsource": "2.0.3",
|
|
68
68
|
"launchdarkly-js-sdk-common": "5.2.0",
|
|
69
69
|
"node-localstorage": "^1.3.1"
|
|
70
70
|
},
|