@machinemetrics/mm-react-tools 4.8.0-3 → 4.8.0-4

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.
@@ -22985,7 +22985,7 @@ const qD = () => {
22985
22985
  if (t) {
22986
22986
  h0(), qd();
22987
22987
  const n = jx();
22988
- return window.opener && window.opener.postMessage({ type: "mm_auth_complete", accessToken: n }, "*"), window.close(), /* @__PURE__ */ zt(cb, { children: "Login complete. This window will close." });
22988
+ return window.opener && window.opener.postMessage({ type: "mm_auth_complete", accessToken: n }, window.location.origin), window.close(), /* @__PURE__ */ zt(cb, { children: "Login complete. This window will close." });
22989
22989
  }
22990
22990
  return qd(), /* @__PURE__ */ zt(EI, { replace: !0, to: e || "/" });
22991
22991
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@machinemetrics/mm-react-tools",
3
- "version": "4.8.0-3",
3
+ "version": "4.8.0-4",
4
4
  "description": "Components, hooks, and helper functions for writing React apps using MachineMetrics APIs.",
5
5
  "author": "machinemetrics",
6
6
  "license": "MIT",