@myxtra/authentication-green 1.12.4 → 1.12.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.
@@ -1,4 +1,4 @@
1
- import { r as d, j as n, u as bt, g as wt, a as H, b as Qe, P as Se, c as jt, E as St } from "./index-a36d0e63.mjs";
1
+ import { r as d, j as n, u as bt, g as wt, a as H, b as Qe, P as Se, c as jt, E as St } from "./index-9525ddce.mjs";
2
2
  class V {
3
3
  constructor() {
4
4
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -527,7 +527,11 @@ var Fd = Object.defineProperty, jd = Object.defineProperties, Md = Object.getOwn
527
527
  }, Nm = () => {
528
528
  const [e, t] = x.useState("");
529
529
  return x.useEffect(() => {
530
- window.getQueryStringInfo && t(window.getQueryStringInfo());
530
+ if (window.getQueryStringInfo)
531
+ try {
532
+ t(window.getQueryStringInfo());
533
+ } catch {
534
+ }
531
535
  }, []), e;
532
536
  }, eg = /* @__PURE__ */ ((e) => (e.Mobile = "mobile", e.Fixed = "fixed", e))(eg || {}), tg = {
533
537
  missingMandatoryData: [],
@@ -6936,7 +6940,10 @@ class Ir extends Vr {
6936
6940
  }
6937
6941
  const s = i.postProcess || this.options.postProcess, u = typeof s == "string" ? [s] : s;
6938
6942
  return t != null && u && u.length && i.applyPostProcessor !== !1 && (t = $c.handle(u, t, n, this.options && this.options.postProcessPassResolved ? {
6939
- i18nResolved: r,
6943
+ i18nResolved: {
6944
+ ...r,
6945
+ usedParams: this.getUsedParamsDetails(i)
6946
+ },
6940
6947
  ...i
6941
6948
  } : i, this)), t;
6942
6949
  }
@@ -8385,7 +8392,7 @@ class Lm extends HTMLElement {
8385
8392
  async connectedCallback() {
8386
8393
  const t = this.attachShadow({ mode: "open" });
8387
8394
  Wm(t);
8388
- const n = Pc(t), i = (await import("./App-2bbbfa80.mjs")).default;
8395
+ const n = Pc(t), i = (await import("./App-b27a4d1a.mjs")).default;
8389
8396
  n.render(
8390
8397
  /* @__PURE__ */ Mn.jsx(
8391
8398
  i,
@@ -1,4 +1,4 @@
1
- import { d as e } from "./index-a36d0e63.mjs";
1
+ import { d as e } from "./index-9525ddce.mjs";
2
2
  export {
3
3
  e as default
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myxtra/authentication-green",
3
- "version": "1.12.4",
3
+ "version": "1.12.5",
4
4
  "main": "./dist/xtra-authentication.mjs",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -20,8 +20,8 @@
20
20
  "typecheck": "tsc --noEmit"
21
21
  },
22
22
  "dependencies": {
23
- "@myxtra/shared": "1.12.1",
24
- "@myxtra/ui-react": "1.12.1",
23
+ "@myxtra/shared": "1.12.2",
24
+ "@myxtra/ui-react": "1.12.2",
25
25
  "@tanstack/react-query": "^4.36.1",
26
26
  "clsx": "^2.0.0",
27
27
  "i18next": "^23.6.0",