@ray-js/api 1.5.33 → 1.5.35

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.
@@ -1986,7 +1986,7 @@ declare namespace ty.device {
1986
1986
  /** 设备id */
1987
1987
  deviceId: string
1988
1988
  /** dpids 数组 */
1989
- dpIds: number[]
1989
+ dpIds: string[]
1990
1990
  /** 查询类型 0 */
1991
1991
  queryType?: number
1992
1992
  complete?: () => void
@@ -3941,7 +3941,7 @@ declare namespace ty.device {
3941
3941
  /** 设备模型 设备id */
3942
3942
  deviceId: string
3943
3943
  /** dpId */
3944
- dpIds: Object[]
3944
+ dpIds: string[]
3945
3945
  complete?: () => void
3946
3946
  success?: (params: null) => void
3947
3947
  fail?: (params: {
@@ -5846,7 +5846,7 @@ declare namespace ty.device {
5846
5846
  /** 设备id */
5847
5847
  deviceId: string
5848
5848
  /** dpids 数组 */
5849
- dpIds: number[]
5849
+ dpIds: string[]
5850
5850
  /** 查询类型 0 */
5851
5851
  queryType?: number
5852
5852
  }
@@ -6783,7 +6783,7 @@ declare namespace ty.device {
6783
6783
  /** 设备模型 设备id */
6784
6784
  deviceId: string
6785
6785
  /** dpId */
6786
- dpIds: Object[]
6786
+ dpIds: string[]
6787
6787
  }
6788
6788
 
6789
6789
  export type CheckOTAUpgradeStatusParams = {
@@ -110,3 +110,4 @@ export declare const offKeyboardWillHide: typeof ty.offKeyboardWillHide;
110
110
  export declare const fetchVideoThumbnails: typeof ty.fetchVideoThumbnails;
111
111
  export declare const clearVideoThumbnails: typeof ty.clearVideoThumbnails;
112
112
  export declare const clipVideo: typeof ty.clipVideo;
113
+ export declare const getAppAuthorizeSetting: typeof ty.getAppAuthorizeSetting;
@@ -119,4 +119,5 @@ export const onKeyboardWillHide = factory('onKeyboardWillHide');
119
119
  export const offKeyboardWillHide = factory('offKeyboardWillHide');
120
120
  export const fetchVideoThumbnails = factory('fetchVideoThumbnails');
121
121
  export const clearVideoThumbnails = factory('clearVideoThumbnails');
122
- export const clipVideo = factory('clipVideo');
122
+ export const clipVideo = factory('clipVideo');
123
+ export const getAppAuthorizeSetting = factory('getAppAuthorizeSetting');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.5.33",
3
+ "version": "1.5.35",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,14 +29,14 @@
29
29
  "watch": "ray start --type=component"
30
30
  },
31
31
  "dependencies": {
32
- "@ray-js/framework": "1.5.33",
33
- "@ray-js/router": "1.5.33",
32
+ "@ray-js/framework": "1.5.35",
33
+ "@ray-js/router": "1.5.35",
34
34
  "@ray-js/wechat": "^0.2.9",
35
35
  "base64-browser": "^1.0.1",
36
36
  "query-string": "^7.1.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/cli": "1.5.33",
39
+ "@ray-js/cli": "1.5.35",
40
40
  "art-template": "^4.13.2",
41
41
  "fs-extra": "^10.1.0",
42
42
  "miniprogram-api-typings": "^3.12.2",
@@ -46,5 +46,5 @@
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.com"
48
48
  },
49
- "gitHead": "85de8568de11ea9241a6319b1ba18cbea1c25433"
49
+ "gitHead": "b777d021669a1865ee125407f70f462756f1bf27"
50
50
  }