@ray-js/api 1.6.6 → 1.6.8

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,7 +31,7 @@ export declare const getCurrentVolume: typeof ty.getCurrentVolume;
31
31
  export declare const registerSystemVolumeChange: typeof ty.registerSystemVolumeChange;
32
32
  export declare const unRegisterSystemVolumeChange: typeof ty.unRegisterSystemVolumeChange;
33
33
  export declare const getSystemSetting: typeof ty.getSystemSetting;
34
- export declare const getMobileDeviceInfo: typeof ty.getMobileDeviceInfo;
34
+ export declare const getMobileDeviceInfo: typeof ty.getDeviceInfo;
35
35
  export declare const getSystemInfo: typeof ty.getSystemInfo;
36
36
  export declare const getSystemInfoSync: typeof ty.getSystemInfoSync;
37
37
  export declare const getWifiList: typeof ty.getWifiList;
@@ -110,3 +110,6 @@ export declare const fetchVideoThumbnails: typeof ty.fetchVideoThumbnails;
110
110
  export declare const clearVideoThumbnails: typeof ty.clearVideoThumbnails;
111
111
  export declare const clipVideo: typeof ty.clipVideo;
112
112
  export declare const getAppAuthorizeSetting: typeof ty.getAppAuthorizeSetting;
113
+ export declare const authorizePolicy: typeof ty.authorizePolicy;
114
+ export declare const authorizePolicyStatus: typeof ty.authorizePolicyStatus;
115
+ export declare const showScanLogin: typeof ty.showScanLogin;
@@ -120,4 +120,9 @@ export const offKeyboardWillHide = factory('offKeyboardWillHide');
120
120
  export const fetchVideoThumbnails = factory('fetchVideoThumbnails');
121
121
  export const clearVideoThumbnails = factory('clearVideoThumbnails');
122
122
  export const clipVideo = factory('clipVideo');
123
- export const getAppAuthorizeSetting = factory('getAppAuthorizeSetting');
123
+ export const getAppAuthorizeSetting = factory('getAppAuthorizeSetting');
124
+
125
+ // 3.17.7 新增
126
+ export const authorizePolicy = factory('authorizePolicy');
127
+ export const authorizePolicyStatus = factory('authorizePolicyStatus');
128
+ export const showScanLogin = factory('showScanLogin');
@@ -211,3 +211,35 @@ export declare const registerOTACompleted: typeof ty.device.registerOTACompleted
211
211
  export declare const onOtaCompleted: typeof ty.device.onOtaCompleted;
212
212
  export declare const offOtaCompleted: typeof ty.device.offOtaCompleted;
213
213
  export declare const initVirtualDevice: typeof ty.device.initVirtualDevice;
214
+ export declare const startBLECommRodScanDevice: typeof ty.device.startBLECommRodScanDevice;
215
+ export declare const stopBLECommRodScanDevice: typeof ty.device.stopBLECommRodScanDevice;
216
+ export declare const connectBLECommRodDevice: typeof ty.device.connectBLECommRodDevice;
217
+ export declare const disconnectBLECommRodDevice: typeof ty.device.disconnectBLECommRodDevice;
218
+ export declare const publishBLECommRodDps: typeof ty.device.publishBLECommRodDps;
219
+ export declare const onBLECommRodScanDevice: typeof ty.device.onBLECommRodScanDevice;
220
+ export declare const onBLECommRodConnectStatusChange: typeof ty.device.onBLECommRodConnectStatusChange;
221
+ export declare const onBLECommRodSchemaUpload: typeof ty.device.onBLECommRodSchemaUpload;
222
+ export declare const onBLECommRodDpsChange: typeof ty.device.onBLECommRodDpsChange;
223
+ export declare const yuChannelSaveState: typeof ty.device.yuChannelSaveState;
224
+ export declare const yuChannelSyncSingle: typeof ty.device.yuChannelSyncSingle;
225
+ export declare const yuChannelSyncSingleSync: typeof ty.device.yuChannelSyncSingleSync;
226
+ export declare const yuChannelQueryNodes: typeof ty.device.yuChannelQueryNodes;
227
+ export declare const checkCanJoinMatter: typeof ty.device.checkCanJoinMatter;
228
+ export declare const fetchAvailableMatterGatewayList: typeof ty.device.fetchAvailableMatterGatewayList;
229
+ export declare const checkShowMatterMutilpleShare: typeof ty.device.checkShowMatterMutilpleShare;
230
+ export declare const changeDeviceAdvMatterState: typeof ty.device.changeDeviceAdvMatterState;
231
+ export declare const pairDeviceIntoHomeKit: typeof ty.device.pairDeviceIntoHomeKit;
232
+ export declare const pairMatterDevice: typeof ty.device.pairMatterDevice;
233
+ export declare const cancelMatterActivator: typeof ty.device.cancelMatterActivator;
234
+ export declare const publishMeshCustomDataEvent: typeof ty.device.publishMeshCustomDataEvent;
235
+ export declare const lowPowerDeviceAwake: typeof ty.device.lowPowerDeviceAwake;
236
+ export declare const getDeviceDetailInfo: typeof ty.device.getDeviceDetailInfo;
237
+ export declare const getDeviceDetailCubeConfig: typeof ty.device.getDeviceDetailCubeConfig;
238
+ export declare const wakeUpDevice: typeof ty.device.wakeUpDevice;
239
+ export declare const validDeviceOnline: typeof ty.device.validDeviceOnline;
240
+ export declare const queryGatewayReplacementCapabilityDeviceModel: typeof ty.device.queryGatewayReplacementCapabilityDeviceModel;
241
+ export declare const fetchReplaceableSubDevicesDeviceModel: typeof ty.device.fetchReplaceableSubDevicesDeviceModel;
242
+ export declare const subDeviceReplace: typeof ty.device.subDeviceReplace;
243
+ export declare const fetchReplacementOutcomeJobModel: typeof ty.device.fetchReplacementOutcomeJobModel;
244
+ export declare const getMeshDeviceIdHex: typeof ty.device.getMeshDeviceIdHex;
245
+ export declare const onSubDeviceReplaceResult: typeof ty.device.onSubDeviceReplaceResult;
@@ -643,4 +643,116 @@ export const offOtaCompleted = factory('offOtaCompleted', {
643
643
  });
