@tarojs/taro 3.6.0-canary.2 → 3.6.0-canary.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/taro",
3
- "version": "3.6.0-canary.2",
3
+ "version": "3.6.0-canary.3",
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.2",
25
- "@tarojs/runtime": "3.6.0-canary.2"
24
+ "@tarojs/api": "3.6.0-canary.3",
25
+ "@tarojs/runtime": "3.6.0-canary.3"
26
26
  },
27
27
  "peerDependenciesMeta": {
28
28
  "@types/react": {
@@ -9,6 +9,8 @@ declare module '../../index' {
9
9
  filePath?: string
10
10
  /** HTTP 请求的 Header,Header 中不能设置 Referer */
11
11
  header?: TaroGeneral.IAnyObject
12
+ /** 超时时间,单位为毫秒 */
13
+ timeout?: number
12
14
  /** 是否应使用传出凭据 (cookie) 发送此请求
13
15
  * @default true
14
16
  * @supported h5