Skip to content

Commit 1d32e81

Browse files
LaunchDarklyReleaseBotrsoberano-ldyusintokeelerm84LaunchDarklyReleaseBot
authored
prepare 3.2.0 release (#260)
## [3.2.0] - 2024-05-01 ### Added: - 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. ### Changed: - 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. - Updated the link-dev script to better support multiple platforms. ### Fixed: - Fixed the documentation for `evaluationReasons` for the `identify` method. --------- Co-authored-by: Rouel Joseph Soberano <rsoberano@launchdarkly.com> Co-authored-by: Rouel Soberano <96156061+rsoberano-ld@users.noreply.github.com> Co-authored-by: Yusinto Ngadiman <yusinto@gmail.com> Co-authored-by: Matthew M. Keeler <mkeeler@launchdarkly.com> Co-authored-by: LaunchDarklyReleaseBot <launchdarklyreleasebot@launchdarkly.com> Co-authored-by: Ryan Lamb <4955475+kinyoklion@users.noreply.github.com>
1 parent db9221a commit 1d32e81

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

link-dev.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ do
2121
mkdir -p examples/${example}/node_modules/launchdarkly-react-client-sdk/node_modules
2222
mkdir -p examples/${example}/node_modules/launchdarkly-react-client-sdk/lib
2323
cp package.json examples/${example}/node_modules/launchdarkly-react-client-sdk/package.json
24-
cp -r node_modules/ examples/${example}/node_modules/launchdarkly-react-client-sdk/node_modules/
25-
cp -r lib/ examples/${example}/node_modules/launchdarkly-react-client-sdk/lib/
24+
cp -r node_modules/* examples/${example}/node_modules/launchdarkly-react-client-sdk/node_modules/
25+
cp -r lib/* examples/${example}/node_modules/launchdarkly-react-client-sdk/lib/
2626
done

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
},
8484
"dependencies": {
8585
"hoist-non-react-statics": "^3.3.2",
86-
"launchdarkly-js-client-sdk": "^3.2.0",
86+
"launchdarkly-js-client-sdk": "^3.3.0",
8787
"lodash.camelcase": "^4.3.0"
8888
},
8989
"peerDependencies": {

0 commit comments

Comments
 (0)