@vpdev2/metakyc 1.0.81 → 1.0.82

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/index.js CHANGED
@@ -7155,7 +7155,7 @@ function ie(e, t) {
7155
7155
  const r = Jr.exec(a);
7156
7156
  return r ? t(r[1]) : e;
7157
7157
  }
7158
- const Yt = "1.0.81", Ri = Gt(null), di = `metakyc-translations-${Yt}-`, ea = ({
7158
+ const Yt = "1.0.82", Ri = Gt(null), di = `metakyc-translations-${Yt}-`, ea = ({
7159
7159
  locale: e,
7160
7160
  fetchTranslations: t,
7161
7161
  children: a
@@ -14066,7 +14066,12 @@ const sn = ({
14066
14066
  ]
14067
14067
  }
14068
14068
  ), pn = () => {
14069
- const { locale: e, setLocale: t, currentTheme: a } = Se(), [r, n] = T(!1), o = pe(null), l = Object.keys(Pt), d = a != null && a.allowedLanguages && a.allowedLanguages.length > 0 ? l.filter((m) => a.allowedLanguages.includes(m)) : l;
14069
+ const { locale: e, setLocale: t, currentTheme: a } = Se(), [r, n] = T(!1), o = pe(null), l = Object.keys(Pt), d = a != null && a.allowedLanguages && a.allowedLanguages.length > 0 ? l.filter((m) => {
14070
+ const g = m.toUpperCase();
14071
+ return a.allowedLanguages.some(
14072
+ (y) => y.toUpperCase() === g
14073
+ );
14074
+ }) : l;
14070
14075
  fe(() => {
14071
14076
  const m = (g) => {
14072
14077
  o.current && !o.current.contains(g.target) && n(!1);