@ray-js/api 0.6.12-beta-1 → 0.6.12-beta-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.
- package/lib/lifecycles/offAppEvent/index.d.ts +2 -1
- package/lib/lifecycles/offAppEvent/index.js +6 -4
- package/lib/lifecycles/offAppHide/index.d.ts +2 -1
- package/lib/lifecycles/offAppHide/index.js +6 -4
- package/lib/lifecycles/offAppShow/index.d.ts +2 -1
- package/lib/lifecycles/offAppShow/index.js +6 -4
- package/lib/lifecycles/offError/index.d.ts +2 -1
- package/lib/lifecycles/offError/index.js +6 -4
- package/lib/lifecycles/offThemeChange/index.d.ts +2 -1
- package/lib/lifecycles/offThemeChange/index.js +6 -4
- package/lib/lifecycles/offWindowResize/index.d.ts +2 -1
- package/lib/lifecycles/offWindowResize/index.js +6 -4
- package/lib/lifecycles/onAppEvent/index.d.ts +2 -1
- package/lib/lifecycles/onAppEvent/index.js +6 -4
- package/lib/lifecycles/onAppHide/index.d.ts +2 -1
- package/lib/lifecycles/onAppHide/index.js +6 -4
- package/lib/lifecycles/onAppShow/index.d.ts +2 -1
- package/lib/lifecycles/onAppShow/index.js +6 -4
- package/lib/lifecycles/onError/index.d.ts +2 -1
- package/lib/lifecycles/onError/index.js +6 -4
- package/lib/lifecycles/onPageNotFound/index.d.ts +2 -1
- package/lib/lifecycles/onPageNotFound/index.js +6 -4
- package/lib/lifecycles/onThemeChange/index.d.ts +2 -1
- package/lib/lifecycles/onThemeChange/index.js +6 -4
- package/lib/lifecycles/onWindowResize/index.d.ts +2 -1
- package/lib/lifecycles/onWindowResize/index.js +5 -3
- package/package.json +5 -5
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const offAppEvent: typeof ty.offAppEvent;
|
2
|
+
export default offAppEvent;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const offAppHide: typeof ty.offAppHide;
|
2
|
+
export default offAppHide;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const offAppShow: typeof ty.offAppShow;
|
2
|
+
export default offAppShow;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const offError: typeof ty.offError;
|
2
|
+
export default offError;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const offThemeChange: typeof ty.offThemeChange;
|
2
|
+
export default offThemeChange;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const offWindowResize: typeof ty.offWindowResize;
|
2
|
+
export default offWindowResize;
|
@@ -1,4 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
}
|
1
|
+
/// <reference path="../../@types/api.d.ts" />
|
2
|
+
var offWindowResize = function () {
|
3
|
+
console.warn('// TODO 暂未实现方法 offWindowResize');
|
4
|
+
};
|
5
|
+
|
6
|
+
export default offWindowResize;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const onAppEvent: typeof ty.onAppEvent;
|
2
|
+
export default onAppEvent;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const onAppHide: typeof ty.onAppHide;
|
2
|
+
export default onAppHide;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const onAppShow: typeof ty.onAppShow;
|
2
|
+
export default onAppShow;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const onError: typeof ty.onError;
|
2
|
+
export default onError;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const onPageNotFound: typeof ty.onPageNotFound;
|
2
|
+
export default onPageNotFound;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const onThemeChange: typeof ty.onThemeChange;
|
2
|
+
export default onThemeChange;
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
declare const onWindowResize: typeof ty.onWindowResize;
|
2
|
+
export default onWindowResize;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/api",
|
3
|
-
"version": "0.6.12-beta-
|
3
|
+
"version": "0.6.12-beta-2",
|
4
4
|
"description": "Ray universal api",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -26,11 +26,11 @@
|
|
26
26
|
"build:kit:api": "node scripts/api-creator.mjs"
|
27
27
|
},
|
28
28
|
"dependencies": {
|
29
|
-
"@ray-js/framework": "^0.6.12-beta-
|
30
|
-
"@ray-js/router": "^0.6.12-beta-
|
29
|
+
"@ray-js/framework": "^0.6.12-beta-2",
|
30
|
+
"@ray-js/router": "^0.6.12-beta-2"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
|
-
"@ray-js/cli": "^0.6.12-beta-
|
33
|
+
"@ray-js/cli": "^0.6.12-beta-2",
|
34
34
|
"art-template": "^4.13.2",
|
35
35
|
"fs-extra": "^10.1.0",
|
36
36
|
"miniprogram-api-typings": "^3.4.3",
|
@@ -42,6 +42,6 @@
|
|
42
42
|
"email": "tuyafe@tuya.com"
|
43
43
|
}
|
44
44
|
],
|
45
|
-
"gitHead": "
|
45
|
+
"gitHead": "f1cf3886811c99b1b1a9c509c21c43d9518d0c0c",
|
46
46
|
"repository": {}
|
47
47
|
}
|