@launchdarkly/node-server-sdk-redis 4.1.3 → 4.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 +13 -0
- package/README.md +2 -1
- package/dist/src/RedisBigSegmentStoreFactory.d.ts +2 -2
- package/dist/src/RedisBigSegmentStoreFactory.d.ts.map +1 -1
- package/dist/src/RedisBigSegmentStoreFactory.js +1 -1
- package/dist/src/RedisBigSegmentStoreFactory.js.map +1 -1
- package/package.json +2 -2
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
|
+
## [4.1.5](https://github.com/launchdarkly/js-core/compare/node-server-sdk-redis-v4.1.4...node-server-sdk-redis-v4.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
|
## [4.1.3](https://github.com/launchdarkly/js-core/compare/node-server-sdk-redis-v4.1.2...node-server-sdk-redis-v4.1.3) (2024-03-15)
|
|
88
101
|
|
|
89
102
|
|
package/README.md
CHANGED
|
@@ -76,7 +76,8 @@ LaunchDarkly uses the [SLSA framework](https://slsa.dev/spec/v1.0/about) (Supply
|
|
|
76
76
|
- 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.
|
|
77
77
|
- 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?).
|
|
78
78
|
- 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.
|
|
79
|
-
- 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).
|
|
79
|
+
- 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).
|
|
80
|
+
- Disable parts of your application to facilitate maintenance, without taking everything offline.
|
|
80
81
|
- 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.
|
|
81
82
|
- Explore LaunchDarkly
|
|
82
83
|
- [launchdarkly.com](https://www.launchdarkly.com/ 'LaunchDarkly Main Website') for more information
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { interfaces,
|
|
1
|
+
import { interfaces, LDClientContext } from '@launchdarkly/node-server-sdk';
|
|
2
2
|
import LDRedisOptions from './LDRedisOptions';
|
|
3
3
|
/**
|
|
4
4
|
* Configures a big segment store factory backed by a Redis instance.
|
|
@@ -11,5 +11,5 @@ import LDRedisOptions from './LDRedisOptions';
|
|
|
11
11
|
*
|
|
12
12
|
* @returns A function which creates big segment stores based on the provided config.
|
|
13
13
|
*/
|
|
14
|
-
export default function RedisBigSegmentStoreFactory(options?: LDRedisOptions): (config:
|
|
14
|
+
export default function RedisBigSegmentStoreFactory(options?: LDRedisOptions): (config: LDClientContext) => interfaces.BigSegmentStore;
|
|
15
15
|
//# sourceMappingURL=RedisBigSegmentStoreFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedisBigSegmentStoreFactory.d.ts","sourceRoot":"","sources":["../../src/RedisBigSegmentStoreFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"RedisBigSegmentStoreFactory.d.ts","sourceRoot":"","sources":["../../src/RedisBigSegmentStoreFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAE5E,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAG9C;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,2BAA2B,CACjD,OAAO,CAAC,EAAE,cAAc,GACvB,CAAC,MAAM,EAAE,eAAe,KAAK,UAAU,CAAC,eAAe,CAGzD"}
|
|
@@ -13,7 +13,7 @@ const RedisBigSegmentStore_1 = require("./RedisBigSegmentStore");
|
|
|
13
13
|
* @returns A function which creates big segment stores based on the provided config.
|
|
14
14
|
*/
|
|
15
15
|
function RedisBigSegmentStoreFactory(options) {
|
|
16
|
-
return (config) => new RedisBigSegmentStore_1.default(options, config.logger);
|
|
16
|
+
return (config) => new RedisBigSegmentStore_1.default(options, config === null || config === void 0 ? void 0 : config.basicConfiguration.logger);
|
|
17
17
|
}
|
|
18
18
|
exports.default = RedisBigSegmentStoreFactory;
|
|
19
19
|
//# sourceMappingURL=RedisBigSegmentStoreFactory.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedisBigSegmentStoreFactory.js","sourceRoot":"","sources":["../../src/RedisBigSegmentStoreFactory.ts"],"names":[],"mappings":";;AAGA,iEAA0D;AAE1D;;;;;;;;;;GAUG;AACH,SAAwB,2BAA2B,CACjD,OAAwB;IAExB,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"RedisBigSegmentStoreFactory.js","sourceRoot":"","sources":["../../src/RedisBigSegmentStoreFactory.ts"],"names":[],"mappings":";;AAGA,iEAA0D;AAE1D;;;;;;;;;;GAUG;AACH,SAAwB,2BAA2B,CACjD,OAAwB;IAExB,OAAO,CAAC,MAAuB,EAAE,EAAE,CACjC,IAAI,8BAAoB,CAAC,OAAO,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;AACzE,CAAC;AALD,8CAKC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@launchdarkly/node-server-sdk-redis",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "Redis-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-redis",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@launchdarkly/node-server-sdk": "9.2.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@launchdarkly/node-server-sdk": "9.2.
|
|
36
|
+
"@launchdarkly/node-server-sdk": "9.2.2",
|
|
37
37
|
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
|
|
38
38
|
"@types/jest": "^29.4.0",
|
|
39
39
|
"@typescript-eslint/eslint-plugin": "^6.20.0",
|