@hylid/env 5.0.0 → 6.0.0

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 CHANGED
@@ -30,4 +30,7 @@ export var mpChecker = [{
30
30
  }, {
31
31
  name: CLIENT.HIPAY,
32
32
  match: [/hipay/]
33
+ }, {
34
+ name: CLIENT.SCB_PLANETPLUS,
35
+ match: [/scb/]
33
36
  }];
@@ -28,4 +28,7 @@ export var mpWebChecker = [{
28
28
  {
29
29
  name: CLIENT.DEMO,
30
30
  match: [HAVE_MINIPROGRAM, HAVE_GRIVER]
31
+ }, {
32
+ name: CLIENT.SCB_PLANETPLUS,
33
+ match: [HAVE_MINIPROGRAM, /scb/i]
31
34
  }];
@@ -29,6 +29,8 @@ export declare const CLIENT: {
29
29
  WECHAT: string;
30
30
  TNGD_H5NG: string;
31
31
  WORLDFIRST: string;
32
+ SCB_PLANETPLUS: string;
33
+ ZALOPAY: string;
32
34
  };
33
35
  export declare const HAVE_MINIPROGRAM: RegExp;
34
36
  export declare const NO_MINIPROGRAM: RegExp;
package/lib/constants.js CHANGED
@@ -29,7 +29,9 @@ export var CLIENT = {
29
29
  H5: 'h5',
30
30
  WECHAT: 'wechat',
31
31
  TNGD_H5NG: 'tngdh5ng',
32
- WORLDFIRST: 'worldfirst'
32
+ WORLDFIRST: 'worldfirst',
33
+ SCB_PLANETPLUS: 'scb_planetplus',
34
+ ZALOPAY: 'zalopay'
33
35
  };
34
36
  export var HAVE_MINIPROGRAM = /miniprogram/i;
35
37
  export var NO_MINIPROGRAM = /^((?!miniprogram).)*$/i;
package/lib/version.js CHANGED
@@ -1 +1 @@
1
- export default '5.0.0';
1
+ export default '6.0.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hylid/env",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "main": "lib/index.js",
5
5
  "files": [
6
6
  "lib"