@launchdarkly/cloudflare-server-sdk 2.0.0 → 2.0.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 +16 -0
- package/LICENSE +13 -0
- package/README.md +2 -4
- package/dist/cjs/package.json +1 -1
- package/dist/esm/package.json +1 -1
- package/package.json +10 -3
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,22 @@ All notable changes to the LaunchDarkly SDK for Cloudflare Workers will be docum
|
|
|
8
8
|
* dependencies
|
|
9
9
|
* @launchdarkly/js-server-sdk-common-edge bumped from 0.0.2 to 0.0.3
|
|
10
10
|
|
|
11
|
+
## [2.0.1](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v2.0.0...cloudflare-server-sdk-v2.0.1) (2023-04-27)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* add licence and fix missing package.json fields. ([c586398](https://github.com/launchdarkly/js-core/commit/c5863980c5bf4ee2a7590dfc4f7c575045d669b0))
|
|
17
|
+
* Ensure top level commands work correctly ([#105](https://github.com/launchdarkly/js-core/issues/105)) ([762571f](https://github.com/launchdarkly/js-core/commit/762571ff851558d229e4d29ba40a9c16b89f2a8d))
|
|
18
|
+
* remove beta text from cloudflare sdk readme. ([c586398](https://github.com/launchdarkly/js-core/commit/c5863980c5bf4ee2a7590dfc4f7c575045d669b0))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Dependencies
|
|
22
|
+
|
|
23
|
+
* The following workspace dependencies were updated
|
|
24
|
+
* dependencies
|
|
25
|
+
* @launchdarkly/js-server-sdk-common-edge bumped from 1.0.0 to 1.0.1
|
|
26
|
+
|
|
11
27
|
## [2.0.0](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v0.0.4...cloudflare-server-sdk-v2.0.0) (2023-04-26)
|
|
12
28
|
|
|
13
29
|
|
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright 2022 Catamorphic, Co.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
The LaunchDarkly Cloudflare SDK is designed primarily for use in multi-user Cloudflare workers. It follows the server-side LaunchDarkly model for multi-user contexts. It is not intended for use in desktop and embedded systems applications.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
This SDK is a replacement of [launchdarkly-cloudflare-edge-sdk](https://github.com/launchdarkly/cloudflare-edge-sdk). Please consider updating your application to use this package instead.
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
For more information, see the [complete reference guide for this SDK](https://docs.launchdarkly.com/sdk/server-side/cloudflare).
|
|
14
14
|
|
|
15
15
|
## Install
|
|
16
16
|
|
|
@@ -49,8 +49,6 @@ export default {
|
|
|
49
49
|
|
|
50
50
|
See the full [example app](https://github.com/launchdarkly/js-core/tree/main/packages/sdk/cloudflare/example).
|
|
51
51
|
|
|
52
|
-
Read the [complete reference guide for this SDK](https://docs.launchdarkly.com/sdk/server-side/cloudflare).
|
|
53
|
-
|
|
54
52
|
## Developing this SDK
|
|
55
53
|
|
|
56
54
|
```shell
|
package/dist/cjs/package.json
CHANGED
package/dist/esm/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@launchdarkly/cloudflare-server-sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Cloudflare LaunchDarkly SDK",
|
|
5
|
+
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/cloudflare",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/launchdarkly/js-core.git"
|
|
9
|
+
},
|
|
10
|
+
"license": "Apache-2.0",
|
|
5
11
|
"packageManager": "yarn@3.4.1",
|
|
6
12
|
"keywords": [
|
|
7
13
|
"launchdarkly",
|
|
@@ -17,11 +23,12 @@
|
|
|
17
23
|
"main": "./dist/cjs/src/index.js",
|
|
18
24
|
"types": "./dist/cjs/src/index.d.ts",
|
|
19
25
|
"files": [
|
|
20
|
-
"
|
|
26
|
+
"dist"
|
|
21
27
|
],
|
|
22
28
|
"scripts": {
|
|
23
29
|
"doc": "../../../scripts/build-doc.sh .",
|
|
24
30
|
"build": "../../../scripts/build-package.sh",
|
|
31
|
+
"clean": "rimraf dist",
|
|
25
32
|
"tsw": "yarn tsc --watch",
|
|
26
33
|
"start": "rimraf dist && yarn tsw",
|
|
27
34
|
"lint": "eslint . --ext .ts",
|
|
@@ -31,7 +38,7 @@
|
|
|
31
38
|
},
|
|
32
39
|
"dependencies": {
|
|
33
40
|
"@cloudflare/workers-types": "^4.20230321.0",
|
|
34
|
-
"@launchdarkly/js-server-sdk-common-edge": "1.0.
|
|
41
|
+
"@launchdarkly/js-server-sdk-common-edge": "1.0.1",
|
|
35
42
|
"crypto-js": "^4.1.1"
|
|
36
43
|
},
|
|
37
44
|
"devDependencies": {
|