@ray-js/api 1.7.78 → 1.7.79

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.
@@ -265,6 +265,21 @@ interface IpcContext {
265
265
  verticalStripAspect: number;
266
266
  },
267
267
  ): void;
268
+ /**
269
+ * 设置是否锁定 VR 球面画面(重力感应)
270
+ * @param options.locked - 是否锁定重力感应
271
+ */
272
+ setVRViewLocked(options: Callback & { locked: boolean }): void;
273
+ /**
274
+ * 获取 VR 球面画面锁定状态
275
+ */
276
+ getVRViewLocked(options: Callback): void;
277
+ /**
278
+ * 图片展示(VR)
279
+ * @param options.path - 图片远程路径
280
+ * @param options.encryptKey - 图片加密 key
281
+ */
282
+ displayVRImage(options: Callback & { path: string; encryptKey: string }): void;
268
283
  }
269
284
 
270
285
  interface CameraContext {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.78",
3
+ "version": "1.7.79",
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.78",
33
- "@ray-js/router": "1.7.78",
32
+ "@ray-js/framework": "1.7.79",
33
+ "@ray-js/router": "1.7.79",
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.78",
41
+ "@ray-js/cli": "1.7.79",
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": "b9f9c7256e83aa28602a161ac645ec2fe86e4203"
51
+ "gitHead": "0cfb3c5735eee2d1ab5d705d6cbd033e37c3ca0c"
52
52
  }