@launchdarkly/js-server-sdk-common-edge 0.0.2 → 1.0.0
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 +14 -0
- package/dist/cjs/package.json +1 -1
- package/dist/cjs/src/api/createOptions.d.ts.map +1 -1
- package/dist/cjs/src/api/createOptions.js +0 -6
- package/dist/cjs/src/api/createOptions.js.map +1 -1
- package/dist/cjs/src/utils/validateOptions.d.ts +1 -1
- package/dist/cjs/src/utils/validateOptions.d.ts.map +1 -1
- package/dist/esm/package.json +1 -1
- package/dist/esm/src/api/createOptions.d.ts.map +1 -1
- package/dist/esm/src/api/createOptions.js +0 -6
- package/dist/esm/src/api/createOptions.js.map +1 -1
- package/dist/esm/src/utils/validateOptions.d.ts +1 -1
- package/dist/esm/src/utils/validateOptions.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,20 @@
|
|
|
6
6
|
* dependencies
|
|
7
7
|
* @launchdarkly/js-server-sdk-common bumped from 0.3.0 to 0.3.1
|
|
8
8
|
|
|
9
|
+
## [1.0.0](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-edge-v0.0.3...js-server-sdk-common-edge-v1.0.0) (2023-04-26)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* initial major release ([#101](https://github.com/launchdarkly/js-core/issues/101)) ([9883675](https://github.com/launchdarkly/js-core/commit/98836758d1998f208a1e13a68955611e0b10a8ce))
|
|
15
|
+
|
|
16
|
+
## [0.0.3](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-edge-v0.0.2...js-server-sdk-common-edge-v0.0.3) (2023-04-25)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* remove useless defaults ([#94](https://github.com/launchdarkly/js-core/issues/94)) ([a9f533a](https://github.com/launchdarkly/js-core/commit/a9f533a4bdeb73338fd04fb5be2efd64c2d82c75))
|
|
22
|
+
|
|
9
23
|
## 0.0.1 (2023-04-19)
|
|
10
24
|
|
|
11
25
|
|
package/dist/cjs/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOptions.d.ts","sourceRoot":"","sources":["../../../../src/api/createOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAE5E,eAAO,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"createOptions.d.ts","sourceRoot":"","sources":["../../../../src/api/createOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAE5E,eAAO,MAAM,cAAc,EAAE,SAM5B,CAAC;AAEF,QAAA,MAAM,aAAa,YAAa,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -5,14 +5,8 @@ const js_server_sdk_common_1 = require("@launchdarkly/js-server-sdk-common");
|
|
|
5
5
|
exports.defaultOptions = {
|
|
6
6
|
stream: false,
|
|
7
7
|
sendEvents: false,
|
|
8
|
-
offline: false,
|
|
9
8
|
useLdd: true,
|
|
10
|
-
allAttributesPrivate: false,
|
|
11
|
-
privateAttributes: [],
|
|
12
|
-
contextKeysCapacity: 1000,
|
|
13
|
-
contextKeysFlushInterval: 300,
|
|
14
9
|
diagnosticOptOut: true,
|
|
15
|
-
diagnosticRecordingInterval: 900,
|
|
16
10
|
logger: js_server_sdk_common_1.BasicLogger.get(),
|
|
17
11
|
};
|
|
18
12
|
const createOptions = (options) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOptions.js","sourceRoot":"","sources":["../../../../src/api/createOptions.ts"],"names":[],"mappings":";;;AAAA,6EAA4E;AAE/D,QAAA,cAAc,GAAc;IACvC,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,KAAK;IACjB,
|
|
1
|
+
{"version":3,"file":"createOptions.js","sourceRoot":"","sources":["../../../../src/api/createOptions.ts"],"names":[],"mappings":";;;AAAA,6EAA4E;AAE/D,QAAA,cAAc,GAAc;IACvC,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,IAAI;IACZ,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,kCAAW,CAAC,GAAG,EAAE;CAC1B,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,OAAkB,EAAE,EAAE;;IAC3C,MAAM,YAAY,mCAAQ,sBAAc,GAAK,OAAO,CAAE,CAAC;IACvD,MAAA,YAAY,CAAC,MAAM,0CAAE,KAAK,CAAC,qBAAqB,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAChF,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC;AAEF,kBAAe,aAAa,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LDOptions as LDOptionsCommon } from '@launchdarkly/js-server-sdk-common
|
|
1
|
+
import { LDOptions as LDOptionsCommon } from '@launchdarkly/js-server-sdk-common';
|
|
2
2
|
/**
|
|
3
3
|
* The Launchdarkly Edge SDKs configuration options. Only logger is officially
|
|
4
4
|
* supported. sendEvents is unsupported and is only included as a beta
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateOptions.d.ts","sourceRoot":"","sources":["../../../../src/utils/validateOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"validateOptions.d.ts","sourceRoot":"","sources":["../../../../src/utils/validateOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAElF;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,YAAY,CAAC,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,IAAI,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;AAElF,QAAA,MAAM,eAAe,WAAY,MAAM,WAAW,iBAAiB,YAmBlE,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/dist/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOptions.d.ts","sourceRoot":"","sources":["../../../../src/api/createOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAE5E,eAAO,MAAM,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"createOptions.d.ts","sourceRoot":"","sources":["../../../../src/api/createOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAE5E,eAAO,MAAM,cAAc,EAAE,SAM5B,CAAC;AAEF,QAAA,MAAM,aAAa,YAAa,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -2,14 +2,8 @@ import { BasicLogger } from '@launchdarkly/js-server-sdk-common';
|
|
|
2
2
|
export const defaultOptions = {
|
|
3
3
|
stream: false,
|
|
4
4
|
sendEvents: false,
|
|
5
|
-
offline: false,
|
|
6
5
|
useLdd: true,
|
|
7
|
-
allAttributesPrivate: false,
|
|
8
|
-
privateAttributes: [],
|
|
9
|
-
contextKeysCapacity: 1000,
|
|
10
|
-
contextKeysFlushInterval: 300,
|
|
11
6
|
diagnosticOptOut: true,
|
|
12
|
-
diagnosticRecordingInterval: 900,
|
|
13
7
|
logger: BasicLogger.get(),
|
|
14
8
|
};
|
|
15
9
|
const createOptions = (options) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOptions.js","sourceRoot":"","sources":["../../../../src/api/createOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAa,MAAM,oCAAoC,CAAC;AAE5E,MAAM,CAAC,MAAM,cAAc,GAAc;IACvC,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,KAAK;IACjB,
|
|
1
|
+
{"version":3,"file":"createOptions.js","sourceRoot":"","sources":["../../../../src/api/createOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAa,MAAM,oCAAoC,CAAC;AAE5E,MAAM,CAAC,MAAM,cAAc,GAAc;IACvC,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,IAAI;IACZ,gBAAgB,EAAE,IAAI;IACtB,MAAM,EAAE,WAAW,CAAC,GAAG,EAAE;CAC1B,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,OAAkB,EAAE,EAAE;;IAC3C,MAAM,YAAY,mCAAQ,cAAc,GAAK,OAAO,CAAE,CAAC;IACvD,MAAA,YAAY,CAAC,MAAM,0CAAE,KAAK,CAAC,qBAAqB,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;IAChF,OAAO,YAAY,CAAC;AACtB,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LDOptions as LDOptionsCommon } from '@launchdarkly/js-server-sdk-common
|
|
1
|
+
import { LDOptions as LDOptionsCommon } from '@launchdarkly/js-server-sdk-common';
|
|
2
2
|
/**
|
|
3
3
|
* The Launchdarkly Edge SDKs configuration options. Only logger is officially
|
|
4
4
|
* supported. sendEvents is unsupported and is only included as a beta
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateOptions.d.ts","sourceRoot":"","sources":["../../../../src/utils/validateOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"validateOptions.d.ts","sourceRoot":"","sources":["../../../../src/utils/validateOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAElF;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,YAAY,CAAC,CAAC;AAEvE;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,IAAI,CAAC,eAAe,EAAE,cAAc,CAAC,CAAC;AAElF,QAAA,MAAM,eAAe,WAAY,MAAM,WAAW,iBAAiB,YAmBlE,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@launchdarkly/js-server-sdk-common-edge",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "LaunchDarkly Server SDK for JavaScript - common Edge SDK code",
|
|
5
5
|
"packageManager": "yarn@3.4.1",
|
|
6
6
|
"keywords": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"check": "yarn prettier && yarn lint && yarn build && yarn test && yarn doc"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@launchdarkly/js-server-sdk-common": "0.
|
|
33
|
+
"@launchdarkly/js-server-sdk-common": "1.0.0",
|
|
34
34
|
"crypto-js": "^4.1.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|