@syntrologie/runtime-sdk 2.6.0-canary.7 → 2.7.0-canary.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.
@@ -19285,7 +19285,7 @@ var SyntrologieSDK = (() => {
19285
19285
  }
19286
19286
 
19287
19287
  // src/version.ts
19288
- var SDK_VERSION = "2.6.0-canary.7";
19288
+ var SDK_VERSION = "2.7.0-canary.1";
19289
19289
 
19290
19290
  // src/types.ts
19291
19291
  var SDK_SCHEMA_VERSION = "2.0";
@@ -19381,9 +19381,12 @@ var SyntrologieSDK = (() => {
19381
19381
  if (keys && keys.length > 0) return keys;
19382
19382
  }
19383
19383
  }
19384
- if (variantFlagPrefix && experiments.getAllFeatures) {
19384
+ if (experiments.getAllFeatures) {
19385
19385
  const all = experiments.getAllFeatures();
19386
- return Object.keys(all).filter((k2) => k2.startsWith(variantFlagPrefix));
19386
+ if (variantFlagPrefix) {
19387
+ return Object.keys(all).filter((k2) => k2.startsWith(variantFlagPrefix));
19388
+ }
19389
+ return Object.keys(all);
19387
19390
  }
19388
19391
  return [];
19389
19392
  }
@@ -19404,7 +19407,7 @@ var SyntrologieSDK = (() => {
19404
19407
  return directConfig;
19405
19408
  }
19406
19409
  }
19407
- if (experiments && (manifestKey || variantFlagPrefix)) {
19410
+ if (experiments && (manifestKey || variantFlagPrefix || experiments.getAllFeatures)) {
19408
19411
  const variantKeys = getVariantFlagKeys(experiments, manifestKey, variantFlagPrefix);
19409
19412
  if (variantKeys.length > 0) {
19410
19413
  const resolved = resolveVariantConfigs(experiments, variantKeys);
@@ -25631,7 +25634,7 @@ ${cssRules}
25631
25634
  await this.gb.loadFeatures();
25632
25635
  }
25633
25636
  setAttributes(attrs) {
25634
- this.gb.setAttributes(attrs);
25637
+ this.gb.setAttributes({ ...this.gb.getAttributes(), ...attrs });
25635
25638
  }
25636
25639
  setForcedVariations(variations) {
25637
25640
  this.gb.setForcedVariations(variations);
@@ -38828,7 +38831,7 @@ ${cssRules}
38828
38831
  }
38829
38832
  }
38830
38833
  }
38831
- if (this.manifestKey || this.variantFlagPrefix) {
38834
+ if (this.manifestKey || this.variantFlagPrefix || this.client.getAllFeatures) {
38832
38835
  const config2 = this.fetchMultiFlag();
38833
38836
  if (config2) {
38834
38837
  const fetchTimeMs2 = performance.now() - start;
@@ -38878,9 +38881,12 @@ ${cssRules}
38878
38881
  }
38879
38882
  }
38880
38883
  }
38881
- if (this.variantFlagPrefix && this.client.getAllFeatures) {
38884
+ if (this.client.getAllFeatures) {
38882
38885
  const allFeatures = this.client.getAllFeatures();
38883
- return Object.keys(allFeatures).filter((key) => key.startsWith(this.variantFlagPrefix));
38886
+ if (this.variantFlagPrefix) {
38887
+ return Object.keys(allFeatures).filter((key) => key.startsWith(this.variantFlagPrefix));
38888
+ }
38889
+ return Object.keys(allFeatures);
38884
38890
  }
38885
38891
  return [];
38886
38892
  }
@@ -39380,7 +39386,7 @@ ${cssRules}
39380
39386
  }
39381
39387
 
39382
39388
  // src/index.ts
39383
- var RUNTIME_SDK_BUILD = true ? `${"2026-03-06T16:08:44.686Z"} (${"0412eafae8"})` : "dev";
39389
+ var RUNTIME_SDK_BUILD = true ? `${"2026-03-06T19:12:21.408Z"} (${"fc4b2176dd"})` : "dev";
39384
39390
  if (typeof window !== "undefined") {
39385
39391
  console.log(`[Syntro Runtime] Build: ${RUNTIME_SDK_BUILD}`);
39386
39392
  const existing = window.SynOS;