@ray-js/api 1.5.18 → 1.5.19

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/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ Copyright © 2014-2022 Tuya.inc
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -23,9 +23,6 @@ export const openInnerH5 = factory('openInnerH5');
23
23
  export const openAppSystemSettingPage = factory('openAppSystemSettingPage', {
24
24
  "deprecated": true
25
25
  });
26
- export const openSystemSettingPage = factory('openSystemSettingPage', {
27
- "deprecated": true
28
- });
29
26
  export const emitChannel = factory('emitChannel');
30
27
  export const router = factory('router');
31
28
  export const canIUseRouter = factory('canIUseRouter');
@@ -60,4 +57,7 @@ export const handleShortcut = factory('handleShortcut');
60
57
  export const isAssociatedShortcut = factory('isAssociatedShortcut');
61
58
  export const isSupportedShortcut = factory('isSupportedShortcut');
62
59
  // 3.2.7 新增 - 4.8.0 容器
63
- export const backToHomeAndOpenPanel = factory('backToHomeAndOpenPanel');
60
+ export const backToHomeAndOpenPanel = factory('backToHomeAndOpenPanel');
61
+
62
+ // 4.5.1 新增 - 5.12.0 容器 之前是标注deprecated的,4.5.1之后不再标注,iOS已支持
63
+ export const openSystemSettingPage = factory('openSystemSettingPage');
package/lib/all-kits.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from './BaseKit-3.11.0';
2
- export * from './BizKit-3.2.7';
2
+ export * from './BizKit-4.5.1';
3
3
  export * from './DeviceKit-3.3.1';
4
4
  export * from './MiniKit-3.1.0';
5
5
  export * from './PlayNetKit-1.1.3';
package/lib/all-kits.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from './BaseKit-3.11.0';
2
- export * from './BizKit-3.2.7';
2
+ export * from './BizKit-4.5.1';
3
3
  export * from './DeviceKit-3.3.1';
4
4
  export * from './MiniKit-3.1.0';
5
5
  export * from './PlayNetKit-1.1.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.5.18",
3
+ "version": "1.5.19",
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.5.18",
33
- "@ray-js/router": "1.5.18",
32
+ "@ray-js/framework": "1.5.19",
33
+ "@ray-js/router": "1.5.19",
34
34
  "@ray-js/wechat": "^0.2.9",
35
35
  "base64-browser": "^1.0.1",
36
36
  "query-string": "^7.1.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/cli": "1.5.18",
39
+ "@ray-js/cli": "1.5.19",
40
40
  "art-template": "^4.13.2",
41
41
  "fs-extra": "^10.1.0",
42
42
  "miniprogram-api-typings": "^3.12.2",
@@ -46,5 +46,5 @@
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.com"
48
48
  },
49
- "gitHead": "511cd3f8d57c2888411700526781e65959037c5b"
49
+ "gitHead": "1ac2d1581a3cefb2b27ec498e3246ced188ae602"
50
50
  }
@@ -16,7 +16,6 @@ export declare const openPanel: typeof ty.openPanel;
16
16
  export declare const preloadPanel: typeof ty.preloadPanel;
17
17
  export declare const openInnerH5: typeof ty.openInnerH5;
18
18
  export declare const openAppSystemSettingPage: typeof ty.openAppSystemSettingPage;
19
- export declare const openSystemSettingPage: typeof ty.openSystemSettingPage;
20
19
  export declare const emitChannel: typeof ty.emitChannel;
21
20
  export declare const router: typeof ty.router;
22
21
  export declare const canIUseRouter: typeof ty.canIUseRouter;
@@ -44,3 +43,4 @@ export declare const handleShortcut: typeof ty.handleShortcut;
44
43
  export declare const isAssociatedShortcut: typeof ty.isAssociatedShortcut;
45
44
  export declare const isSupportedShortcut: typeof ty.isSupportedShortcut;
46
45
  export declare const backToHomeAndOpenPanel: typeof ty.backToHomeAndOpenPanel;
46
+ export declare const openSystemSettingPage: typeof ty.openSystemSettingPage;