@xfe-repo/web-utils 1.0.10 → 1.0.11
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.js +2 -2
- package/dist/env.mjs +2 -2
- package/package.json +1 -1
package/dist/env.js
CHANGED
|
@@ -97,9 +97,9 @@ var isTestEnv = (_apiEnv) => {
|
|
|
97
97
|
};
|
|
98
98
|
var getEnvApi = (envApis, _apiEnv = apiEnv) => {
|
|
99
99
|
if (isTestEnv(_apiEnv)) {
|
|
100
|
-
return
|
|
100
|
+
return envApis["test"].replace("test", _apiEnv);
|
|
101
101
|
} else {
|
|
102
|
-
return
|
|
102
|
+
return envApis[_apiEnv];
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
var getBffApi = (_apiEnv = apiEnv) => {
|
package/dist/env.mjs
CHANGED
|
@@ -58,9 +58,9 @@ var isTestEnv = (_apiEnv) => {
|
|
|
58
58
|
};
|
|
59
59
|
var getEnvApi = (envApis, _apiEnv = apiEnv) => {
|
|
60
60
|
if (isTestEnv(_apiEnv)) {
|
|
61
|
-
return
|
|
61
|
+
return envApis["test"].replace("test", _apiEnv);
|
|
62
62
|
} else {
|
|
63
|
-
return
|
|
63
|
+
return envApis[_apiEnv];
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
var getBffApi = (_apiEnv = apiEnv) => {
|