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

@devcycle/js-client-sdk

Package Overview
Dependencies
Maintainers
6
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devcycle/js-client-sdk - npm Package Compare versions

Comparing version 1.13.7 to 1.13.8

2

package.json
{
"name": "@devcycle/js-client-sdk",
"version": "1.13.7",
"version": "1.13.8",
"description": "The Javascript Client SDK for DevCycle",

@@ -5,0 +5,0 @@ "author": "",

@@ -22,2 +22,4 @@ import { DVCFeatureSet, DevCycleOptions, DVCVariableSet, DVCVariableValue, DevCycleEvent, DevCycleUser, ErrorCallback, DVCFeature, VariableDefinitions } from './types';

user?: DVCPopulatedUser;
_isInitialized: boolean;
get isInitialized(): boolean;
private sdkKey;

@@ -24,0 +26,0 @@ private readonly options;

@@ -24,3 +24,7 @@ "use strict";

class DevCycleClient {
get isInitialized() {
return this._isInitialized;
}
constructor(sdkKey, userOrOptions, optionsArg = {}) {
this._isInitialized = false;
this.userSaved = false;

@@ -94,3 +98,6 @@ this._closing = false;

this.onInitialized = new Promise((resolve, reject) => {
this.resolveOnInitialized = resolve;
this.resolveOnInitialized = (value) => {
this._isInitialized = true;
resolve(value);
};
});

@@ -97,0 +104,0 @@ if (!this.options.deferInitialization) {

@@ -22,2 +22,4 @@ import { DVCFeatureSet, DevCycleOptions, DVCVariableSet, DVCVariableValue, DevCycleEvent, DevCycleUser, ErrorCallback, DVCFeature, VariableDefinitions } from './types';

user?: DVCPopulatedUser;
_isInitialized: boolean;
readonly isInitialized: boolean;
private sdkKey;

@@ -24,0 +26,0 @@ private readonly options;

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