@launchdarkly/cloudflare-server-sdk 2.0.8 → 2.1.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
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to the LaunchDarkly SDK for Cloudflare Workers will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org).
4
4
 
5
+ ## [2.1.0](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v2.0.9...cloudflare-server-sdk-v2.1.0) (2023-08-14)
6
+
7
+
8
+ ### Features
9
+
10
+ * Allow specifying the user agent per-sdk implementation. ([#226](https://github.com/launchdarkly/js-core/issues/226)) ([e57716f](https://github.com/launchdarkly/js-core/commit/e57716f3f6f0ba8568e32b0937903ca46e5470ad))
11
+
12
+ ### Bug Fixes
13
+
14
+ * Allow for negation of segment match clauses. ([#237](https://github.com/launchdarkly/js-core/issues/237)) ([d8e469a](https://github.com/launchdarkly/js-core/commit/d8e469a5e58b90c791fbbee80f7c0fc447c4e42f))
15
+
16
+ ### Dependencies
17
+
18
+ * The following workspace dependencies were updated
19
+ * dependencies
20
+ * @launchdarkly/js-server-sdk-common-edge bumped from 1.0.8 to 1.0.9
21
+
5
22
  ### Dependencies
6
23
 
7
24
  * The following workspace dependencies were updated
@@ -38,6 +55,20 @@ All notable changes to the LaunchDarkly SDK for Cloudflare Workers will be docum
38
55
  * dependencies
39
56
  * @launchdarkly/js-server-sdk-common-edge bumped from 1.0.6 to 1.0.7
40
57
 
58
+ ## [2.0.9](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v2.0.8...cloudflare-server-sdk-v2.0.9) (2023-08-10)
59
+
60
+
61
+ ### Bug Fixes
62
+
63
+ * Switch to es2017 target to ensure native async/await. ([a83e4e6](https://github.com/launchdarkly/js-core/commit/a83e4e62d04c66105a1b0e8893640a7ca2d641e4))
64
+
65
+
66
+ ### Dependencies
67
+
68
+ * The following workspace dependencies were updated
69
+ * dependencies
70
+ * @launchdarkly/js-server-sdk-common-edge bumped from 1.0.7 to 1.0.8
71
+
41
72
  ## [2.0.3](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v2.0.2...cloudflare-server-sdk-v2.0.3) (2023-05-01)
42
73
 
43
74
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@launchdarkly/cloudflare-server-sdk",
3
- "version": "2.0.8",
3
+ "version": "2.1.0",
4
4
  "type": "commonjs"
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"createPlatformInfo.d.ts","sourceRoot":"","sources":["../../../src/createPlatformInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAI3F,cAAM,sBAAuB,YAAW,IAAI;IAC1C,YAAY,IAAI,YAAY;IAM5B,OAAO,IAAI,OAAO;CAMnB;AAED,QAAA,MAAM,kBAAkB,8BAAqC,CAAC;AAE9D,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"createPlatformInfo.d.ts","sourceRoot":"","sources":["../../../src/createPlatformInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAI3F,cAAM,sBAAuB,YAAW,IAAI;IAC1C,YAAY,IAAI,YAAY;IAM5B,OAAO,IAAI,OAAO;CAOnB;AAED,QAAA,MAAM,kBAAkB,8BAAqC,CAAC;AAE9D,eAAe,kBAAkB,CAAC"}
@@ -11,6 +11,7 @@ class CloudflarePlatformInfo {
11
11
  return {
12
12
  name: package_json_1.name,
13
13
  version: package_json_1.version,
14
+ userAgentBase: 'CloudflareEdgeSDK',
14
15
  };
15
16
  }
16
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"createPlatformInfo.js","sourceRoot":"","sources":["../../../src/createPlatformInfo.ts"],"names":[],"mappings":";;AAEA,kDAAgD;AAEhD,MAAM,sBAAsB;IAC1B,YAAY;QACV,OAAO;YACL,IAAI,EAAE,YAAY;SACnB,CAAC;IACJ,CAAC;IAED,OAAO;QACL,OAAO;YACL,IAAI,EAAJ,mBAAI;YACJ,OAAO,EAAP,sBAAO;SACR,CAAC;IACJ,CAAC;CACF;AAED,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,IAAI,sBAAsB,EAAE,CAAC;AAE9D,kBAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"createPlatformInfo.js","sourceRoot":"","sources":["../../../src/createPlatformInfo.ts"],"names":[],"mappings":";;AAEA,kDAAgD;AAEhD,MAAM,sBAAsB;IAC1B,YAAY;QACV,OAAO;YACL,IAAI,EAAE,YAAY;SACnB,CAAC;IACJ,CAAC;IAED,OAAO;QACL,OAAO;YACL,IAAI,EAAJ,mBAAI;YACJ,OAAO,EAAP,sBAAO;YACP,aAAa,EAAE,mBAAmB;SACnC,CAAC;IACJ,CAAC;CACF;AAED,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,IAAI,sBAAsB,EAAE,CAAC;AAE9D,kBAAe,kBAAkB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@launchdarkly/cloudflare-server-sdk",
3
- "version": "2.0.8",
3
+ "version": "2.1.0",
4
4
  "type": "module"
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"createPlatformInfo.d.ts","sourceRoot":"","sources":["../../../src/createPlatformInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAI3F,cAAM,sBAAuB,YAAW,IAAI;IAC1C,YAAY,IAAI,YAAY;IAM5B,OAAO,IAAI,OAAO;CAMnB;AAED,QAAA,MAAM,kBAAkB,8BAAqC,CAAC;AAE9D,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"createPlatformInfo.d.ts","sourceRoot":"","sources":["../../../src/createPlatformInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAI3F,cAAM,sBAAuB,YAAW,IAAI;IAC1C,YAAY,IAAI,YAAY;IAM5B,OAAO,IAAI,OAAO;CAOnB;AAED,QAAA,MAAM,kBAAkB,8BAAqC,CAAC;AAE9D,eAAe,kBAAkB,CAAC"}
@@ -9,6 +9,7 @@ class CloudflarePlatformInfo {
9
9
  return {
10
10
  name,
11
11
  version,
12
+ userAgentBase: 'CloudflareEdgeSDK',
12
13
  };
13
14
  }
14
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"createPlatformInfo.js","sourceRoot":"","sources":["../../../src/createPlatformInfo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,sBAAsB;IAC1B,YAAY;QACV,OAAO;YACL,IAAI,EAAE,YAAY;SACnB,CAAC;IACJ,CAAC;IAED,OAAO;QACL,OAAO;YACL,IAAI;YACJ,OAAO;SACR,CAAC;IACJ,CAAC;CACF;AAED,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,IAAI,sBAAsB,EAAE,CAAC;AAE9D,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"createPlatformInfo.js","sourceRoot":"","sources":["../../../src/createPlatformInfo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,sBAAsB;IAC1B,YAAY;QACV,OAAO;YACL,IAAI,EAAE,YAAY;SACnB,CAAC;IACJ,CAAC;IAED,OAAO;QACL,OAAO;YACL,IAAI;YACJ,OAAO;YACP,aAAa,EAAE,mBAAmB;SACnC,CAAC;IACJ,CAAC;CACF;AAED,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,IAAI,sBAAsB,EAAE,CAAC;AAE9D,eAAe,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchdarkly/cloudflare-server-sdk",
3
- "version": "2.0.8",
3
+ "version": "2.1.0",
4
4
  "description": "Cloudflare LaunchDarkly SDK",
5
5
  "homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/cloudflare",
6
6
  "repository": {
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@cloudflare/workers-types": "^4.20230321.0",
42
- "@launchdarkly/js-server-sdk-common-edge": "1.0.7",
42
+ "@launchdarkly/js-server-sdk-common-edge": "1.0.9",
43
43
  "crypto-js": "^4.1.1"
44
44
  },
45
45
  "devDependencies": {