@syntrologie/runtime-sdk 2.4.0 → 2.4.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.
@@ -2193,7 +2193,7 @@ function getAntiFlickerSnippet(config = {}) {
2193
2193
  }
2194
2194
 
2195
2195
  // src/version.ts
2196
- var SDK_VERSION = "2.4.0";
2196
+ var SDK_VERSION = "2.4.1";
2197
2197
 
2198
2198
  // src/types.ts
2199
2199
  var SDK_SCHEMA_VERSION = "2.0";
@@ -3874,7 +3874,8 @@ function useShadowCanvasConfig({
3874
3874
  fetcher,
3875
3875
  pollIntervalMs = 3e4,
3876
3876
  experiments,
3877
- runtime: runtime3
3877
+ runtime: runtime3,
3878
+ pathname
3878
3879
  }) {
3879
3880
  const [state, setState] = useState6({
3880
3881
  tiles: [],
@@ -3921,7 +3922,7 @@ function useShadowCanvasConfig({
3921
3922
  if (!pollIntervalMs) return;
3922
3923
  const id = setInterval(load, pollIntervalMs);
3923
3924
  return () => clearInterval(id);
3924
- }, [load, pollIntervalMs]);
3925
+ }, [load, pollIntervalMs, pathname]);
3925
3926
  return useMemo3(() => state, [state]);
3926
3927
  }
3927
3928
 
@@ -4062,7 +4063,8 @@ function SmartCanvasAppInner({
4062
4063
  fetcher: derivedFetcher,
4063
4064
  pollIntervalMs,
4064
4065
  experiments,
4065
- runtime: runtime3
4066
+ runtime: runtime3,
4067
+ pathname
4066
4068
  });
4067
4069
  const hasContent = configState.tiles.length > 0 && !configState.error;
4068
4070
  useEffect8(() => controller.subscribe((state) => setOpen(state.open)), [controller]);
@@ -9603,4 +9605,4 @@ export {
9603
9605
  encodeToken,
9604
9606
  Syntro
9605
9607
  };
9606
- //# sourceMappingURL=chunk-VQHPYHLL.js.map
9608
+ //# sourceMappingURL=chunk-QGWATS3Z.js.map