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 4.3.0 to 4.3.1

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Change log

## [4.3.0] - 2022-10-17
### Added:
- Added support for `Inspectors` that can be used for collecting information for monitoring, analytics, and debugging.
## [4.2.0] - 2022-10-03

@@ -7,0 +11,0 @@ ### Removed:

2

package.json
{
"name": "launchdarkly-js-sdk-common",
"version": "4.3.0",
"version": "4.3.1",
"description": "LaunchDarkly SDK for JavaScript - common code",

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

@@ -159,2 +159,8 @@ const EventProcessor = require('./EventProcessor');

function notifyInspectionFlagUsed(key, detail) {
if (inspectorManager.hasListeners(InspectorTypes.flagUsed)) {
inspectorManager.onFlagUsed(key, detail, ident.getUser());
}
}
function notifyInspectionIdentityChanged() {

@@ -316,3 +322,3 @@ if (inspectorManager.hasListeners(InspectorTypes.clientIdentityChanged)) {

if (!isAllFlags) {
notifyInspectionIdentityChanged();
notifyInspectionFlagUsed(key, detail);
}

@@ -319,0 +325,0 @@

@@ -96,3 +96,2 @@ const { messages } = require('.');

onNextTick(() => {
console.log('what?');
inspectorsByType[InspectorTypes.flagDetailChanged].forEach(inspector => inspector.method(flagKey, flag));

@@ -99,0 +98,0 @@ });

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