@ray-js/api 1.7.28 → 1.7.29

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.
@@ -1,3 +1,3 @@
1
1
  import type { TGetCustomConfig } from './type';
2
- declare const _default: TGetCustomConfig;
3
- export default _default;
2
+ declare const getCustomConfig: TGetCustomConfig;
3
+ export default getCustomConfig;
@@ -1 +1,4 @@
1
- export default ty.getCustomConfig;
1
+ const getCustomConfig = function (options) {
2
+ return ty.getCustomConfig(options);
3
+ };
4
+ export default getCustomConfig;
package/lib/index.d.ts CHANGED
@@ -66,6 +66,7 @@ export * from './lifecycles';
66
66
  export { default as getApp } from './getApp';
67
67
  export { default as getBoundingClientRect } from './getBoundingClientRect';
68
68
  export { default as getCurrentPages } from './getCurrentPages';
69
+ export { default as getCustomConfig } from './getCustomConfig';
69
70
  export { default as getElementById } from './getElementById';
70
71
  export { default as hideNotification } from './hideNotification';
71
72
  export { default as hideTabBar } from './hideTabBar';
package/lib/index.js CHANGED
@@ -11,6 +11,7 @@ export * from './lifecycles';
11
11
  export { default as getApp } from './getApp';
12
12
  export { default as getBoundingClientRect } from './getBoundingClientRect';
13
13
  export { default as getCurrentPages } from './getCurrentPages';
14
+ export { default as getCustomConfig } from './getCustomConfig';
14
15
  export { default as getElementById } from './getElementById';
15
16
  export { default as hideNotification } from './hideNotification';
16
17
  export { default as hideTabBar } from './hideTabBar';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.28",
3
+ "version": "1.7.29",
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.28",
33
- "@ray-js/router": "1.7.28",
32
+ "@ray-js/framework": "1.7.29",
33
+ "@ray-js/router": "1.7.29",
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.28",
41
+ "@ray-js/cli": "1.7.29",
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": "adb587139fc66934ed4861f60747e8b891f5b29b"
51
+ "gitHead": "5caf9b8592114cca269c2df02fb7e421c9fef5e4"
52
52
  }