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

@devcycle/nodejs-server-sdk

Package Overview
Dependencies
Maintainers
6
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devcycle/nodejs-server-sdk - npm Package Compare versions

Comparing version 1.1.1 to 1.1.3

6

package.json
{
"name": "@devcycle/nodejs-server-sdk",
"version": "1.1.1",
"version": "1.1.3",
"description": "The DevCycle NodeJS Server SDK used for feature management.",

@@ -12,3 +12,3 @@ "license": "MIT",

"dependencies": {
"@devcycle/bucketing-assembly-script": "^1.0.11",
"@devcycle/bucketing-assembly-script": "^1.0.12",
"axios": "^0.24.0",

@@ -26,3 +26,3 @@ "@devcycle/types": "1.0.14",

"engines": {
"node": ">=10.0.0"
"node": ">=14.0.0"
},

@@ -29,0 +29,0 @@ "main": "./src/index.js",

@@ -25,2 +25,11 @@ "use strict";

};
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -68,3 +77,4 @@ exports.DVCClient = void 0;

process.on('exit', () => {
this.configHelper.cleanup();
var _a;
(_a = this.configHelper) === null || _a === void 0 ? void 0 : _a.cleanup();
});

@@ -79,8 +89,10 @@ }

onClientInitialized(onInitialized) {
if (onInitialized && typeof onInitialized === 'function') {
this.onInitialized
.then(() => onInitialized())
.catch((err) => onInitialized(err));
}
return this.onInitialized;
return __awaiter(this, void 0, void 0, function* () {
if (onInitialized && typeof onInitialized === 'function') {
this.onInitialized
.then(() => onInitialized())
.catch((err) => onInitialized(err));
}
return this.onInitialized;
});
}

@@ -139,3 +151,5 @@ variable(user, key, defaultValue) {

flushEvents(callback) {
return this.eventQueue.flushEvents().then(callback);
return __awaiter(this, void 0, void 0, function* () {
return this.eventQueue.flushEvents().then(callback);
});
}

@@ -142,0 +156,0 @@ }

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