@ray-js/api 1.7.66 → 1.7.68

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.
@@ -53,6 +53,7 @@ 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
55
  export declare const publishDpsBase: typeof ty.device.publishDps;
56
+ export declare const publishDps: typeof ty.device.publishDps;
56
57
  export declare const publishCommands: typeof ty.device.publishCommands;
57
58
  export declare const publishDpsWithPipeType: typeof ty.device.publishDpsWithPipeType;
58
59
  export declare const queryDps: typeof ty.device.queryDps;
@@ -164,6 +164,9 @@ export const validDeviceOnlineType = factory('validDeviceOnlineType', {
164
164
  export const publishDpsBase = factory('publishDps', {
165
165
  "namespace": "device"
166
166
  });
167
+ export const publishDps = factory('publishDps', {
168
+ "namespace": "device"
169
+ });
167
170
  export const publishCommands = factory('publishCommands', {
168
171
  "namespace": "device"
169
172
  });
package/lib/index.d.ts CHANGED
@@ -93,6 +93,7 @@ export * from './cloud';
93
93
  */
94
94
  export * from './viewAPI';
95
95
  export * from './panel';
96
+ export { publishDps } from './panel/publishDps';
96
97
  export * from './openGroupCreate';
97
98
  /**
98
99
  * 新增跳转Native路由
package/lib/index.js CHANGED
@@ -40,6 +40,10 @@ export * from './cloud';
40
40
  */
41
41
  export * from './viewAPI';
42
42
  export * from './panel';
43
+
44
+ // 显式指定 publishDps 来自 panel,消除与 DeviceKit 的 export * 歧义
45
+ // DeviceKit 的 publishDps 仍可通过 device.publishDps 访问
46
+ export { publishDps } from './panel/publishDps';
43
47
  export * from './openGroupCreate';
44
48
 
45
49
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.66",
3
+ "version": "1.7.68",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,8 +29,8 @@
29
29
  "watch": "ray start --type=component"
30
30
  },
31
31
  "dependencies": {
32
- "@ray-js/framework": "1.7.66",
33
- "@ray-js/router": "1.7.66",
32
+ "@ray-js/framework": "1.7.68",
33
+ "@ray-js/router": "1.7.68",
34
34
  "base64-browser": "^1.0.1",
35
35
  "query-string": "^7.1.3"
36
36
  },
@@ -38,7 +38,7 @@
38
38
  "@ray-js/wechat": "^0.3.13"
39
39
  },
40
40
  "devDependencies": {
41
- "@ray-js/cli": "1.7.66",
41
+ "@ray-js/cli": "1.7.68",
42
42
  "art-template": "^4.13.4",
43
43
  "fs-extra": "^10.1.0",
44
44
  "miniprogram-api-typings": "^3.12.3",
@@ -48,5 +48,5 @@
48
48
  "access": "public",
49
49
  "registry": "https://registry.npmjs.org"
50
50
  },
51
- "gitHead": "f1f1edb0a13f6bbb411b2eb949d465252bb31dc3"
51
+ "gitHead": "b91b3823c5b4f115ca7832b01d202b3bd31688f8"
52
52
  }