644
644
  export const initVirtualDevice = factory('initVirtualDevice', {
645
645
  "namespace": "device"
646
+ });
647
+
648
+ // 4.10.1 新增
649
+ export const startBLECommRodScanDevice = factory('startBLECommRodScanDevice', {
650
+ "namespace": "device"
651
+ });
652
+ export const stopBLECommRodScanDevice = factory('stopBLECommRodScanDevice', {
653
+ "namespace": "device"
654
+ });
655
+ export const connectBLECommRodDevice = factory('connectBLECommRodDevice', {
656
+ "namespace": "device"
657
+ });
658
+ export const disconnectBLECommRodDevice = factory('disconnectBLECommRodDevice', {
659
+ "namespace": "device"
660
+ });
661
+ export const publishBLECommRodDps = factory('publishBLECommRodDps', {
662
+ "namespace": "device"
663
+ });
664
+ export const onBLECommRodScanDevice = factory('onBLECommRodScanDevice', {
665
+ "namespace": "device"
666
+ });
667
+ export const onBLECommRodConnectStatusChange = factory('onBLECommRodConnectStatusChange', {
668
+ "namespace": "device"
669
+ });
670
+ export const onBLECommRodSchemaUpload = factory('onBLECommRodSchemaUpload', {
671
+ "namespace": "device"
672
+ });
673
+ export const onBLECommRodDpsChange = factory('onBLECommRodDpsChange', {
674
+ "namespace": "device"
675
+ });
676
+
677
+ // 4.11.0 新增
678
+ export const yuChannelSaveState = factory('yuChannelSaveState', {
679
+ "namespace": "device"
680
+ });
681
+ export const yuChannelSyncSingle = factory('yuChannelSyncSingle', {
682
+ "namespace": "device"
683
+ });
684
+ export const yuChannelSyncSingleSync = factory('yuChannelSyncSingleSync', {
685
+ "namespace": "device"
686
+ });
687
+ export const yuChannelQueryNodes = factory('yuChannelQueryNodes', {
688
+ "namespace": "device"
689
+ });
690
+
691
+ // 4.11.2 新增
692
+ export const checkCanJoinMatter = factory('checkCanJoinMatter', {
693
+ "namespace": "device"
694
+ });
695
+ export const fetchAvailableMatterGatewayList = factory('fetchAvailableMatterGatewayList', {
696
+ "namespace": "device"
697
+ });
698
+ export const checkShowMatterMutilpleShare = factory('checkShowMatterMutilpleShare', {
699
+ "namespace": "device"
700
+ });
701
+ export const changeDeviceAdvMatterState = factory('changeDeviceAdvMatterState', {
702
+ "namespace": "device"
703
+ });
704
+ export const pairDeviceIntoHomeKit = factory('pairDeviceIntoHomeKit', {
705
+ "namespace": "device"
706
+ });
707
+ export const pairMatterDevice = factory('pairMatterDevice', {
708
+ "namespace": "device"
709
+ });
710
+ export const cancelMatterActivator = factory('cancelMatterActivator', {
711
+ "namespace": "device"
712
+ });
713
+
714
+ // 4.12.1 新增
715
+ export const publishMeshCustomDataEvent = factory('publishMeshCustomDataEvent', {
716
+ "namespace": "device"
717
+ });
718
+
719
+ // 4.12.2 新增
720
+ export const lowPowerDeviceAwake = factory('lowPowerDeviceAwake', {
721
+ "namespace": "device"
722
+ });
723
+
724
+ // 4.12.3 新增
725
+ export const getDeviceDetailInfo = factory('getDeviceDetailInfo', {
726
+ "namespace": "device"
727
+ });
728
+ export const getDeviceDetailCubeConfig = factory('getDeviceDetailCubeConfig', {
729
+ "namespace": "device"
730
+ });
731
+
732
+ // 4.12.11 新增
733
+ export const wakeUpDevice = factory('wakeUpDevice', {
734
+ "namespace": "device"
735
+ });
736
+
737
+ // 4.13.1 新增
738
+ export const validDeviceOnline = factory('validDeviceOnline', {
739
+ "namespace": "device"
740
+ });
741
+ export const queryGatewayReplacementCapabilityDeviceModel = factory('queryGatewayReplacementCapabilityDeviceModel', {
742
+ "namespace": "device"
743
+ });
744
+ export const fetchReplaceableSubDevicesDeviceModel = factory('fetchReplaceableSubDevicesDeviceModel', {
745
+ "namespace": "device"
746
+ });
747
+ export const subDeviceReplace = factory('subDeviceReplace', {
748
+ "namespace": "device"
749
+ });
750
+ export const fetchReplacementOutcomeJobModel = factory('fetchReplacementOutcomeJobModel', {
751
+ "namespace": "device"
752
+ });
753
+ export const getMeshDeviceIdHex = factory('getMeshDeviceIdHex', {
754
+ "namespace": "device"
755
+ });
756
+ export const onSubDeviceReplaceResult = factory('onSubDeviceReplaceResult', {
757
+ "namespace": "device"
646
758
  });
