@tarojs/runtime 3.5.8 → 3.5.10

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>;
@@ -487,6 +487,7 @@ interface AppInstance extends Show {
487
487
  onError?(error: string): void;
488
488
  onLaunch?(options?: Record<string, unknown>): void;
489
489
  onPageNotFound?(res: any): void;
490
+ onUnhandledRejection?(error: any): void;
490
491
  onShow?(options?: Record<string, unknown>): void;
491
492
  unmount?(id: string, cb?: () => void): void;
492
493
  taroGlobalData?: Record<any, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/runtime",
3
- "version": "3.5.8",
3
+ "version": "3.5.10",
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.5.8"
22
+ "@tarojs/shared": "3.5.10"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "rimraf ./dist && tsc -emitDeclarationOnly && rollup -c",