@dyne/interfacer-client 0.3.4 → 0.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.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1011,19 +1011,19 @@ var AuthClient = class {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
// ─── Helpers ──────────────────────────────────────────────────────
|
|
1013
1013
|
detectTemplate() {
|
|
1014
|
-
if (typeof window === "undefined") return "
|
|
1014
|
+
if (typeof window === "undefined") return "INTERFACER_TESTING" /* InterfacerTesting */;
|
|
1015
1015
|
const origin = window.location.origin;
|
|
1016
1016
|
switch (origin) {
|
|
1017
1017
|
case "https://interfacer.dyne.org":
|
|
1018
|
-
return "
|
|
1018
|
+
return "INTERFACER_DEPLOYMENT" /* InterfacerDeployment */;
|
|
1019
1019
|
case "https://interfacer-gui-staging.dyne.org":
|
|
1020
|
-
return "
|
|
1020
|
+
return "INTERFACER_STAGING" /* InterfacerStaging */;
|
|
1021
1021
|
case "https://beta.interfacer.dyne.org":
|
|
1022
|
-
return "
|
|
1022
|
+
return "INTERFACER_BETA" /* InterfacerBeta */;
|
|
1023
1023
|
case "http://localhost:3000":
|
|
1024
|
-
return "
|
|
1024
|
+
return "INTERFACER_TESTING" /* InterfacerTesting */;
|
|
1025
1025
|
default:
|
|
1026
|
-
return "
|
|
1026
|
+
return "INTERFACER_SELF" /* InterfacerSelf */;
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
1029
|
};
|