@tarojs/taro 3.6.12-alpha.0 → 3.6.12

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.12-alpha.0",
3
+ "version": "3.6.12",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -21,11 +21,11 @@
21
21
  "author": "O2Team",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@tarojs/api": "3.6.12-alpha.0",
25
- "@tarojs/runtime": "3.6.12-alpha.0"
24
+ "@tarojs/api": "3.6.12",
25
+ "@tarojs/runtime": "3.6.12"
26
26
  },
27
27
  "devDependencies": {
28
- "@tarojs/helper": "3.6.12-alpha.0"
28
+ "@tarojs/helper": "3.6.12"
29
29
  },
30
30
  "peerDependenciesMeta": {
31
31
  "@types/react": {
@@ -106,10 +106,12 @@ declare module '../../index' {
106
106
  /** 设置请求重试次数
107
107
  * @default 2
108
108
  * @supported h5
109
+ * @h5 仅在 jsonp 模式下生效
109
110
  */
110
111
  retryTimes?: number
111
112
  /** 设置请求的兜底接口
112
113
  * @supported h5
114
+ * @h5 仅在 jsonp 模式下生效
113
115
  */
114
116
  backup?: string | string[]
115
117
  /** 设置请求中止信号
@@ -118,19 +120,23 @@ declare module '../../index' {
118
120
  signal?: AbortSignal
119
121
  /** 设置请求响应的数据校验函数,若返回 false,则请求兜底接口,若无兜底接口,则报请求失败
120
122
  * @supported h5
123
+ * @h5 仅在 jsonp 模式下生效
121
124
  */
122
125
  dataCheck?(): boolean
123
126
  /** 设置请求是否使用缓存
124
127
  * @default false
125
128
  * @supported h5
129
+ * @h5 仅在 jsonp 模式下生效
126
130
  */
127
131
  useStore?: boolean
128
132
  /** 设置请求缓存校验的 key
129
133
  * @supported h5
134
+ * @h5 仅在 jsonp 模式下生效
130
135
  */
131
136
  storeCheckKey?: string
132
137
  /** 设置请求缓存签名
133
138
  * @supported h5
139
+ * @h5 仅在 jsonp 模式下生效
134
140
  */
135
141
  storeSign?: string
136
142
  /** 设置请求校验函数,一般不需要设置