You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

launchdarkly-js-sdk-common

Package Overview
Dependencies
Maintainers
1
Versions
94
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

to
5.5.0-beta.3

2

package.json
{
"name": "launchdarkly-js-sdk-common",
"version": "5.5.0-beta.2",
"version": "5.5.0-beta.3",
"description": "LaunchDarkly SDK for JavaScript - common code",

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

@@ -685,6 +685,12 @@ const EventProcessor = require('./EventProcessor');

}
let afterIdentify;
return anonymousContextProcessor
.processContext(context)
.then(verifyContext)
.then(context => {
afterIdentify = hookRunner.identify(context, undefined);
return context;
})
.then(validatedContext => {
afterIdentify?.({ status: 'completed' });
ident.setContext(validatedContext);

@@ -699,2 +705,6 @@ if (typeof options.bootstrap === 'object') {

}
})
.catch(err => {
afterIdentify?.({ status: 'error' });
throw err;
});

@@ -701,0 +711,0 @@ }