@machinemetrics/mm-react-tools 4.7.1-20 → 4.7.1-21

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.
@@ -22965,16 +22965,7 @@ const cl = zo.createContext(), DD = () => {
22965
22965
  }
22966
22966
  }, []), t ? /* @__PURE__ */ zt(cb, { loadError: t }) : r ? /* @__PURE__ */ zt(cb, {}) : /* @__PURE__ */ zt(Zd, {});
22967
22967
  };
22968
- console.log("[mm-react-tools] v4.7.1-20");
22969
- if (!window.__mm_location_trap) {
22970
- window.__mm_location_trap = !0;
22971
- const r = window.location.assign?.bind(window.location), e = window.location.replace?.bind(window.location);
22972
- r && (window.location.assign = function(t) {
22973
- return typeof t == "string" && t.includes("login.machinemetrics.com") && console.error("[mm-react-tools] INTERCEPTED location.assign to login:", t, new Error().stack), r(t);
22974
- }), e && (window.location.replace = function(t) {
22975
- return typeof t == "string" && t.includes("login.machinemetrics.com") && console.error("[mm-react-tools] INTERCEPTED location.replace to login:", t, new Error().stack), e(t);
22976
- });
22977
- }
22968
+ console.log("[mm-react-tools] v4.7.1-21");
22978
22969
  window.location.pathname === "/authorize/mm/popup-start" && (window.localStorage.setItem("mm-auth-popup", "true"), window.history.replaceState(null, "", "/"));
22979
22970
  function qD() {
22980
22971
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@machinemetrics/mm-react-tools",
3
- "version": "4.7.1-20",
3
+ "version": "4.7.1-21",
4
4
  "description": "Components, hooks, and helper functions for writing React apps using MachineMetrics APIs.",
5
5
  "author": "machinemetrics",
6
6
  "license": "MIT",