@launchdarkly/cloudflare-server-sdk 2.7.4 → 2.7.6
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 +16 -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 +3 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { KVNamespace } from '@cloudflare/workers-types';
|
|
2
|
-
import { internalServer,
|
|
3
|
-
export
|
|
4
|
-
export { LDClient } from '@launchdarkly/js-server-sdk-common-edge';
|
|
2
|
+
import { internalServer, LDOptions as LDOptions$1, LDClient } from '@launchdarkly/js-server-sdk-common-edge';
|
|
3
|
+
export { BasicLogger, BasicLoggerOptions, Cache, EdgeFeatureStore, EdgeProvider, IsMigrationStage, LDBigSegmentsOptions, LDClient, LDClientContext, LDConcurrentExecution, LDContext, LDEvaluationDetail, LDEvaluationDetailTyped, LDFeatureStore, LDFlagValue, LDFlagsState, LDFlagsStateOptions, LDLogger, LDMethodResult, LDMigration, LDMigrationOpEvent, LDMigrationOptions, LDMigrationOrigin, LDMigrationReadResult, LDMigrationResult, LDMigrationStage, LDMigrationSuccess, LDMigrationVariation, LDMigrationWriteResult, LDProxyOptions, LDTLSOptions, LDWaitForInitializationOptions, createMigration, integrations } from '@launchdarkly/js-server-sdk-common-edge';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* This is the API reference for the Cloudflare LaunchDarkly SDK.
|
|
@@ -25,7 +24,6 @@ type LDOptions = {
|
|
|
25
24
|
*/
|
|
26
25
|
cache?: TtlCacheOptions;
|
|
27
26
|
} & LDOptions$1;
|
|
28
|
-
|
|
29
27
|
/**
|
|
30
28
|
* Creates an instance of the Cloudflare LaunchDarkly client.
|
|
31
29
|
*
|
|
@@ -50,4 +48,4 @@ type LDOptions = {
|
|
|
50
48
|
declare const init: (clientSideID: string, kvNamespace: KVNamespace, options?: LDOptions) => LDClient;
|
|
51
49
|
|
|
52
50
|
export { init };
|
|
53
|
-
export type { TtlCacheOptions };
|
|
51
|
+
export type { LDOptions, TtlCacheOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@launchdarkly/cloudflare-server-sdk",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.6",
|
|
4
4
|
"description": "Cloudflare LaunchDarkly SDK",
|
|
5
5
|
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/cloudflare",
|
|
6
6
|
"repository": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@cloudflare/workers-types": "^4.20230321.0",
|
|
44
|
-
"@launchdarkly/js-server-sdk-common-edge": "2.6.
|
|
44
|
+
"@launchdarkly/js-server-sdk-common-edge": "2.6.5",
|
|
45
45
|
"crypto-js": "^4.1.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|