@devcycle/js-cloud-server-sdk
Advanced tools
Comparing version 1.2.1 to 1.3.0
{ | ||
"name": "@devcycle/js-cloud-server-sdk", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "The DevCycle JS Cloud Bucketing Server SDK used for feature management.", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@devcycle/types": "^1.3.1", | ||
"@devcycle/types": "^1.4.0", | ||
"cross-fetch": "^3.1.8", | ||
@@ -9,0 +9,0 @@ "fetch-retry": "^5.0.3", |
@@ -12,2 +12,7 @@ import { DVCVariableValue, DVCVariableSet, DVCFeatureSet, DevCycleEvent } from './types'; | ||
constructor(sdkKey: string, options: DevCycleServerSDKOptions, platformDetails: DevCyclePlatformDetails); | ||
/** | ||
* Always returns true for Cloud Client because once the client is created, | ||
* it is initialized as all request are async to the API. | ||
*/ | ||
get isInitialized(): boolean; | ||
variable<T extends DVCVariableValue>(user: DevCycleUser, key: string, defaultValue: T): Promise<DVCVariable<T>>; | ||
@@ -14,0 +19,0 @@ variableValue<T extends DVCVariableValue>(user: DevCycleUser, key: string, defaultValue: T): Promise<VariableTypeAlias<T>>; |
@@ -52,2 +52,9 @@ "use strict"; | ||
} | ||
/** | ||
* Always returns true for Cloud Client because once the client is created, | ||
* it is initialized as all request are async to the API. | ||
*/ | ||
get isInitialized() { | ||
return true; | ||
} | ||
async variable(user, key, defaultValue) { | ||
@@ -54,0 +61,0 @@ const incomingUser = castIncomingUser(user); |
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
90858
941
Updated@devcycle/types@^1.4.0