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
32
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 1.1.0 to 1.2.0-alpha

dist/internal/events/LDInternalOptions.d.ts

3

dist/internal/events/index.d.ts

@@ -6,3 +6,4 @@ import EventProcessor from './EventProcessor';

import InputIdentifyEvent from './InputIdentifyEvent';
export { InputCustomEvent, InputEvalEvent, InputEvent, InputIdentifyEvent, EventProcessor };
import type { LDInternalOptions } from './LDInternalOptions';
export { EventProcessor, InputCustomEvent, InputEvalEvent, InputEvent, InputIdentifyEvent, LDInternalOptions, };
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EventProcessor = exports.InputIdentifyEvent = exports.InputEvalEvent = exports.InputCustomEvent = void 0;
exports.InputIdentifyEvent = exports.InputEvalEvent = exports.InputCustomEvent = exports.EventProcessor = void 0;
const EventProcessor_1 = require("./EventProcessor");

@@ -5,0 +5,0 @@ exports.EventProcessor = EventProcessor_1.default;

@@ -8,4 +8,17 @@ /**

readonly events: string;
constructor(streaming: string, polling: string, events: string);
/** Valid paths are:
* /bulk
* /events/bulk/envId
* /mobile
*/
readonly analyticsEventPath: string;
/** Valid paths are:
* /diagnostic
* /events/diagnostic/envId
* /mobile/events/diagnostic
*/
readonly diagnosticEventPath: string;
readonly includeAuthorizationHeader: boolean;
constructor(streaming: string, polling: string, events: string, analyticsEventPath?: string, diagnosticEventPath?: string, includeAuthorizationHeader?: boolean);
}
//# sourceMappingURL=ServiceEndpoints.d.ts.map

@@ -10,6 +10,9 @@ "use strict";

class ServiceEndpoints {
constructor(streaming, polling, events) {
constructor(streaming, polling, events, analyticsEventPath = '/bulk', diagnosticEventPath = '/diagnostic', includeAuthorizationHeader = true) {
this.streaming = canonicalizeUri(streaming);
this.polling = canonicalizeUri(polling);
this.events = canonicalizeUri(events);
this.analyticsEventPath = analyticsEventPath;
this.diagnosticEventPath = diagnosticEventPath;
this.includeAuthorizationHeader = includeAuthorizationHeader;
}

@@ -16,0 +19,0 @@ }

{
"name": "@launchdarkly/js-sdk-common",
"version": "1.1.0",
"version": "1.2.0-alpha",
"type": "commonjs",

@@ -22,3 +22,2 @@ "main": "./dist/index.js",

"scripts": {
"doc": "../../../scripts/build-doc.sh .",
"test": "npx jest --ci",

@@ -46,5 +45,5 @@ "build": "npx tsc",

"ts-jest": "^29.0.5",
"typedoc": "0.23.26",
"typescript": "^5.1.6"
"typedoc": "0.25.0",
"typescript": "5.1.6"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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