@syntrologie/runtime-sdk 0.2.12 → 0.2.13

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.
package/dist/types.d.ts CHANGED
@@ -310,6 +310,12 @@ export interface LauncherConfig {
310
310
  /** Animation style: "pulse" (default), "bounce", "glow" */
311
311
  animationStyle?: "pulse" | "bounce" | "glow";
312
312
  }
313
+ export interface RoutesConfig {
314
+ /** Routes where the canvas should NOT appear (e.g., ["/login", "/signup"]) */
315
+ exclude?: string[];
316
+ /** If specified, canvas ONLY appears on these routes */
317
+ include?: string[];
318
+ }
313
319
  export interface CanvasConfigResponse {
314
320
  tiles: TileConfig[];
315
321
  fetchedAt: string;
@@ -324,5 +330,7 @@ export interface CanvasConfigResponse {
324
330
  theme?: CanvasThemeConfig;
325
331
  /** Launcher button configuration */
326
332
  launcher?: LauncherConfig;
333
+ /** Route filtering - control where canvas appears */
334
+ routes?: RoutesConfig;
327
335
  }
328
336
  export type CanvasConfigFetcher = () => Promise<CanvasConfigResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syntrologie/runtime-sdk",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "Syntrologie Runtime SDK for web experimentation and analytics",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,