@launchdarkly/js-server-sdk-common
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -5,2 +5,9 @@ # Changelog | ||
## [1.2.3](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-v1.2.2...js-server-sdk-common-v1.2.3) (2023-09-06) | ||
### Bug Fixes | ||
* Use clientSideAvailability instead of clientSide for filtering client side flags. ([#270](https://github.com/launchdarkly/js-core/issues/270)) ([2702342](https://github.com/launchdarkly/js-core/commit/27023429d36986466cda46aa4d95eb01c10cd455)) | ||
## [1.2.2](https://github.com/launchdarkly/js-core/compare/js-server-sdk-common-v1.2.1...js-server-sdk-common-v1.2.2) (2023-08-28) | ||
@@ -7,0 +14,0 @@ |
@@ -168,4 +168,5 @@ "use strict"; | ||
(0, collection_1.allAsync)(Object.values(allFlags), (storeItem, iterCb) => { | ||
var _a; | ||
const flag = storeItem; | ||
if (clientOnly && !flag.clientSide) { | ||
if (clientOnly && !((_a = flag.clientSideAvailability) === null || _a === void 0 ? void 0 : _a.usingEnvironmentId)) { | ||
iterCb(true); | ||
@@ -172,0 +173,0 @@ return; |
{ | ||
"name": "@launchdarkly/js-server-sdk-common", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"type": "commonjs", | ||
@@ -22,3 +22,2 @@ "main": "./dist/index.js", | ||
"scripts": { | ||
"doc": "../../../scripts/build-doc.sh .", | ||
"test": "npx jest --ci", | ||
@@ -52,5 +51,5 @@ "build": "npx tsc", | ||
"ts-jest": "^29.0.5", | ||
"typedoc": "0.24.8", | ||
"typedoc": "0.25.0", | ||
"typescript": "5.1.6" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
503335
7091