package/lib/all-kits.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export * from './BaseKit-3.14.3';
1
+ export * from './BaseKit-3.17.7';
2
2
  export * from './BizKit-4.10.4';
3
- export * from './DeviceKit-4.9.0';
3
+ export * from './DeviceKit-4.13.1';
4
4
  export * from './MiniKit-3.12.1';
5
5
  export * from './PlayNetKit-1.1.3';
6
6
  export * from './MapKit-3.4.13';
7
7
  export * from './HomeKit-3.1.4';
8
8
  export * from './P2PKit-2.0.3';
9
9
  export * from './OutdoorKit-1.0.4';
10
- import * as device from './DeviceKit-4.9.0';
10
+ import * as device from './DeviceKit-4.13.1';
11
11
  export { device };
package/lib/all-kits.js CHANGED
@@ -1,11 +1,11 @@
1
- export * from './BaseKit-3.14.3';
1
+ export * from './BaseKit-3.17.7';
2
2
  export * from './BizKit-4.10.4';
3
- export * from './DeviceKit-4.9.0';
3
+ export * from './DeviceKit-4.13.1';
4
4
  export * from './MiniKit-3.12.1';
5
5
  export * from './PlayNetKit-1.1.3';
6
6
  export * from './MapKit-3.4.13';
7
7
  export * from './HomeKit-3.1.4';
8
8
  export * from './P2PKit-2.0.3';
9
9
  export * from './OutdoorKit-1.0.4';
10
- import * as device from './DeviceKit-4.9.0';
10
+ import * as device from './DeviceKit-4.13.1';
11
11
  export { device };
package/lib/index.d.ts CHANGED
@@ -37,3 +37,4 @@ export * from './openGroupCreate';
37
37
  * 1.4.32 openCreateScene/openEditScene/openGuideScene/openAppScan/openConfigDevice/openUniversalCreateScene
38
38
  */
39
39
  export * from './nativeRouters';
40
+ export declare const canIUse: typeof ty.canIUse;
package/lib/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  /// <reference path="../@types/api.d.ts" />
2
2
 
3
+ import { factory } from './utils';
3
4
  export * from './constants';
4
5
  export * from './all-kits';
5
6
  export * from './lifecycles';
@@ -41,4 +42,7 @@ export * from './openGroupCreate';
41
42
  * 1.4.23 openSceneCreate/openSceneEdit
42
43
  * 1.4.32 openCreateScene/openEditScene/openGuideScene/openAppScan/openConfigDevice/openUniversalCreateScene
43
44
  */
44
- export * from './nativeRouters';
45
+ export * from './nativeRouters';
46
+
47
+ // 3.15.1 新增
48
+ export const canIUse = factory('canIUse');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.6.6",
3
+ "version": "1.6.8",
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.6.6",
33
- "@ray-js/router": "1.6.6",
32
+ "@ray-js/framework": "1.6.8",
33
+ "@ray-js/router": "1.6.8",
34
34
  "@ray-js/wechat": "^0.2.19",
35
35
  "base64-browser": "^1.0.1",
36
36
  "query-string": "^7.1.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/cli": "1.6.6",
39
+ "@ray-js/cli": "1.6.8",
40
40
  "art-template": "^4.13.2",
41
41
  "fs-extra": "^10.1.0",
42
42
  "miniprogram-api-typings": "^3.12.3",
@@ -46,5 +46,5 @@
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.com"
48
48
  },
49
- "gitHead": "db5c7e996593ed5da6703ef7677d19890a341cb3"
49
+ "gitHead": "e22865290c29786f1ff2f9f9959764c93935ae8a"
50
50
  }