@tarojs/runtime 3.6.0-canary.4 → 3.6.0-canary.6

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.
@@ -78,6 +78,7 @@ export interface AppInstance extends Show {
78
78
  onError?(error: string): void;
79
79
  onLaunch?(options?: Record<string, unknown>): void;
80
80
  onPageNotFound?(res: any): void;
81
+ onUnhandledRejection?(error: any): void;
81
82
  onShow?(options?: Record<string, unknown>): void;
82
83
  unmount?(id: string, cb?: () => void): void;
83
84
  taroGlobalData?: Record<any, any>;
@@ -505,6 +505,7 @@ interface AppInstance extends Show {
505
505
  onError?(error: string): void;
506
506
  onLaunch?(options?: Record<string, unknown>): void;
507
507
  onPageNotFound?(res: any): void;
508
+ onUnhandledRejection?(error: any): void;
508
509
  onShow?(options?: Record<string, unknown>): void;
509
510
  unmount?(id: string, cb?: () => void): void;
510
511
  taroGlobalData?: Record<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/runtime",
3
- "version": "3.6.0-canary.4",
3
+ "version": "3.6.0-canary.6",
4
4
  "description": "taro runtime for mini apps.",
5
5
  "main": "dist/runtime.esm.js",
6
6
  "module": "dist/runtime.esm.js",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "lodash-es": "4.17.21",
22
- "@tarojs/shared": "3.6.0-canary.4"
22
+ "@tarojs/shared": "3.6.0-canary.6"
23
23
  },
24
24
  "devDependencies": {
25
25
  "tslib": "^2.4.0"