@launchdarkly/js-server-sdk-common-edge 2.1.2 → 2.2.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 CHANGED
@@ -90,6 +90,31 @@
90
90
  * dependencies
91
91
  * @launchdarkly/js-server-sdk-common bumped from 2.1.1 to 2.1.2
92
92
 
93
+ ## [2.2.0](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-edge-v2.1.3...js-server-sdk-common-edge-v2.2.0) (2024-02-06)
94
+
95
+
96
+ ### Features
97
+
98
+ * Implement common client side support for auto environment attributes. ([#356](https://github.com/launchdarkly/js-core/issues/356)) ([8d80259](https://github.com/launchdarkly/js-core/commit/8d80259f7379827e46bef8bcf8293e3b2d966d25))
99
+ * React-native support for auto-env attributes. Only affects react-native package. ([deea99c](https://github.com/launchdarkly/js-core/commit/deea99ca2fbb3865f2ce55a83b2cf12e0ae2db5e))
100
+ * Update eslint jest configuration and versions. ([deea99c](https://github.com/launchdarkly/js-core/commit/deea99ca2fbb3865f2ce55a83b2cf12e0ae2db5e))
101
+
102
+
103
+ ### Dependencies
104
+
105
+ * The following workspace dependencies were updated
106
+ * dependencies
107
+ * @launchdarkly/js-server-sdk-common bumped from 2.1.3 to 2.2.0
108
+
109
+ ## [2.1.3](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-edge-v2.1.2...js-server-sdk-common-edge-v2.1.3) (2024-01-16)
110
+
111
+
112
+ ### Dependencies
113
+
114
+ * The following workspace dependencies were updated
115
+ * dependencies
116
+ * @launchdarkly/js-server-sdk-common bumped from 2.1.2 to 2.1.3
117
+
93
118
  ## [2.1.0](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-edge-v2.0.2...js-server-sdk-common-edge-v2.1.0) (2023-11-14)
94
119
 
95
120
 
package/README.md CHANGED
@@ -12,6 +12,10 @@ This library is a beta version and should not be considered ready for production
12
12
 
13
13
  See [Contributing](../CONTRIBUTING.md).
14
14
 
15
+ ## Verifying SDK build provenance with the SLSA framework
16
+
17
+ LaunchDarkly uses the [SLSA framework](https://slsa.dev/spec/v1.0/about) (Supply-chain Levels for Software Artifacts) to help developers make their supply chain more secure by ensuring the authenticity and build integrity of our published SDK packages. To learn more, see the [provenance guide](PROVENANCE.md).
18
+
15
19
  ## About LaunchDarkly
16
20
 
17
21
  - LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@launchdarkly/js-server-sdk-common-edge",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "type": "commonjs"
5
5
  }
@@ -30,6 +30,8 @@ declare const createOptions: (options: LDOptions) => {
30
30
  application?: {
31
31
  id?: string | undefined;
32
32
  version?: string | undefined;
33
+ name?: string | undefined;
34
+ versionName?: string | undefined;
33
35
  } | undefined;
34
36
  };
35
37
  export default createOptions;
@@ -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,SAM5B,CAAC;AAEF,QAAA,MAAM,aAAa,YAAa,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
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"}
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@launchdarkly/js-server-sdk-common-edge",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "type": "module"
5
5
  }
@@ -30,6 +30,8 @@ declare const createOptions: (options: LDOptions) => {
30
30
  application?: {
31
31
  id?: string | undefined;
32
32
  version?: string | undefined;
33
+ name?: string | undefined;
34
+ versionName?: string | undefined;
33
35
  } | undefined;
34
36
  };
35
37
  export default createOptions;
@@ -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,SAM5B,CAAC;AAEF,QAAA,MAAM,aAAa,YAAa,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxC,CAAC;AAEF,eAAe,aAAa,CAAC"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchdarkly/js-server-sdk-common-edge",
3
- "version": "2.1.2",
3
+ "version": "2.2.0",
4
4
  "homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/shared/sdk-server-edge",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,7 +36,7 @@
36
36
  "check": "yarn prettier && yarn lint && yarn build && yarn test && yarn doc"
37
37
  },
38
38
  "dependencies": {
39
- "@launchdarkly/js-server-sdk-common": "2.1.2",
39
+ "@launchdarkly/js-server-sdk-common": "2.2.0",
40
40
  "crypto-js": "^4.1.1"
41
41
  },
42
42
  "devDependencies": {
@@ -44,14 +44,15 @@
44
44
  "@trivago/prettier-plugin-sort-imports": "^4.1.1",
45
45
  "@types/crypto-js": "^4.1.1",
46
46
  "@types/jest": "^29.5.0",
47
- "@typescript-eslint/eslint-plugin": "^6.1.0",
48
- "@typescript-eslint/parser": "^6.1.0",
47
+ "@typescript-eslint/eslint-plugin": "^6.20.0",
48
+ "@typescript-eslint/parser": "^6.20.0",
49
49
  "esbuild": "^0.17.17",
50
50
  "eslint": "^8.45.0",
51
51
  "eslint-config-airbnb-base": "^15.0.0",
52
52
  "eslint-config-airbnb-typescript": "^17.1.0",
53
53
  "eslint-config-prettier": "^8.8.0",
54
54
  "eslint-plugin-import": "^2.27.5",
55
+ "eslint-plugin-jest": "^27.6.3",
55
56
  "eslint-plugin-prettier": "^5.0.0",
56
57
  "jest": "^29.5.0",
57
58
  "launchdarkly-js-test-helpers": "^2.2.0",