@neutron.co.id/operasional-interfaces 1.17.18 → 1.17.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.
|
@@ -10,8 +10,8 @@ export function apiUrl() {
|
|
|
10
10
|
const isDev = parts[0] === "dev";
|
|
11
11
|
const offset = isDev ? 1 : 0;
|
|
12
12
|
const subParts = parts.slice(offset, parts.length - 3);
|
|
13
|
-
const
|
|
14
|
-
const action = switchUrl(
|
|
13
|
+
const subdomain = subParts.join(".");
|
|
14
|
+
const action = switchUrl(subdomain, isDev);
|
|
15
15
|
return { action };
|
|
16
16
|
}
|
|
17
17
|
function switchUrl(subdomain, isDev) {
|
|
@@ -30,7 +30,7 @@ function switchUrl(subdomain, isDev) {
|
|
|
30
30
|
action = "api.office.operasional.neutron.neon.id";
|
|
31
31
|
break;
|
|
32
32
|
default:
|
|
33
|
-
action = "
|
|
33
|
+
action = "api.office.holding.neutron.neon.id";
|
|
34
34
|
}
|
|
35
35
|
return isDev ? `https://dev.${action}` : `https://${action}`;
|
|
36
36
|
}
|
package/build/mock/index.cjs
CHANGED
|
@@ -12972,8 +12972,8 @@ function apiUrl() {
|
|
|
12972
12972
|
const isDev = parts[0] === "dev";
|
|
12973
12973
|
const offset2 = isDev ? 1 : 0;
|
|
12974
12974
|
const subParts = parts.slice(offset2, parts.length - 3);
|
|
12975
|
-
const
|
|
12976
|
-
const action = switchUrl(
|
|
12975
|
+
const subdomain = subParts.join(".");
|
|
12976
|
+
const action = switchUrl(subdomain, isDev);
|
|
12977
12977
|
return { action };
|
|
12978
12978
|
}
|
|
12979
12979
|
function switchUrl(subdomain, isDev) {
|
|
@@ -12992,7 +12992,7 @@ function switchUrl(subdomain, isDev) {
|
|
|
12992
12992
|
action = "api.office.operasional.neutron.neon.id";
|
|
12993
12993
|
break;
|
|
12994
12994
|
default:
|
|
12995
|
-
action = "
|
|
12995
|
+
action = "api.office.holding.neutron.neon.id";
|
|
12996
12996
|
}
|
|
12997
12997
|
return isDev ? `https://dev.${action}` : `https://${action}`;
|
|
12998
12998
|
}
|
package/build/mock/index.mjs
CHANGED
|
@@ -12953,8 +12953,8 @@ function apiUrl() {
|
|
|
12953
12953
|
const isDev = parts[0] === "dev";
|
|
12954
12954
|
const offset2 = isDev ? 1 : 0;
|
|
12955
12955
|
const subParts = parts.slice(offset2, parts.length - 3);
|
|
12956
|
-
const
|
|
12957
|
-
const action = switchUrl(
|
|
12956
|
+
const subdomain = subParts.join(".");
|
|
12957
|
+
const action = switchUrl(subdomain, isDev);
|
|
12958
12958
|
return { action };
|
|
12959
12959
|
}
|
|
12960
12960
|
function switchUrl(subdomain, isDev) {
|
|
@@ -12973,7 +12973,7 @@ function switchUrl(subdomain, isDev) {
|
|
|
12973
12973
|
action = "api.office.operasional.neutron.neon.id";
|
|
12974
12974
|
break;
|
|
12975
12975
|
default:
|
|
12976
|
-
action = "
|
|
12976
|
+
action = "api.office.holding.neutron.neon.id";
|
|
12977
12977
|
}
|
|
12978
12978
|
return isDev ? `https://dev.${action}` : `https://${action}`;
|
|
12979
12979
|
}
|
package/build/module.json
CHANGED
package/build/nuxt.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neutron.co.id/operasional-interfaces",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.19",
|
|
4
4
|
"description": "Interface library of Neutron Operasional.",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -164,5 +164,5 @@
|
|
|
164
164
|
"publishConfig": {
|
|
165
165
|
"access": "public"
|
|
166
166
|
},
|
|
167
|
-
"build":
|
|
167
|
+
"build": 201
|
|
168
168
|
}
|