@ray-js/components 1.4.9 → 1.4.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
1
  import React from 'react';
2
- declare const Iframe: () => React.JSX.Element;
2
+ declare const Iframe: (props: {
3
+ src: string;
4
+ onLoad?: (() => void) | undefined;
5
+ onError?: (() => void) | undefined;
6
+ onMessage?: ((e: MessageEvent) => void) | undefined;
7
+ }) => React.JSX.Element;
3
8
  export default Iframe;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/components",
3
- "version": "1.4.9",
3
+ "version": "1.4.11",
4
4
  "description": "Ray basic components",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,8 +29,8 @@
29
29
  "dependencies": {
30
30
  "@ray-core/macro": "^0.3.6",
31
31
  "@ray-core/wechat": "^0.3.6",
32
- "@ray-js/adapter": "1.4.9",
33
- "@ray-js/framework-shared": "1.4.9",
32
+ "@ray-js/adapter": "^1.4.11",
33
+ "@ray-js/framework-shared": "^1.4.11",
34
34
  "ahooks": "^3.7.8",
35
35
  "clsx": "^1.2.1",
36
36
  "core-js": "^3.32.1",
@@ -40,11 +40,11 @@
40
40
  "style-to-object": "^0.3.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@ray-js/cli": "1.4.9"
43
+ "@ray-js/cli": "^1.4.11"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.org"
48
48
  },
49
- "gitHead": "7e3a91e33383412ace015996d93560ebd2e3ad57"
49
+ "gitHead": "3afff1b2904abf0f7847567de460bf4c02e5853e"
50
50
  }