@hyve-sdk/js 1.3.4 → 1.3.5
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/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1344,11 +1344,11 @@ function determineEnvironmentFromParentUrl() {
|
|
|
1344
1344
|
parentUrl = window.location.href;
|
|
1345
1345
|
}
|
|
1346
1346
|
logger.debug("Detected parent URL:", parentUrl);
|
|
1347
|
-
if (parentUrl.includes("dev.hyve.gg")) {
|
|
1347
|
+
if (parentUrl.includes("marvin.dev.hyve.gg") || parentUrl.includes("dev.hyve.gg")) {
|
|
1348
1348
|
logger.info("Environment detected: dev (from parent URL)");
|
|
1349
1349
|
return true;
|
|
1350
1350
|
}
|
|
1351
|
-
if (parentUrl.includes("hyve.gg")) {
|
|
1351
|
+
if (parentUrl.includes("marvin.hyve.gg") || parentUrl.includes("hyve.gg")) {
|
|
1352
1352
|
logger.info("Environment detected: prod (from parent URL)");
|
|
1353
1353
|
return false;
|
|
1354
1354
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1304,11 +1304,11 @@ function determineEnvironmentFromParentUrl() {
|
|
|
1304
1304
|
parentUrl = window.location.href;
|
|
1305
1305
|
}
|
|
1306
1306
|
logger.debug("Detected parent URL:", parentUrl);
|
|
1307
|
-
if (parentUrl.includes("dev.hyve.gg")) {
|
|
1307
|
+
if (parentUrl.includes("marvin.dev.hyve.gg") || parentUrl.includes("dev.hyve.gg")) {
|
|
1308
1308
|
logger.info("Environment detected: dev (from parent URL)");
|
|
1309
1309
|
return true;
|
|
1310
1310
|
}
|
|
1311
|
-
if (parentUrl.includes("hyve.gg")) {
|
|
1311
|
+
if (parentUrl.includes("marvin.hyve.gg") || parentUrl.includes("hyve.gg")) {
|
|
1312
1312
|
logger.info("Environment detected: prod (from parent URL)");
|
|
1313
1313
|
return false;
|
|
1314
1314
|
}
|