@ray-js/api 1.6.5 → 1.6.7

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.
@@ -210,7 +210,6 @@ declare const getLockActivePeriod: (params: GetLockActivePeriodParams) => Promis
210
210
  */
211
211
  type GetDeviceRotateParams = {
212
212
  devId: string;
213
- bindingId: string;
214
213
  };
215
214
  /**
216
215
  * GetDeviceRotateResponse - 获取当前设备的封面图旋转角度
@@ -9,3 +9,5 @@ export * from './unlock';
9
9
  export * from './unlock-method';
10
10
  export * from './setting';
11
11
  export * from './fittings';
12
+ export * from './sence';
13
+ export * from './service';
@@ -21,4 +21,8 @@ export * from './unlock-method';
21
21
  // 设置相关
22
22
  export * from './setting';
23
23
  // 配件相关
24
- export * from './fittings';
24
+ export * from './fittings';
25
+ // 场景相关
26
+ export * from './sence';
27
+ // 增值服务相关
28
+ export * from './service';
@@ -47,7 +47,7 @@ const uploadLogRecord = params => {
47
47
  */
48
48
  const queryAlbumRecord = params => {
49
49
  return requestCloud({
50
- api: "".concat(THING, ".m.lock.album.media.list"),
50
+ api: "m.lock.album.media.list",
51
51
  version: '2.0',
52
52
  data: params
53
53
  });
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.5",
3
+ "version": "1.6.7",
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.5",
33
- "@ray-js/router": "1.6.5",
32
+ "@ray-js/framework": "1.6.7",
33
+ "@ray-js/router": "1.6.7",
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.5",
39
+ "@ray-js/cli": "1.6.7",
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": "228f27012c3130d2930cd25413a8c80647787fc2"
49
+ "gitHead": "fdc72915411ed3f7282300530574c01617987e26"
50
50
  }