@nookuio/iframe 1.0.3 → 1.0.4

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/iframe.js CHANGED
@@ -97,7 +97,9 @@ function C(c) {
97
97
  } : void 0;
98
98
  }
99
99
  },
100
- getPageHeight: a,
100
+ async getPageHeight() {
101
+ return await a();
102
+ },
101
103
  async getSelectedElement({
102
104
  path: n,
103
105
  id: t
package/dist/iframe.mjs CHANGED
@@ -77,7 +77,9 @@ function C(c) {
77
77
  } : void 0;
78
78
  }
79
79
  },
80
- getPageHeight: a,
80
+ async getPageHeight() {
81
+ return await a();
82
+ },
81
83
  async getSelectedElement({ path: n, id: t }) {
82
84
  const d = m(n, t), r = g(d, !0);
83
85
  if (r)
package/dist/types.d.ts CHANGED
@@ -53,7 +53,6 @@ export interface CoreIframeEvents extends RpcEvents {
53
53
  id: string;
54
54
  content: string;
55
55
  }) => void;
56
- 'exit-preview-mode': () => void;
57
56
  keydown: (event: {
58
57
  key: string;
59
58
  ctrlKey: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nookuio/iframe",
3
3
  "description": "",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "exports": {