@ray-js/api 0.3.24-beta-f16861cb → 0.3.26
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/BaseKit.d.ts +1 -3
- package/@types/MiniKit.d.ts +2 -6
- package/package.json +9 -9
package/@types/BaseKit.d.ts
CHANGED
@@ -768,9 +768,7 @@ declare namespace ty {
|
|
768
768
|
/**
|
769
769
|
* 从本地缓存中异步获取指定 key 的内容
|
770
770
|
*/
|
771
|
-
export function getStorageSync(
|
772
|
-
storageKeyBean?: StorageKeyBean
|
773
|
-
): {
|
771
|
+
export function getStorageSync(storageKeyBean?: StorageKeyBean): {
|
774
772
|
/** key对应的内容 */
|
775
773
|
data?: string
|
776
774
|
}
|
package/@types/MiniKit.d.ts
CHANGED
@@ -631,9 +631,7 @@ declare namespace ty {
|
|
631
631
|
/**
|
632
632
|
* 判断自定义API是否可用
|
633
633
|
*/
|
634
|
-
export function extApiCanIUseSync(
|
635
|
-
extApiBean?: ExtApiBean
|
636
|
-
): {
|
634
|
+
export function extApiCanIUseSync(extApiBean?: ExtApiBean): {
|
637
635
|
/** 当前版本是否可用 */
|
638
636
|
result: boolean
|
639
637
|
}
|
@@ -664,9 +662,7 @@ declare namespace ty {
|
|
664
662
|
/**
|
665
663
|
* 调用自定义API
|
666
664
|
*/
|
667
|
-
export function extApiInvokeSync(
|
668
|
-
extApiBean?: ExtApiBean
|
669
|
-
): {
|
665
|
+
export function extApiInvokeSync(extApiBean?: ExtApiBean): {
|
670
666
|
/** extApi返回数据 */
|
671
667
|
data?: {}
|
672
668
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/api",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.26",
|
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.3.
|
30
|
-
"@ray-js/framework-native": "^0.3.
|
31
|
-
"@ray-js/ray-panel-notification": "^0.3.
|
32
|
-
"@ray-js/router": "^0.3.
|
33
|
-
"@ray-js/router-native": "^0.3.
|
34
|
-
"@ray-js/runtime-native": "^0.3.
|
29
|
+
"@ray-js/framework": "^0.3.26",
|
30
|
+
"@ray-js/framework-native": "^0.3.26",
|
31
|
+
"@ray-js/ray-panel-notification": "^0.3.26",
|
32
|
+
"@ray-js/router": "^0.3.26",
|
33
|
+
"@ray-js/router-native": "^0.3.26",
|
34
|
+
"@ray-js/runtime-native": "^0.3.26",
|
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.3.
|
42
|
+
"@ray-js/cli": "^0.3.26",
|
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": "ba26f48be68337b418d7a607e4a15ad417b3b6a6",
|
55
55
|
"repository": {}
|
56
56
|
}
|