launchdarkly-js-sdk-common
Advanced tools
Comparing version
{ | ||
"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 @@ } |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
470062
0.06%11109
0.09%