@onekeyfe/cross-inpage-provider-types 2.2.34 → 2.2.36

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/dist/index.d.ts +1 -1
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -132,7 +132,7 @@ export type IElectronWebView = {
132
132
  addEventListener: (name: string, callback: unknown) => void;
133
133
  removeEventListener: (name: string, callback: unknown) => void;
134
134
  executeJavaScript: (code: string) => void;
135
- send: (channel: string, payload: any) => void;
135
+ send: (channel: string, payload: any) => Promise<void>;
136
136
  insertCSS: (code: string) => void;
137
137
  };
138
138
  export type IPostMessageEventData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/cross-inpage-provider-types",
3
- "version": "2.2.34",
3
+ "version": "2.2.36",
4
4
  "keywords": [
5
5
  "cross-inpage-provider"
6
6
  ],
@@ -26,5 +26,5 @@
26
26
  "build": "tsc && tsc --project tsconfig.cjs.json",
27
27
  "start": "tsc --watch"
28
28
  },
29
- "gitHead": "d99d29ed6b09324bff7ccc96ebcf9e282b2be109"
29
+ "gitHead": "ae1a47e242ecd42a023b296a2cfc3558a81087a1"
30
30
  }