@spotify-confidence/openfeature-server-provider-local 0.8.1 → 0.9.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 +23 -0
- package/dist/confidence_resolver.wasm +0 -0
- package/dist/index.fetch.d.ts +2 -0
- package/dist/index.fetch.js +6 -1
- package/dist/index.inlined.d.ts +2 -0
- package/dist/index.inlined.js +7 -2
- package/dist/index.node.d.ts +2 -0
- package/dist/index.node.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.1](https://github.com/spotify/confidence-resolver/compare/openfeature-provider-js-v0.9.0...openfeature-provider-js-v0.9.1) (2026-02-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* rust-guest bumped from 0.1.16 to 0.1.17
|
|
11
|
+
|
|
12
|
+
## [0.9.0](https://github.com/spotify/confidence-resolver/compare/openfeature-provider-js-v0.8.1...openfeature-provider-js-v0.9.0) (2026-02-19)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* Support for startsWith and endsWith ([#283](https://github.com/spotify/confidence-resolver/issues/283)) ([661c4ef](https://github.com/spotify/confidence-resolver/commit/661c4ef53b5d907bf079e632135723c2af7af0b9))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Dependencies
|
|
21
|
+
|
|
22
|
+
* The following workspace dependencies were updated
|
|
23
|
+
* dependencies
|
|
24
|
+
* rust-guest bumped from 0.1.15 to 0.1.16
|
|
25
|
+
|
|
3
26
|
## [0.8.1](https://github.com/spotify/confidence-resolver/compare/openfeature-provider-js-v0.8.0...openfeature-provider-js-v0.8.1) (2026-02-10)
|
|
4
27
|
|
|
5
28
|
|
|
Binary file
|
package/dist/index.fetch.d.ts
CHANGED
|
@@ -78,6 +78,8 @@ declare enum ResolveReason {
|
|
|
78
78
|
RESOLVE_REASON_TARGETING_KEY_ERROR = 5,
|
|
79
79
|
/** RESOLVE_REASON_ERROR - Unknown error occurred during the resolve */
|
|
80
80
|
RESOLVE_REASON_ERROR = 6,
|
|
81
|
+
/** RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE - The flag could not be resolved because a targeting rule was not recognized */
|
|
82
|
+
RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE = 7,
|
|
81
83
|
UNRECOGNIZED = -1,
|
|
82
84
|
}
|
|
83
85
|
declare enum SdkId {
|
package/dist/index.fetch.js
CHANGED
|
@@ -772,6 +772,7 @@ let ResolveReason = /* @__PURE__ */ function(ResolveReason$1) {
|
|
|
772
772
|
ResolveReason$1[ResolveReason$1["RESOLVE_REASON_FLAG_ARCHIVED"] = 4] = "RESOLVE_REASON_FLAG_ARCHIVED";
|
|
773
773
|
ResolveReason$1[ResolveReason$1["RESOLVE_REASON_TARGETING_KEY_ERROR"] = 5] = "RESOLVE_REASON_TARGETING_KEY_ERROR";
|
|
774
774
|
ResolveReason$1[ResolveReason$1["RESOLVE_REASON_ERROR"] = 6] = "RESOLVE_REASON_ERROR";
|
|
775
|
+
ResolveReason$1[ResolveReason$1["RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE"] = 7] = "RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE";
|
|
775
776
|
ResolveReason$1[ResolveReason$1["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
776
777
|
return ResolveReason$1;
|
|
777
778
|
}({});
|
|
@@ -791,6 +792,8 @@ function resolveReasonFromJSON(object) {
|
|
|
791
792
|
case "RESOLVE_REASON_TARGETING_KEY_ERROR": return ResolveReason.RESOLVE_REASON_TARGETING_KEY_ERROR;
|
|
792
793
|
case 6:
|
|
793
794
|
case "RESOLVE_REASON_ERROR": return ResolveReason.RESOLVE_REASON_ERROR;
|
|
795
|
+
case 7:
|
|
796
|
+
case "RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE": return ResolveReason.RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE;
|
|
794
797
|
case -1:
|
|
795
798
|
case "UNRECOGNIZED":
|
|
796
799
|
default: return ResolveReason.UNRECOGNIZED;
|
|
@@ -805,6 +808,7 @@ function resolveReasonToJSON(object) {
|
|
|
805
808
|
case ResolveReason.RESOLVE_REASON_FLAG_ARCHIVED: return "RESOLVE_REASON_FLAG_ARCHIVED";
|
|
806
809
|
case ResolveReason.RESOLVE_REASON_TARGETING_KEY_ERROR: return "RESOLVE_REASON_TARGETING_KEY_ERROR";
|
|
807
810
|
case ResolveReason.RESOLVE_REASON_ERROR: return "RESOLVE_REASON_ERROR";
|
|
811
|
+
case ResolveReason.RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE: return "RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE";
|
|
808
812
|
case ResolveReason.UNRECOGNIZED:
|
|
809
813
|
default: return "UNRECOGNIZED";
|
|
810
814
|
}
|
|
@@ -1402,7 +1406,7 @@ function isObject(value) {
|
|
|
1402
1406
|
function isSet$3(value) {
|
|
1403
1407
|
return value !== null && value !== void 0;
|
|
1404
1408
|
}
|
|
1405
|
-
const VERSION = "0.
|
|
1409
|
+
const VERSION = "0.9.1";
|
|
1406
1410
|
const NOOP_LOG_FN = Object.assign(() => {}, { enabled: false });
|
|
1407
1411
|
const debugBackend = loadDebug();
|
|
1408
1412
|
const logger$2 = new class LoggerImpl {
|
|
@@ -2662,6 +2666,7 @@ function convertReason(reason) {
|
|
|
2662
2666
|
case ResolveReason.RESOLVE_REASON_NO_SEGMENT_MATCH: return "NO_SEGMENT_MATCH";
|
|
2663
2667
|
case ResolveReason.RESOLVE_REASON_TARGETING_KEY_ERROR: return "TARGETING_KEY_ERROR";
|
|
2664
2668
|
case ResolveReason.RESOLVE_REASON_NO_TREATMENT_MATCH: return "NO_TREATMENT_MATCH";
|
|
2669
|
+
case ResolveReason.RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE: return "ERROR";
|
|
2665
2670
|
default: return "UNSPECIFIED";
|
|
2666
2671
|
}
|
|
2667
2672
|
}
|
package/dist/index.inlined.d.ts
CHANGED
|
@@ -78,6 +78,8 @@ declare enum ResolveReason {
|
|
|
78
78
|
RESOLVE_REASON_TARGETING_KEY_ERROR = 5,
|
|
79
79
|
/** RESOLVE_REASON_ERROR - Unknown error occurred during the resolve */
|
|
80
80
|
RESOLVE_REASON_ERROR = 6,
|
|
81
|
+
/** RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE - The flag could not be resolved because a targeting rule was not recognized */
|
|
82
|
+
RESOLVE_REASON_UNRECOGNIZED_TARGETING_RULE = 7,
|
|
81
83
|
UNRECOGNIZED = -1,
|
|
82
84
|
}
|
|
83
85
|
declare enum SdkId {
|