@syntrologie/runtime-sdk 2.4.0-canary.21 → 2.4.0-canary.22

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.
@@ -19166,7 +19166,7 @@ var SyntrologieSDK = (() => {
19166
19166
  }
19167
19167
 
19168
19168
  // src/version.ts
19169
- var SDK_VERSION = "2.4.0-canary.21";
19169
+ var SDK_VERSION = "2.4.0-canary.22";
19170
19170
 
19171
19171
  // src/types.ts
19172
19172
  var SDK_SCHEMA_VERSION = "2.0";
@@ -21479,7 +21479,8 @@ ${cssRules}
21479
21479
  fetcher,
21480
21480
  experiments,
21481
21481
  runtime: runtime7,
21482
- pageUrl
21482
+ pageUrl,
21483
+ pollIntervalMs
21483
21484
  }) {
21484
21485
  const [state, setState] = (0, import_react13.useState)({
21485
21486
  tiles: [],
@@ -21534,6 +21535,13 @@ ${cssRules}
21534
21535
  return experiments.onFeaturesChanged(() => load());
21535
21536
  }
21536
21537
  }, [load, experiments, pageUrl]);
21538
+ (0, import_react13.useEffect)(() => {
21539
+ if (!pollIntervalMs) return;
21540
+ const id = setInterval(() => {
21541
+ load();
21542
+ }, pollIntervalMs);
21543
+ return () => clearInterval(id);
21544
+ }, [load, pollIntervalMs]);
21537
21545
  return (0, import_react13.useMemo)(() => state, [state]);
21538
21546
  }
21539
21547
 
@@ -38724,7 +38732,7 @@ ${cssRules}
38724
38732
  }
38725
38733
 
38726
38734
  // src/index.ts
38727
- var RUNTIME_SDK_BUILD = true ? `${"2026-03-03T00:37:32.113Z"} (${"bf0eb79411"})` : "dev";
38735
+ var RUNTIME_SDK_BUILD = true ? `${"2026-03-03T18:45:20.063Z"} (${"2f42a46615"})` : "dev";
38728
38736
  if (typeof window !== "undefined") {
38729
38737
  console.log(`[Syntro Runtime] Build: ${RUNTIME_SDK_BUILD}`);
38730
38738
  const existing = window.SynOS;