@onekeyfe/cross-inpage-provider-types 1.1.0 → 1.1.2

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 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -106,6 +106,7 @@ export declare type IElectronWebView = {
106
106
  addEventListener: (name: string, callback: unknown) => void;
107
107
  removeEventListener: (name: string, callback: unknown) => void;
108
108
  executeJavaScript: (code: string) => void;
109
+ send: (channel: string, payload: any) => void;
109
110
  };
110
111
  export declare type IPostMessageEventData = {
111
112
  channel: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/cross-inpage-provider-types",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "keywords": [
5
5
  "cross-inpage-provider"
6
6
  ],
@@ -27,5 +27,5 @@
27
27
  "build": "tsc && tsc --project tsconfig.cjs.json",
28
28
  "start": "tsc --watch"
29
29
  },
30
- "gitHead": "4c6356afe693de7bf11cceeafb36f9708a42876d"
30
+ "gitHead": "08aef327a2fec587de325b1f9dc69caa97a86686"
31
31
  }