@ray-js/api 0.4.1-beta-1 → 0.4.2
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/@types/api-extend.d.ts +7 -7
- package/@types/index.d.ts +3 -3
- package/package.json +9 -9
package/@types/api-extend.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
type OriginRequestCloudParams = Parameters<typeof ty.apiRequestByAtop>[0]
|
1
|
+
type OriginRequestCloudParams = Parameters<typeof ty.apiRequestByAtop>[0]
|
2
2
|
type RequestCloudParams = Omit<OriginRequestCloudParams, 'postData'> & {
|
3
|
-
data: OriginRequestCloudParams['postData']
|
4
|
-
}
|
5
|
-
type RequestCloudReturn = ReturnType<typeof ty.apiRequestByAtop
|
3
|
+
data: OriginRequestCloudParams['postData']
|
4
|
+
}
|
5
|
+
type RequestCloudReturn = ReturnType<typeof ty.apiRequestByAtop>
|
6
6
|
|
7
7
|
declare namespace ty {
|
8
8
|
/**
|
@@ -11,7 +11,7 @@ declare namespace ty {
|
|
11
11
|
* @since xxx@1.2.10
|
12
12
|
* @plugin xxx@1.1.2
|
13
13
|
*/
|
14
|
-
export function requestCloud(params: RequestCloudParams): RequestCloudReturn
|
14
|
+
export function requestCloud(params: RequestCloudParams): RequestCloudReturn
|
15
15
|
|
16
16
|
/**
|
17
17
|
* 请求小程序
|
@@ -19,11 +19,11 @@ declare namespace ty {
|
|
19
19
|
* @since xxx@1.2.10
|
20
20
|
* @plugin xxx@1.1.2
|
21
21
|
*/
|
22
|
-
export function requestCloud<T>(params: RequestCloudParams): Promise<T
|
22
|
+
export function requestCloud<T>(params: RequestCloudParams): Promise<T>
|
23
23
|
}
|
24
24
|
|
25
25
|
declare namespace WechatMiniprogram {
|
26
26
|
interface Wx {
|
27
|
-
requestCloud(params: RequestCloudParams): RequestCloudReturn
|
27
|
+
requestCloud(params: RequestCloudParams): RequestCloudReturn
|
28
28
|
}
|
29
29
|
}
|
package/@types/index.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/api",
|
3
|
-
"version": "0.4.
|
3
|
+
"version": "0.4.2",
|
4
4
|
"description": "Ray universal api",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -26,12 +26,12 @@
|
|
26
26
|
"build:kit:api": "node scripts/api-creator.mjs"
|
27
27
|
},
|
28
28
|
"dependencies": {
|
29
|
-
"@ray-js/framework": "^0.4.
|
30
|
-
"@ray-js/framework-native": "^0.4.
|
31
|
-
"@ray-js/ray-panel-notification": "^0.4.
|
32
|
-
"@ray-js/router": "^0.4.
|
33
|
-
"@ray-js/router-native": "^0.4.
|
34
|
-
"@ray-js/runtime-native": "^0.4.
|
29
|
+
"@ray-js/framework": "^0.4.2",
|
30
|
+
"@ray-js/framework-native": "^0.4.2",
|
31
|
+
"@ray-js/ray-panel-notification": "^0.4.2",
|
32
|
+
"@ray-js/router": "^0.4.2",
|
33
|
+
"@ray-js/router-native": "^0.4.2",
|
34
|
+
"@ray-js/runtime-native": "^0.4.2",
|
35
35
|
"@tuya-miniapp/base-kit": "^2.1.2",
|
36
36
|
"@tuya-miniapp/device-kit": "^2.1.6",
|
37
37
|
"@tuya-miniapp/mini-kit": "^2.3.7",
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"react-native": "0.59.10"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
|
-
"@ray-js/cli": "^0.4.
|
42
|
+
"@ray-js/cli": "^0.4.2",
|
43
43
|
"art-template": "^4.13.2",
|
44
44
|
"fs-extra": "^10.1.0",
|
45
45
|
"miniprogram-api-typings": "^3.4.3",
|
@@ -51,6 +51,6 @@
|
|
51
51
|
"email": "tuyafe@tuya.com"
|
52
52
|
}
|
53
53
|
],
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "6b834e4415b185ac80daf96e44003db277fcc50b",
|
55
55
|
"repository": {}
|
56
56
|
}
|