@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.
@@ -8,6 +8,8 @@ export interface UseShadowCanvasConfigOptions {
8
8
  experiments?: ExperimentClient;
9
9
  /** v2 Runtime for activation-based filtering */
10
10
  runtime?: SmartCanvasRuntime;
11
+ /** Current pathname — triggers re-filter when URL changes (route-based activation) */
12
+ pathname?: string;
11
13
  }
12
14
  export interface ShadowCanvasConfigState {
13
15
  tiles: TileConfig[];
@@ -24,4 +26,4 @@ export interface ShadowCanvasConfigState {
24
26
  /** Launcher button configuration */
25
27
  launcher?: LauncherConfig;
26
28
  }
27
- export declare function useShadowCanvasConfig({ fetcher, pollIntervalMs, experiments, runtime, }: UseShadowCanvasConfigOptions): ShadowCanvasConfigState;
29
+ export declare function useShadowCanvasConfig({ fetcher, pollIntervalMs, experiments, runtime, pathname, }: UseShadowCanvasConfigOptions): ShadowCanvasConfigState;
package/dist/index.js CHANGED
@@ -101,7 +101,7 @@ import {
101
101
  validateAction,
102
102
  validateActions,
103
103
  widgetRegistry
104
- } from "./chunk-VQHPYHLL.js";
104
+ } from "./chunk-QGWATS3Z.js";
105
105
  import {
106
106
  AddClassZ,
107
107
  BadgePositionZ,
package/dist/react.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Syntro
3
- } from "./chunk-VQHPYHLL.js";
3
+ } from "./chunk-QGWATS3Z.js";
4
4
  import "./chunk-OGTCFYR3.js";
5
5
  import "./chunk-4NYS7GAW.js";
6
6