@machinemetrics/mm-react-tools 4.7.1-3 → 4.7.1-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.
@@ -22961,8 +22961,9 @@ const ll = zo.createContext(), DD = () => {
22961
22961
  const r = LS.parse(window.location.search);
22962
22962
  return jd(r.mm_auth_state), $d(!0), window.location = r.mm_login_url, /* @__PURE__ */ zt(Bc, {});
22963
22963
  };
22964
+ console.log("[mm-react-tools] v4.7.1-5 loaded, hostname:", window.location.hostname, "inIframe:", window !== window.top);
22964
22965
  function UD() {
22965
- return window === window.top ? !1 : !window.location.hostname.endsWith("machinemetrics.com");
22966
+ return window !== window.top && !window.location.hostname.endsWith("machinemetrics.com");
22966
22967
  }
22967
22968
  const ho = {
22968
22969
  production: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@machinemetrics/mm-react-tools",
3
- "version": "4.7.1-3",
3
+ "version": "4.7.1-5",
4
4
  "description": "Components, hooks, and helper functions for writing React apps using MachineMetrics APIs.",
5
5
  "author": "machinemetrics",
6
6
  "license": "MIT",