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

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.
@@ -22947,7 +22947,7 @@ const cl = zo.createContext(), DD = () => {
22947
22947
  padding-top: 200px;
22948
22948
  `, cb = ({ loadError: r }) => {
22949
22949
  const e = UM(), t = $M();
22950
- if (r && (!e || e.indexOf("mm-embedded-login") === -1))
22950
+ if (console.log("[mm-react-tools] Authorized:", { isPopup: t, dest: e, hasOpener: !!window.opener, rawFlag: window.localStorage.getItem("mm-auth-popup") }), r && (!e || e.indexOf("mm-embedded-login") === -1))
22951
22951
  return t && f0(), /* @__PURE__ */ zt(ub, { children: r });
22952
22952
  if (t) {
22953
22953
  f0(), qd();
@@ -22965,7 +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-21");
22968
+ console.log("[mm-react-tools] v4.7.1-22");
22969
22969
  window.location.pathname === "/authorize/mm/popup-start" && (window.localStorage.setItem("mm-auth-popup", "true"), window.history.replaceState(null, "", "/"));
22970
22970
  function qD() {
22971
22971
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@machinemetrics/mm-react-tools",
3
- "version": "4.7.1-21",
3
+ "version": "4.7.1-22",
4
4
  "description": "Components, hooks, and helper functions for writing React apps using MachineMetrics APIs.",
5
5
  "author": "machinemetrics",
6
6
  "license": "MIT",