@tarojs/taro 3.6.0-canary.6 → 3.6.0-canary.8
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/package.json +3 -3
- package/types/taro.hooks.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/taro",
|
|
3
|
-
"version": "3.6.0-canary.
|
|
3
|
+
"version": "3.6.0-canary.8",
|
|
4
4
|
"description": "Taro framework",
|
|
5
5
|
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
|
|
6
6
|
"main": "index.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"author": "O2Team",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tarojs/api": "3.6.0-canary.
|
|
25
|
-
"@tarojs/runtime": "3.6.0-canary.
|
|
24
|
+
"@tarojs/api": "3.6.0-canary.8",
|
|
25
|
+
"@tarojs/runtime": "3.6.0-canary.8"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"@types/react": {
|
package/types/taro.hooks.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ declare module './index' {
|
|
|
87
87
|
* 小程序有未处理的 Promise reject 时触发。也可以使用 Taro.onUnhandledRejection 绑定监听。
|
|
88
88
|
* @supported weapp, alipay
|
|
89
89
|
*/
|
|
90
|
-
|
|
90
|
+
useUnhandledRejection(callback: (error: { reason: Error, promise: Promise<Error> }) => void): void
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* 小程序要打开的页面不存在时触发的回调。
|