@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 CHANGED
@@ -2191,8 +2191,7 @@ function I18nProvider({
2191
2191
  // src/dev/env.ts
2192
2192
  var import_meta = {};
2193
2193
  function isDevToolsEnabled() {
2194
- const meta = import_meta;
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";