@hylid/env 0.0.90011369536-dev.5 → 0.0.90011373228-dev.10
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/checker/mp.js +3 -0
- package/lib/checker/mpWeb.js +3 -0
- package/lib/constants.d.ts +2 -0
- package/lib/constants.js +6 -3
- package/lib/version.js +1 -1
- package/package.json +1 -1
package/lib/checker/mp.js
CHANGED
package/lib/checker/mpWeb.js
CHANGED
package/lib/constants.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export declare const CLIENT: {
|
|
|
17
17
|
MPAY: string;
|
|
18
18
|
TOSSPAY: string;
|
|
19
19
|
HIPAY: string;
|
|
20
|
+
ZALOPAY: string;
|
|
20
21
|
CHOPE: string;
|
|
21
22
|
VODAPAY: string;
|
|
22
23
|
CHANGIPAY: string;
|
|
@@ -29,6 +30,7 @@ export declare const CLIENT: {
|
|
|
29
30
|
WECHAT: string;
|
|
30
31
|
TNGD_H5NG: string;
|
|
31
32
|
WORLDFIRST: string;
|
|
33
|
+
SCB_PLANETPLUS: string;
|
|
32
34
|
};
|
|
33
35
|
export declare const HAVE_MINIPROGRAM: RegExp;
|
|
34
36
|
export declare const NO_MINIPROGRAM: RegExp;
|
package/lib/constants.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
1
2
|
export var PLATFORM = {
|
|
2
3
|
WEB: 'web',
|
|
3
4
|
MPWEB: 'mpweb',
|
|
4
5
|
MP: 'mp'
|
|
5
6
|
};
|
|
6
7
|
// bridge 下面新增加客户端时,文件夹名称和配置名称需要和这里保持对齐
|
|
7
|
-
export var CLIENT = {
|
|
8
|
+
export var CLIENT = _defineProperty({
|
|
8
9
|
DEMO: 'demo',
|
|
9
10
|
ALIPAY: 'alipay',
|
|
10
11
|
ALIPAYHK: 'alipayhk',
|
|
@@ -18,6 +19,7 @@ export var CLIENT = {
|
|
|
18
19
|
MPAY: 'mpay',
|
|
19
20
|
TOSSPAY: 'toss',
|
|
20
21
|
HIPAY: 'hipay',
|
|
22
|
+
ZALOPAY: 'zalopay',
|
|
21
23
|
CHOPE: 'chope',
|
|
22
24
|
VODAPAY: 'vodapay',
|
|
23
25
|
CHANGIPAY: 'changipay',
|
|
@@ -29,8 +31,9 @@ export var CLIENT = {
|
|
|
29
31
|
H5: 'h5',
|
|
30
32
|
WECHAT: 'wechat',
|
|
31
33
|
TNGD_H5NG: 'tngdh5ng',
|
|
32
|
-
WORLDFIRST: 'worldfirst'
|
|
33
|
-
|
|
34
|
+
WORLDFIRST: 'worldfirst',
|
|
35
|
+
SCB_PLANETPLUS: 'scb_planetplus'
|
|
36
|
+
}, "ZALOPAY", 'zalopay');
|
|
34
37
|
export var HAVE_MINIPROGRAM = /miniprogram/i;
|
|
35
38
|
export var NO_MINIPROGRAM = /^((?!miniprogram).)*$/i;
|
|
36
39
|
export var HAVE_GRIVER = /griver/i;
|
package/lib/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default '0.0.
|
|
1
|
+
export default '0.0.90011373228-dev.10';
|