@wippy-fe/types-global-proxy 0.0.53 → 0.0.54

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.
Files changed (2) hide show
  1. package/index.d.ts +8 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { PanelTree, FloatingAnchor, ModalSize, SizeValue, PanelTarget } from '@wippy-fe/layout';
2
2
  import { AxiosDefaults, AxiosInstance } from 'axios';
3
+ import { SurfaceApi, GLOBAL_CONFIG_VAR, GLOBAL_API_PROVIDER, GLOBAL_PROXY_CONFIG_VAR, GLOBAL_WEB_COMPONENT_CACHE } from '@wippy-fe/shared';
3
4
  import { ConfirmationOptions } from 'primevue/confirmationoptions';
4
5
  import { ToastMessageOptions } from 'primevue/toast';
5
6
  import * as nanoevents from 'nanoevents';
6
- import { GLOBAL_CONFIG_VAR, GLOBAL_API_PROVIDER, GLOBAL_PROXY_CONFIG_VAR, GLOBAL_WEB_COMPONENT_CACHE } from '@wippy-fe/shared';
7
7
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
8
8
 
9
9
  /**
@@ -1428,6 +1428,13 @@ interface ProxyApiInstance {
1428
1428
  logout: () => void;
1429
1429
  };
1430
1430
  host: {
1431
+ /**
1432
+ * Geometry of the page-owned rendering area, identical in the iframe and
1433
+ * Web Fragment engines (EE2-2339). Prefer `supports()` over `engine` when
1434
+ * deciding behavior — the block axis is unavailable in content sizing
1435
+ * regardless of which engine rendered the page.
1436
+ */
1437
+ surface: SurfaceApi;
1431
1438
  toast: (message: ToastMessageOptions) => void;
1432
1439
  confirm: (options: LimitedConfirmationOptions) => Promise<boolean>;
1433
1440
  startChat: (start_token: string, options?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wippy-fe/types-global-proxy",
3
- "version": "0.0.53",
3
+ "version": "0.0.54",
4
4
  "description": "Global type declarations for Wippy iframe proxy (window.getWippyApi, $W, etc.)",
5
5
  "license": "UNLICENSED",
6
6
  "types": "index.d.ts",