@launchdarkly/node-server-sdk-dynamodb 6.1.3 → 6.1.5

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
@@ -84,6 +84,19 @@
84
84
  * devDependencies
85
85
  * @launchdarkly/node-server-sdk bumped from 9.0.4 to 9.0.5
86
86
 
87
+ ### Dependencies
88
+
89
+ * The following workspace dependencies were updated
90
+ * devDependencies
91
+ * @launchdarkly/node-server-sdk bumped from 9.2.1 to 9.2.2
92
+
93
+ ## [6.1.5](https://github.com/launchdarkly/js-core/compare/node-server-sdk-dynamodb-v6.1.4...node-server-sdk-dynamodb-v6.1.5) (2024-04-01)
94
+
95
+
96
+ ### Bug Fixes
97
+
98
+ * Fix typings for big segment store factories. ([#413](https://github.com/launchdarkly/js-core/issues/413)) ([723804b](https://github.com/launchdarkly/js-core/commit/723804bb7db19f485d84940715c69e34cc08062f))
99
+
87
100
  ## [6.1.3](https://github.com/launchdarkly/js-core/compare/node-server-sdk-dynamodb-v6.1.2...node-server-sdk-dynamodb-v6.1.3) (2024-03-15)
88
101
 
89
102
 
package/README.md CHANGED
@@ -101,7 +101,8 @@ LaunchDarkly uses the [SLSA framework](https://slsa.dev/spec/v1.0/about) (Supply
101
101
  - Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
102
102
  - Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
103
103
  - Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
104
- - Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
104
+ - Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan).
105
+ - Disable parts of your application to facilitate maintenance, without taking everything offline.
105
106
  - LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out [our documentation](https://docs.launchdarkly.com/sdk) for a complete list.
106
107
  - Explore LaunchDarkly
107
108
  - [launchdarkly.com](https://www.launchdarkly.com/ 'LaunchDarkly Main Website') for more information
@@ -1,4 +1,4 @@
1
- import { interfaces, LDOptions } from '@launchdarkly/node-server-sdk';
1
+ import { interfaces, LDClientContext } from '@launchdarkly/node-server-sdk';
2
2
  import LDDynamoDBOptions from './LDDynamoDBOptions';
3
3
  /**
4
4
  * Configures a big segment store factory backed by a DynamoDB instance.
@@ -12,5 +12,5 @@ import LDDynamoDBOptions from './LDDynamoDBOptions';
12
12
  *
13
13
  * @returns A function which creates big segment stores based on the provided config.
14
14
  */
15
- export default function DynamoDBBigSegmentStoreFactory(tableName: string, options?: LDDynamoDBOptions): (config: LDOptions) => interfaces.BigSegmentStore;
15
+ export default function DynamoDBBigSegmentStoreFactory(tableName: string, options?: LDDynamoDBOptions): (config: LDClientContext) => interfaces.BigSegmentStore;
16
16
  //# sourceMappingURL=DynamoDBBigSegmentStoreFactory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DynamoDBBigSegmentStoreFactory.d.ts","sourceRoot":"","sources":["../../src/DynamoDBBigSegmentStoreFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAGtE,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,8BAA8B,CACpD,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,iBAAiB,GAC1B,CAAC,MAAM,EAAE,SAAS,KAAK,UAAU,CAAC,eAAe,CAEnD"}
1
+ {"version":3,"file":"DynamoDBBigSegmentStoreFactory.d.ts","sourceRoot":"","sources":["../../src/DynamoDBBigSegmentStoreFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAG5E,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAEpD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,8BAA8B,CACpD,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,iBAAiB,GAC1B,CAAC,MAAM,EAAE,eAAe,KAAK,UAAU,CAAC,eAAe,CAGzD"}
@@ -14,7 +14,7 @@ const DynamoDBBigSegmentStore_1 = require("./DynamoDBBigSegmentStore");
14
14
  * @returns A function which creates big segment stores based on the provided config.
15
15
  */
16
16
  function DynamoDBBigSegmentStoreFactory(tableName, options) {
17
- return (config) => new DynamoDBBigSegmentStore_1.default(tableName, options, config.logger);
17
+ return (config) => new DynamoDBBigSegmentStore_1.default(tableName, options, config.basicConfiguration.logger);
18
18
  }
19
19
  exports.default = DynamoDBBigSegmentStoreFactory;
20
20
  //# sourceMappingURL=DynamoDBBigSegmentStoreFactory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DynamoDBBigSegmentStoreFactory.js","sourceRoot":"","sources":["../../src/DynamoDBBigSegmentStoreFactory.ts"],"names":[],"mappings":";;AAEA,uEAAgE;AAGhE;;;;;;;;;;;GAWG;AACH,SAAwB,8BAA8B,CACpD,SAAiB,EACjB,OAA2B;IAE3B,OAAO,CAAC,MAAiB,EAAE,EAAE,CAAC,IAAI,iCAAuB,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;AAC/F,CAAC;AALD,iDAKC"}
1
+ {"version":3,"file":"DynamoDBBigSegmentStoreFactory.js","sourceRoot":"","sources":["../../src/DynamoDBBigSegmentStoreFactory.ts"],"names":[],"mappings":";;AAEA,uEAAgE;AAGhE;;;;;;;;;;;GAWG;AACH,SAAwB,8BAA8B,CACpD,SAAiB,EACjB,OAA2B;IAE3B,OAAO,CAAC,MAAuB,EAAE,EAAE,CACjC,IAAI,iCAAuB,CAAC,SAAS,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;AACtF,CAAC;AAND,iDAMC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchdarkly/node-server-sdk-dynamodb",
3
- "version": "6.1.3",
3
+ "version": "6.1.5",
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": {
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@aws-sdk/client-dynamodb": "3.348.0",
38
- "@launchdarkly/node-server-sdk": "9.2.1",
38
+ "@launchdarkly/node-server-sdk": "9.2.2",
39
39
  "@trivago/prettier-plugin-sort-imports": "^4.1.1",
40
40
  "@types/jest": "^29.4.0",
41
41
  "@typescript-eslint/eslint-plugin": "^6.20.0",