@ray-js/api 0.6.28 → 0.6.29

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.
@@ -52,6 +52,7 @@ export declare const getDeviceInfo: typeof ty.device.getDeviceInfo;
52
52
  export declare const getProductInfo: typeof ty.device.getProductInfo;
53
53
  export declare const getSubDeviceInfoList: typeof ty.device.getSubDeviceInfoList;
54
54
  export declare const validDeviceOnlineType: typeof ty.device.validDeviceOnlineType;
55
+ export declare const publishCommonDps: typeof ty.device.publishDps;
55
56
  export declare const publishCommands: typeof ty.device.publishCommands;
56
57
  export declare const publishDpsWithPipeType: typeof ty.device.publishDpsWithPipeType;
57
58
  export declare const queryDps: typeof ty.device.queryDps;
@@ -158,9 +158,11 @@ export var getSubDeviceInfoList = factory('getSubDeviceInfoList', {
158
158
  });
159
159
  export var validDeviceOnlineType = factory('validDeviceOnlineType', {
160
160
  "namespace": "device"
161
- }); // Note: v1.0.0 由于Panel-sdk中封装,所以废弃原有DeviceKit中提供的 publishDps, Panel-sdk中封装的publishDps兼容原有publishDps。
162
- // export const publishDps = factory('publishDps', {"namespace":"device"}) as typeof ty.device.publishDps
161
+ }); // Note: v1.0.0 由于Panel-sdk中封装,所以废弃原有DeviceKit中提供的 publishDps,别名为 publishCommonDps, Panel-sdk中封装的publishDps兼容原有publishDps。
163
162
 
163
+ export var publishCommonDps = factory('publishDps', {
164
+ "namespace": "device"
165
+ });
164
166
  export var publishCommands = factory('publishCommands', {
165
167
  "namespace": "device"
166
168
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "0.6.28",
3
+ "version": "0.6.29",
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.6.28",
29
+ "@ray-js/framework": "^0.6.29",
30
30
  "@ray-js/panel-sdk": "^1.2.2",
31
- "@ray-js/router": "^0.6.28"
31
+ "@ray-js/router": "^0.6.29"
32
32
  },
33
33
  "devDependencies": {
34
- "@ray-js/cli": "^0.6.28",
34
+ "@ray-js/cli": "^0.6.29",
35
35
  "art-template": "^4.13.2",
36
36
  "fs-extra": "^10.1.0",
37
37
  "miniprogram-api-typings": "^3.4.3",
@@ -46,6 +46,6 @@
46
46
  "email": "tuyafe@tuya.com"
47
47
  }
48
48
  ],
49
- "gitHead": "85e0a013e99de043d2b185f213d7ddb3e57ebfc5",
49
+ "gitHead": "8fd0011cd6c72804fdf29a0e6bd487038f67f0d9",
50
50
  "repository": {}
51
51
  }