Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@devcycle/js-cloud-server-sdk

Package Overview
Dependencies
Maintainers
6
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devcycle/js-cloud-server-sdk - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc