@devcycle/nodejs-server-sdk
Advanced tools
Comparing version 1.27.0 to 1.27.1
{ | ||
"name": "@devcycle/nodejs-server-sdk", | ||
"version": "1.27.0", | ||
"version": "1.27.1", | ||
"description": "The DevCycle NodeJS Server SDK used for feature management.", | ||
@@ -23,5 +23,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@devcycle/bucketing-assembly-script": "^1.19.0", | ||
"@devcycle/js-cloud-server-sdk": "^1.11.0", | ||
"@devcycle/types": "^1.12.0", | ||
"@devcycle/bucketing-assembly-script": "^1.19.1", | ||
"@devcycle/js-cloud-server-sdk": "^1.11.1", | ||
"@devcycle/types": "^1.12.1", | ||
"cross-fetch": "^4.0.0", | ||
@@ -28,0 +28,0 @@ "fetch-retry": "^5.0.6" |
@@ -37,3 +37,3 @@ import { BucketedUserConfig, DevCycleServerSDKOptions, VariableTypeAlias } from '@devcycle/types'; | ||
getClientBootstrapConfig(user: DevCycleUser, userAgent: string): Promise<BucketedUserConfig & { | ||
sdkKey: string; | ||
clientSDKKey: string; | ||
}>; | ||
@@ -40,0 +40,0 @@ flushEvents(callback?: () => void): Promise<void>; |
@@ -217,4 +217,4 @@ "use strict"; | ||
} | ||
const sdkKey = (0, userBucketingHelper_1.getSDKKeyFromConfig)(`${this.sdkKey}_client`); | ||
if (!sdkKey) { | ||
const clientSDKKey = (0, userBucketingHelper_1.getSDKKeyFromConfig)(`${this.sdkKey}_client`); | ||
if (!clientSDKKey) { | ||
throw new Error('Client bootstrapping config is malformed. Please contact DevCycle support.'); | ||
@@ -227,3 +227,3 @@ } | ||
...(0, userBucketingHelper_1.bucketUserForConfig)(populatedUser, `${this.sdkKey}_client`), | ||
sdkKey, | ||
clientSDKKey, | ||
}; | ||
@@ -230,0 +230,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
242248
190
5
9
0
66
+ Added@devcycle/bucketing-assembly-script@1.28.2(transitive)
+ Added@devcycle/js-cloud-server-sdk@1.18.2(transitive)
+ Added@devcycle/types@1.19.2(transitive)
- Removed@devcycle/bucketing-assembly-script@1.29.0(transitive)
- Removed@devcycle/js-cloud-server-sdk@1.19.0(transitive)
- Removed@devcycle/types@1.20.0(transitive)
Updated@devcycle/types@^1.12.1