@spotify-confidence/openfeature-server-provider-local 0.14.1 → 0.15.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.
@@ -1433,7 +1433,7 @@ function isObject(value) {
1433
1433
  function isSet$3(value) {
1434
1434
  return value !== null && value !== void 0;
1435
1435
  }
1436
- const VERSION = "0.14.1";
1436
+ const VERSION = "0.15.0";
1437
1437
  const NOOP_LOG_FN = Object.assign(() => {}, { enabled: false });
1438
1438
  const debugBackend = loadDebug();
1439
1439
  const logger$2 = new class LoggerImpl {
@@ -2920,7 +2920,9 @@ var ConfidenceServerProviderLocal = class ConfidenceServerProviderLocal {
2920
2920
  const startMs = performance.now();
2921
2921
  try {
2922
2922
  const [flagName] = flagKey.split(".", 1);
2923
- const resolution = await this.resolve(context, [flagName], true);
2923
+ const { _confidence_skip_apply,...cleanContext } = context;
2924
+ const skipApply = _confidence_skip_apply === true;
2925
+ const resolution = await this.resolve(cleanContext, [flagName], !skipApply);
2924
2926
  const result = resolve(resolution, flagKey, defaultValue, logger$1);
2925
2927
  const latencyUs = Math.round((performance.now() - startMs) * 1e3);
2926
2928
  let reason;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spotify-confidence/openfeature-server-provider-local",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "description": "Spotify Confidence Open Feature provider",
5
5
  "type": "module",
6
6
  "files": [