@pillar-ai/sdk 0.1.25 → 0.1.27

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.
@@ -55,8 +55,9 @@ export declare const setMobileBreakpoint: (bp: number) => void;
55
55
  export declare const setFullWidthBreakpoint: (bp: number) => void;
56
56
  export declare const setActiveTab: (tabId: string) => void;
57
57
  /**
58
- * Initialize the viewport resize listener for responsive behavior
59
- * Should be called once during SDK initialization
58
+ * Initialize the viewport resize listener for responsive behavior.
59
+ * Throttled via requestAnimationFrame to avoid layout thrashing during
60
+ * continuous window resize (fires once per frame instead of dozens per second).
60
61
  */
61
62
  export declare const initViewportListener: () => void;
62
63
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pillar-ai/sdk",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "description": "Product copilot SDK for SaaS and web apps — AI assistant that executes tasks, not just answers questions",
5
5
  "type": "module",
6
6
  "main": "./dist/pillar.esm.js",