launchdarkly-js-client-sdk 2.24.2 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -15
- package/dist/ldclient.cjs.js +1 -1
- package/dist/ldclient.cjs.js.map +1 -1
- package/dist/ldclient.es.js +1 -1
- package/dist/ldclient.es.js.map +1 -1
- package/dist/ldclient.min.js +1 -1
- package/dist/ldclient.min.js.map +1 -1
- package/package.json +2 -2
- package/typings.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "launchdarkly-js-client-sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-alpha.1",
|
|
4
4
|
"description": "LaunchDarkly SDK for JavaScript",
|
|
5
5
|
"author": "LaunchDarkly <team@launchdarkly.com>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"escape-string-regexp": "^4.0.0",
|
|
80
|
-
"launchdarkly-js-sdk-common": "
|
|
80
|
+
"launchdarkly-js-sdk-common": "5.0.0-alpha.1"
|
|
81
81
|
},
|
|
82
82
|
"repository": {
|
|
83
83
|
"type": "git",
|
package/typings.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ declare module 'launchdarkly-js-client-sdk' {
|
|
|
6
6
|
import {
|
|
7
7
|
BasicLoggerOptions,
|
|
8
8
|
LDClientBase,
|
|
9
|
+
LDContext,
|
|
9
10
|
LDLogger,
|
|
10
11
|
LDOptionsBase,
|
|
11
|
-
LDUser
|
|
12
12
|
} from 'launchdarkly-js-sdk-common';
|
|
13
13
|
//// DOCBUILD-END-REPLACE
|
|
14
14
|
|
|
@@ -39,13 +39,13 @@ declare module 'launchdarkly-js-client-sdk' {
|
|
|
39
39
|
* @return
|
|
40
40
|
* The new client instance.
|
|
41
41
|
*/
|
|
42
|
-
export function initialize(envKey: string, user:
|
|
42
|
+
export function initialize(envKey: string, user: LDContext, options?: LDOptions): LDClient;
|
|
43
43
|
|
|
44
44
|
// This is @ignored because TypeDoc does not show default exports correctly. We'll just explain
|
|
45
45
|
// the export situation in the comment for initialize().
|
|
46
46
|
/** @ignore */
|
|
47
47
|
const LaunchDarkly: {
|
|
48
|
-
initialize: (envKey: string, user:
|
|
48
|
+
initialize: (envKey: string, user: LDContext, options?: LDOptions) => LDClient;
|
|
49
49
|
version: string;
|
|
50
50
|
};
|
|
51
51
|
|