@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.
- package/dist/mm-react-tools.es.js +1 -10
- package/package.json +1 -1
|
@@ -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-
|
|
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