@hook-sdk/template 0.22.1 → 0.23.1
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 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -4
- package/dist/index.d.ts +12 -4
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2191,8 +2191,7 @@ function I18nProvider({
|
|
|
2191
2191
|
// src/dev/env.ts
|
|
2192
2192
|
var import_meta = {};
|
|
2193
2193
|
function isDevToolsEnabled() {
|
|
2194
|
-
|
|
2195
|
-
if (meta.env?.VITE_HOOK_DEV_TOOLS !== "1") return false;
|
|
2194
|
+
if (import_meta.env.VITE_HOOK_DEV_TOOLS !== "1") return false;
|
|
2196
2195
|
if (typeof window === "undefined") return false;
|
|
2197
2196
|
const host = window.location.hostname;
|
|
2198
2197
|
return host.includes(".staging.") || host === "localhost" || host === "127.0.0.1";
|