@xfe-repo/web-utils 1.3.7 → 1.3.8

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/dist/env.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  type TestEnv = `test${number | ''}`;
2
- type ApiEnv = 'dev' | 'stage' | 'beta' | 'prod' | TestEnv;
2
+ type ApiEnv = 'dev' | 'stage' | 'prod' | TestEnv;
3
3
  type Business = 'erp_pc' | 'saas_pc' | 'platform_pc';
4
4
  declare const isServer: boolean;
5
5
  declare const isClient: boolean;
package/dist/env.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  type TestEnv = `test${number | ''}`;
2
- type ApiEnv = 'dev' | 'stage' | 'beta' | 'prod' | TestEnv;
2
+ type ApiEnv = 'dev' | 'stage' | 'prod' | TestEnv;
3
3
  type Business = 'erp_pc' | 'saas_pc' | 'platform_pc';
4
4
  declare const isServer: boolean;
5
5
  declare const isClient: boolean;
package/dist/host.js CHANGED
@@ -44,9 +44,8 @@ function getEnvDomain(hostname) {
44
44
  }
45
45
  var bffApiList = {
46
46
  dev: "http://localhost:6003/",
47
- test: `http://test.bff-s.t.eshetang.com/`,
48
- stage: "http://stage.bff-s.t.eshetang.com/",
49
- beta: "https://bff.beta.eshetang.com/",
47
+ test: `https://test.bff-s.t.eshetang.com/`,
48
+ stage: "https://stage.bff-s.t.eshetang.com/",
50
49
  prod: "https://bff.eshetang.com/"
51
50
  };
52
51
  var getBffApi = (_apiEnv) => {
package/dist/host.mjs CHANGED
@@ -19,9 +19,8 @@ function getEnvDomain(hostname) {
19
19
  }
20
20
  var bffApiList = {
21
21
  dev: "http://localhost:6003/",
22
- test: `http://test.bff-s.t.eshetang.com/`,
23
- stage: "http://stage.bff-s.t.eshetang.com/",
24
- beta: "https://bff.beta.eshetang.com/",
22
+ test: `https://test.bff-s.t.eshetang.com/`,
23
+ stage: "https://stage.bff-s.t.eshetang.com/",
25
24
  prod: "https://bff.eshetang.com/"
26
25
  };
27
26
  var getBffApi = (_apiEnv) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfe-repo/web-utils",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "sideEffects": false,
5
5
  "module": "dist/*.js",
6
6
  "types": "types/*.d.ts",
@@ -28,8 +28,8 @@
28
28
  "devDependencies": {
29
29
  "@types/js-cookie": "^3.0.5",
30
30
  "@types/node": "^20.10.3",
31
- "@xfe-repo/typescript-config": "0.0.6",
32
- "@xfe-repo/eslint-config": "0.0.5"
31
+ "@xfe-repo/eslint-config": "0.0.5",
32
+ "@xfe-repo/typescript-config": "0.0.6"
33
33
  },
34
34
  "publishConfig": {
35
35
  "registry": "https://registry.npmjs.org/"