@hook-sdk/template 0.23.1 → 0.23.3
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 +1 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -17
- package/dist/index.d.ts +18 -17
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2189,12 +2189,10 @@ function I18nProvider({
|
|
|
2189
2189
|
}
|
|
2190
2190
|
|
|
2191
2191
|
// src/dev/env.ts
|
|
2192
|
-
var import_meta = {};
|
|
2193
2192
|
function isDevToolsEnabled() {
|
|
2194
|
-
if (import_meta.env.VITE_HOOK_DEV_TOOLS !== "1") return false;
|
|
2195
2193
|
if (typeof window === "undefined") return false;
|
|
2196
2194
|
const host = window.location.hostname;
|
|
2197
|
-
return host.includes("
|
|
2195
|
+
return host.includes("staging.usehook.net") || host === "localhost" || host === "127.0.0.1";
|
|
2198
2196
|
}
|
|
2199
2197
|
|
|
2200
2198
|
// src/dev/DevSkipOnboardingFab.tsx
|