@tarojs/taro 4.2.3-beta.0 → 4.3.0
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": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "Taro framework",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@types/postcss-url": "^10.0.4",
|
|
27
|
-
"@tarojs/api": "4.
|
|
28
|
-
"@tarojs/runtime": "4.
|
|
27
|
+
"@tarojs/api": "4.3.0",
|
|
28
|
+
"@tarojs/runtime": "4.3.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"html-webpack-plugin": "^5.6.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"webpack-chain": "^6.5.1",
|
|
34
34
|
"webpack-dev-server": "^4.15.2",
|
|
35
35
|
"rollup": "^3.29.4",
|
|
36
|
-
"@tarojs/components": "4.
|
|
37
|
-
"@tarojs/shared": "4.
|
|
38
|
-
"@tarojs/helper": "4.
|
|
36
|
+
"@tarojs/components": "4.3.0",
|
|
37
|
+
"@tarojs/shared": "4.3.0",
|
|
38
|
+
"@tarojs/helper": "4.3.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@types/react": "^18",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"webpack": "^5",
|
|
47
47
|
"webpack-chain": "^6",
|
|
48
48
|
"webpack-dev-server": "^4",
|
|
49
|
-
"@tarojs/
|
|
50
|
-
"@tarojs/helper": "4.
|
|
51
|
-
"@tarojs/
|
|
49
|
+
"@tarojs/components": "4.3.0",
|
|
50
|
+
"@tarojs/helper": "4.3.0",
|
|
51
|
+
"@tarojs/shared": "4.3.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependenciesMeta": {
|
|
54
54
|
"@types/react": {
|
|
@@ -2,7 +2,7 @@ import Taro from '../../index'
|
|
|
2
2
|
|
|
3
3
|
declare module '../../index' {
|
|
4
4
|
namespace request {
|
|
5
|
-
interface Option<T = any, U
|
|
5
|
+
interface Option<T = any, U = any> {
|
|
6
6
|
/** 开发者服务器接口地址 */
|
|
7
7
|
url: string
|
|
8
8
|
/** 请求的参数 */
|
|
@@ -150,8 +150,7 @@ declare module '../../index' {
|
|
|
150
150
|
storeCheck?(): boolean
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
interface SuccessCallbackResult<T
|
|
154
|
-
extends TaroGeneral.CallbackResult {
|
|
153
|
+
interface SuccessCallbackResult<T = any> extends TaroGeneral.CallbackResult {
|
|
155
154
|
/** 开发者服务器返回的数据 */
|
|
156
155
|
data: T
|
|
157
156
|
/** 开发者服务器返回的 HTTP Response Header */
|
|
@@ -379,6 +378,11 @@ declare module '../../index' {
|
|
|
379
378
|
}
|
|
380
379
|
}
|
|
381
380
|
|
|
381
|
+
/** @ignore */
|
|
382
|
+
interface RequestParams<T = any> extends request.Option<T, any> {
|
|
383
|
+
[propName: string]: any
|
|
384
|
+
}
|
|
385
|
+
|
|
382
386
|
/** @ignore */
|
|
383
387
|
type interceptor = (chain: Chain) => any
|
|
384
388
|
|
package/types/taro.config.d.ts
CHANGED