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

launchdarkly-js-sdk-common

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

launchdarkly-js-sdk-common - npm Package Compare versions

Comparing version 5.0.0-alpha.6 to 5.0.0-alpha.7

2

package.json
{
"name": "launchdarkly-js-sdk-common",
"version": "5.0.0-alpha.6",
"version": "5.0.0-alpha.7",
"description": "LaunchDarkly SDK for JavaScript - common code",

@@ -5,0 +5,0 @@ "author": "LaunchDarkly <team@launchdarkly.com>",

@@ -65,3 +65,3 @@ import { AsyncQueue } from 'launchdarkly-js-test-helpers';

calls.add({ events, url });
return Promise.resolve({ serverTime, status });
return Promise.resolve([{ serverTime, status }]);
},

@@ -68,0 +68,0 @@ setServerTime: time => {

@@ -103,3 +103,3 @@ /**

switch (kind) {
case typeof kind === 'undefined':
case undefined:
keys.user = `${key}`;

@@ -106,0 +106,0 @@ break;

@@ -139,3 +139,4 @@ const EventSender = require('./EventSender');

logger.debug(messages.debugPostingEvents(eventsToSend.length));
return eventSender.sendEvents(eventsToSend, mainEventsUrl).then(responseInfo => {
return eventSender.sendEvents(eventsToSend, mainEventsUrl).then(responses => {
const responseInfo = responses && responses[0];
if (responseInfo) {

@@ -142,0 +143,0 @@ if (responseInfo.serverTime) {

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