@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.js
CHANGED
|
@@ -934,19 +934,19 @@ var AuthClient = class {
|
|
|
934
934
|
}
|
|
935
935
|
// ─── Helpers ──────────────────────────────────────────────────────
|
|
936
936
|
detectTemplate() {
|
|
937
|
-
if (typeof window === "undefined") return "
|
|
937
|
+
if (typeof window === "undefined") return "INTERFACER_TESTING" /* InterfacerTesting */;
|
|
938
938
|
const origin = window.location.origin;
|
|
939
939
|
switch (origin) {
|
|
940
940
|
case "https://interfacer.dyne.org":
|
|
941
|
-
return "
|
|
941
|
+
return "INTERFACER_DEPLOYMENT" /* InterfacerDeployment */;
|
|
942
942
|
case "https://interfacer-gui-staging.dyne.org":
|
|
943
|
-
return "
|
|
943
|
+
return "INTERFACER_STAGING" /* InterfacerStaging */;
|
|
944
944
|
case "https://beta.interfacer.dyne.org":
|
|
945
|
-
return "
|
|
945
|
+
return "INTERFACER_BETA" /* InterfacerBeta */;
|
|
946
946
|
case "http://localhost:3000":
|
|
947
|
-
return "
|
|
947
|
+
return "INTERFACER_TESTING" /* InterfacerTesting */;
|
|
948
948
|
default:
|
|
949
|
-
return "
|
|
949
|
+
return "INTERFACER_SELF" /* InterfacerSelf */;
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
952
|
};
|