@launchdarkly/node-server-sdk-dynamodb 5.0.10 → 6.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
CHANGED
|
@@ -48,6 +48,30 @@
|
|
|
48
48
|
* devDependencies
|
|
49
49
|
* @launchdarkly/node-server-sdk bumped from 8.2.2 to 8.2.3
|
|
50
50
|
|
|
51
|
+
### Dependencies
|
|
52
|
+
|
|
53
|
+
* The following workspace dependencies were updated
|
|
54
|
+
* devDependencies
|
|
55
|
+
* @launchdarkly/node-server-sdk bumped from 8.2.3 to 8.2.4
|
|
56
|
+
|
|
57
|
+
## [6.0.0](https://github.com/launchdarkly/js-core/compare/node-server-sdk-dynamodb-v5.0.11...node-server-sdk-dynamodb-v6.0.0) (2023-10-16)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### ⚠ BREAKING CHANGES
|
|
61
|
+
|
|
62
|
+
* Implement Migrations. Refactor for client SDKs. ([#293](https://github.com/launchdarkly/js-core/issues/293))
|
|
63
|
+
|
|
64
|
+
### Features
|
|
65
|
+
|
|
66
|
+
* Implement Migrations. Refactor for client SDKs. ([#293](https://github.com/launchdarkly/js-core/issues/293)) ([c66aa6e](https://github.com/launchdarkly/js-core/commit/c66aa6ea0d12e1e4e565cb8378d367c31fab9c1b))
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Dependencies
|
|
70
|
+
|
|
71
|
+
* The following workspace dependencies were updated
|
|
72
|
+
* devDependencies
|
|
73
|
+
* @launchdarkly/node-server-sdk bumped from 8.2.4 to 9.0.0
|
|
74
|
+
|
|
51
75
|
## [5.0.6](https://github.com/launchdarkly/js-core/compare/node-server-sdk-dynamodb-v5.0.5...node-server-sdk-dynamodb-v5.0.6) (2023-08-10)
|
|
52
76
|
|
|
53
77
|
|
package/README.md
CHANGED
|
@@ -52,7 +52,9 @@ const client = LaunchDarkly.init('YOUR SDK KEY', config);
|
|
|
52
52
|
By default, the DynamoDB client will try to get your AWS credentials and region name from environment variables and/or local configuration files, as described in the AWS SDK documentation. You can also specify any valid [DynamoDB client options](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB.html#constructor-property) like this:
|
|
53
53
|
|
|
54
54
|
```typescript
|
|
55
|
-
const dynamoDBOptions = {
|
|
55
|
+
const dynamoDBOptions = {
|
|
56
|
+
credentials: { accessKeyId: 'YOUR KEY', secretAccessKey: 'YOUR SECRET' },
|
|
57
|
+
};
|
|
56
58
|
const store = DynamoDBFeatureStore('YOUR TABLE NAME', { clientOptions: dynamoDBOptions });
|
|
57
59
|
```
|
|
58
60
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamoDBBigSegmentStore.d.ts","sourceRoot":"","sources":["../../src/DynamoDBBigSegmentStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGrE,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAiCpD,MAAM,CAAC,OAAO,OAAO,uBAAwB,YAAW,UAAU,CAAC,eAAe;
|
|
1
|
+
{"version":3,"file":"DynamoDBBigSegmentStore.d.ts","sourceRoot":"","sources":["../../src/DynamoDBBigSegmentStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGrE,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAiCpD,MAAM,CAAC,OAAO,OAAO,uBAAwB,YAAW,UAAU,CAAC,eAAe;IAM9E,OAAO,CAAC,QAAQ,CAAC,SAAS;IAE1B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;IAP1B,OAAO,CAAC,KAAK,CAAsB;gBAKhB,SAAS,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,iBAAiB,EACV,MAAM,CAAC,sBAAU;IAK9B,WAAW,IAAI,OAAO,CAAC,UAAU,CAAC,uBAAuB,GAAG,SAAS,CAAC;IAetE,iBAAiB,CACrB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,UAAU,CAAC,yBAAyB,GAAG,SAAS,CAAC;IAsB5D,KAAK,IAAI,IAAI;CAGd"}
|
|
@@ -31,7 +31,6 @@ exports.ATTR_EXCLUDED = 'excluded';
|
|
|
31
31
|
class DynamoDBBigSegmentStore {
|
|
32
32
|
// Logger is not currently used, but is included to reduce the chance of a
|
|
33
33
|
// compatibility break to add a log.
|
|
34
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
35
34
|
constructor(tableName, options, logger) {
|
|
36
35
|
this.tableName = tableName;
|
|
37
36
|
this.logger = logger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamoDBBigSegmentStore.js","sourceRoot":"","sources":["../../src/DynamoDBBigSegmentStore.ts"],"names":[],"mappings":";;;AAEA,+DAAwD;AAExD,mCAAsC;AAEtC;;;GAGG;AACU,QAAA,YAAY,GAAG,uBAAuB,CAAC;AAEpD;;;GAGG;AACU,QAAA,aAAa,GAAG,mBAAmB,CAAC;AAEjD;;;GAGG;AACU,QAAA,YAAY,GAAG,gBAAgB,CAAC;AAE7C;;;GAGG;AACU,QAAA,aAAa,GAAG,UAAU,CAAC;AAExC;;;GAGG;AACU,QAAA,aAAa,GAAG,UAAU,CAAC;AAExC,MAAqB,uBAAuB;IAG1C,0EAA0E;IAC1E,oCAAoC;IACpC,
|
|
1
|
+
{"version":3,"file":"DynamoDBBigSegmentStore.js","sourceRoot":"","sources":["../../src/DynamoDBBigSegmentStore.ts"],"names":[],"mappings":";;;AAEA,+DAAwD;AAExD,mCAAsC;AAEtC;;;GAGG;AACU,QAAA,YAAY,GAAG,uBAAuB,CAAC;AAEpD;;;GAGG;AACU,QAAA,aAAa,GAAG,mBAAmB,CAAC;AAEjD;;;GAGG;AACU,QAAA,YAAY,GAAG,gBAAgB,CAAC;AAE7C;;;GAGG;AACU,QAAA,aAAa,GAAG,UAAU,CAAC;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AC;YACzC,MAAM,YAAY,GAAG,IAAI,CAAC,qBAAa,CAAC,CAAC;YAEzC,MAAM,UAAU,GAAyC,EAAE,CAAC;YAE5D,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,EAAE,0CAAE,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;gBAChC,UAAU,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YAC1B,CAAC,CAAC,CAAC;YACH,MAAA,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,EAAE,0CAAE,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;gBAChC,UAAU,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;YACzB,CAAC,CAAC,CAAC;YACH,OAAO,UAAU,CAAC;SACnB;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,KAAK;QACH,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;CACF;AAvDD,0CAuDC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@launchdarkly/node-server-sdk-dynamodb",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "DynamoDB-backed feature store for the LaunchDarkly Server-Side SDK for Node.js",
|
|
5
5
|
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/store/node-server-sdk-dynamodb",
|
|
6
6
|
"repository": {
|
|
@@ -24,8 +24,7 @@
|
|
|
24
24
|
"test": "npx jest --ci --runInBand",
|
|
25
25
|
"build": "npx tsc",
|
|
26
26
|
"lint": "npx eslint . --ext .ts",
|
|
27
|
-
"lint:fix": "yarn run lint --fix"
|
|
28
|
-
"doc": "../../../scripts/build-doc.sh ."
|
|
27
|
+
"lint:fix": "yarn run lint --fix"
|
|
29
28
|
},
|
|
30
29
|
"dependencies": {
|
|
31
30
|
"ioredis": "^5.3.2"
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
},
|
|
37
36
|
"devDependencies": {
|
|
38
37
|
"@aws-sdk/client-dynamodb": "3.348.0",
|
|
39
|
-
"@launchdarkly/node-server-sdk": "
|
|
38
|
+
"@launchdarkly/node-server-sdk": "9.0.0",
|
|
40
39
|
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
|
|
41
40
|
"@types/jest": "^29.4.0",
|
|
42
41
|
"@typescript-eslint/eslint-plugin": "^6.1.0",
|
|
@@ -51,7 +50,7 @@
|
|
|
51
50
|
"launchdarkly-js-test-helpers": "^2.2.0",
|
|
52
51
|
"prettier": "^3.0.0",
|
|
53
52
|
"ts-jest": "^29.0.5",
|
|
54
|
-
"typedoc": "0.
|
|
53
|
+
"typedoc": "0.25.0",
|
|
55
54
|
"typescript": "5.1.6"
|
|
56
55
|
}
|
|
57
56
|
}
|