@ray-js/api 1.3.3 → 1.3.5

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.
@@ -31,24 +31,10 @@ declare enum HighwayMethod {
31
31
  */
32
32
  declare namespace ty {
33
33
  /**
34
- * 特殊方法:是否异层渲染响应
34
+ * 是否禁止原生组件区域原生手势管理。
35
+ * 基础库 2.0.12 开始支持, 低版本需做兼容处理。
35
36
  */
36
- export function nativeDisabled(params: {
37
- /** 禁用异层渲染手势分发 */
38
- nativeDisabled: boolean
39
- /** 需要禁止或启用手势分发的页面id */
40
- pageId: string
41
- complete?: () => void
42
- success?: (params: string) => void
43
- fail?: (params: {
44
- errorMsg: string
45
- errorCode: string | number
46
- innerError: {
47
- errorCode: string | number
48
- errorMsg: string
49
- }
50
- }) => void
51
- }): void
37
+ export function nativeDisabled(params: boolean): void
52
38
 
53
39
  /**
54
40
  * 通用方法:调用组件API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -26,13 +26,13 @@
26
26
  "build:kit:api": "node scripts/api-creator.mjs"
27
27
  },
28
28
  "dependencies": {
29
- "@ray-js/framework": "^1.3.3",
30
- "@ray-js/router": "^1.3.3",
29
+ "@ray-js/framework": "^1.3.5",
30
+ "@ray-js/router": "^1.3.5",
31
31
  "@ray-js/wechat": "^0.0.16",
32
32
  "base64-browser": "^1.0.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@ray-js/cli": "^1.3.3",
35
+ "@ray-js/cli": "^1.3.5",
36
36
  "art-template": "^4.13.2",
37
37
  "fs-extra": "^10.1.0",
38
38
  "miniprogram-api-typings": "^3.4.3",
@@ -44,6 +44,6 @@
44
44
  "email": "tuyafe@tuya.com"
45
45
  }
46
46
  ],
47
- "gitHead": "78ca2269ac5efb52e102029258aab74c0a700c68",
47
+ "gitHead": "531ca1e7bc9a3e6355714019409a8354c359f38e",
48
48
  "repository": {}
49
49
  }