@ray-js/api 0.6.28 → 0.6.30

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 publishDps: 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,10 @@ 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
163
-
161
+ });
162
+ export var publishDps = factory('publishDps', {
163
+ "namespace": "device"
164
+ });
164
165
  export var publishCommands = factory('publishCommands', {
165
166
  "namespace": "device"
166
167
  });
@@ -1,4 +1,4 @@
1
1
  import { kit } from '@ray-js/panel-sdk';
2
2
  export * from '@ray-js/panel-cloud';
3
- declare const initPanelEnvironment: typeof kit.initPanelEnvironment, publishDps: typeof kit.publishDps, I18N: typeof kit.I18N;
4
- export { initPanelEnvironment, publishDps, I18N };
3
+ declare const initPanelEnvironment: typeof kit.initPanelEnvironment, sendDps: typeof kit.publishDps, I18N: typeof kit.I18N;
4
+ export { initPanelEnvironment, sendDps, I18N };
@@ -1,6 +1,6 @@
1
1
  import { kit } from '@ray-js/panel-sdk';
2
2
  export * from '@ray-js/panel-cloud';
3
3
  var initPanelEnvironment = kit.initPanelEnvironment,
4
- publishDps = kit.publishDps,
4
+ sendDps = kit.publishDps,
5
5
  I18N = kit.I18N;
6
- export { initPanelEnvironment, publishDps, I18N };
6
+ export { initPanelEnvironment, sendDps, I18N };
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.30",
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.30",
30
30
  "@ray-js/panel-sdk": "^1.2.2",
31
- "@ray-js/router": "^0.6.28"
31
+ "@ray-js/router": "^0.6.30"
32
32
  },
33
33
  "devDependencies": {
34
- "@ray-js/cli": "^0.6.28",
34
+ "@ray-js/cli": "^0.6.30",
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": "03e187194ad2bf41d20b7796d67e12bf77ba9c7f",
50
50
  "repository": {}
51
51
  }