@wippy-fe/types-global-proxy 0.0.14 → 0.0.15

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 +4 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -845,9 +845,11 @@ declare global {
845
845
  config: () => Promise<AppConfig>;
846
846
  instance: () => Promise<ProxyApiInstance>;
847
847
  api: () => Promise<ProxyApiInstance['api']>;
848
- form: () => Promise<ProxyApiInstance['form']>;
848
+ /** @deprecated Use `$W.api` instead */
849
+ form: () => Promise<ProxyApiInstance['api']>;
849
850
  host: () => Promise<ProxyApiInstance['host']>;
850
- iframe: () => Promise<ProxyApiInstance['iframe']>;
851
+ /** @deprecated Use `$W.host` instead */
852
+ iframe: () => Promise<ProxyApiInstance['host']>;
851
853
  on: () => Promise<ProxyApiInstance['on']>;
852
854
  state: () => Promise<ProxyApiInstance['state']>;
853
855
  loadWebComponent: () => Promise<ProxyApiInstance['loadWebComponent']>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wippy-fe/types-global-proxy",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Global type declarations for Wippy iframe proxy (window.getWippyApi, $W, etc.)",
5
5
  "types": "index.d.ts"
6
6
  }