@ray-js/api 1.6.6 → 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.
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.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.6",
33
- "@ray-js/router": "1.6.6",
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.6",
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": "db5c7e996593ed5da6703ef7677d19890a341cb3"
49
+ "gitHead": "fdc72915411ed3f7282300530574c01617987e26"
50
50
  }