@tarojs/runtime 4.0.0-beta.7 → 4.0.0-beta.9
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/index.cjs.d.ts
CHANGED
|
@@ -722,6 +722,7 @@ interface AppInstance extends Show {
|
|
|
722
722
|
onPageNotFound?(res: any): void;
|
|
723
723
|
onUnhandledRejection?(error: any): void;
|
|
724
724
|
onShow?(options?: Record<string, unknown>): void;
|
|
725
|
+
onHide?(options?: Record<string, unknown>): void;
|
|
725
726
|
unmount?(id: string, cb?: () => void): void;
|
|
726
727
|
taroGlobalData?: Record<any, any>;
|
|
727
728
|
config?: Record<any, any>;
|
|
@@ -85,6 +85,7 @@ interface AppInstance extends Show {
|
|
|
85
85
|
onPageNotFound?(res: any): void;
|
|
86
86
|
onUnhandledRejection?(error: any): void;
|
|
87
87
|
onShow?(options?: Record<string, unknown>): void;
|
|
88
|
+
onHide?(options?: Record<string, unknown>): void;
|
|
88
89
|
unmount?(id: string, cb?: () => void): void;
|
|
89
90
|
taroGlobalData?: Record<any, any>;
|
|
90
91
|
config?: Record<any, any>;
|
package/dist/runtime.esm.d.ts
CHANGED
|
@@ -722,6 +722,7 @@ interface AppInstance extends Show {
|
|
|
722
722
|
onPageNotFound?(res: any): void;
|
|
723
723
|
onUnhandledRejection?(error: any): void;
|
|
724
724
|
onShow?(options?: Record<string, unknown>): void;
|
|
725
|
+
onHide?(options?: Record<string, unknown>): void;
|
|
725
726
|
unmount?(id: string, cb?: () => void): void;
|
|
726
727
|
taroGlobalData?: Record<any, any>;
|
|
727
728
|
config?: Record<any, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/runtime",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.9",
|
|
4
4
|
"description": "taro runtime for mini apps.",
|
|
5
5
|
"browser": "dist/index.js",
|
|
6
6
|
"main:h5": "dist/runtime.esm.js",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"rollup-plugin-ts": "^3.0.2",
|
|
36
36
|
"ts-jest": "^29.0.5",
|
|
37
37
|
"typescript": "^4.7.4",
|
|
38
|
-
"@tarojs/shared": "4.0.0-beta.
|
|
38
|
+
"@tarojs/shared": "4.0.0-beta.9"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@tarojs/shared": "~4.0.0-beta.
|
|
41
|
+
"@tarojs/shared": "~4.0.0-beta.9"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"prebuild": "pnpm run clean",
|