@launchdarkly/cloudflare-server-sdk 2.2.3 → 2.3.0
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 +14 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -25,16 +25,16 @@ export { LDClient } from '@launchdarkly/js-server-sdk-common-edge';
|
|
|
25
25
|
* (`new LDClient()/new LDClientImpl()/new LDClient()`); the SDK does not currently support
|
|
26
26
|
* this.
|
|
27
27
|
*
|
|
28
|
+
* @param clientSideID
|
|
29
|
+
* The client side ID. This is only used to query the kvNamespace above,
|
|
30
|
+
* not to connect with LaunchDarkly servers.
|
|
28
31
|
* @param kvNamespace
|
|
29
32
|
* The Cloudflare KV configured for LaunchDarkly.
|
|
30
|
-
* @param sdkKey
|
|
31
|
-
* The client side SDK key. This is only used to query the kvNamespace above,
|
|
32
|
-
* not to connect with LaunchDarkly servers.
|
|
33
33
|
* @param options
|
|
34
34
|
* Optional configuration settings. The only supported option is logger.
|
|
35
35
|
* @return
|
|
36
36
|
* The new {@link LDClient} instance.
|
|
37
37
|
*/
|
|
38
|
-
declare const init: (
|
|
38
|
+
declare const init: (clientSideID: string, kvNamespace: KVNamespace, options?: LDOptions) => LDClient;
|
|
39
39
|
|
|
40
40
|
export { init };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@launchdarkly/cloudflare-server-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Cloudflare LaunchDarkly SDK",
|
|
5
5
|
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/cloudflare",
|
|
6
6
|
"repository": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"crypto-js": "^4.1.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@launchdarkly/js-server-sdk-common-edge": "2.0
|
|
47
|
+
"@launchdarkly/js-server-sdk-common-edge": "2.1.0",
|
|
48
48
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
49
49
|
"@rollup/plugin-json": "^6.0.0",
|
|
50
50
|
"@rollup/plugin-node-resolve": "^15.2.1",
|