@vpdev2/metakyc 1.0.70 → 1.0.71

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
@@ -363,8 +363,8 @@ class cr {
363
363
  try {
364
364
  const n = a.data, o = await lr(this.config.encryptionKey, n);
365
365
  a.data = JSON.parse(o);
366
- } catch {
367
- H.debug("Failed to decrypt response — passing through as-is");
366
+ } catch (n) {
367
+ H.debug(`Failed to decrypt response: ${(n == null ? void 0 : n.message) || n} — passing through as-is`), console.warn("[SDK-ENC] Decrypt failed:", (n == null ? void 0 : n.message) || n);
368
368
  }
369
369
  return a;
370
370
  },
@@ -7001,7 +7001,7 @@ function oe(e, t) {
7001
7001
  const r = ta.exec(a);
7002
7002
  return r ? t(r[1]) : e;
7003
7003
  }
7004
- const Yt = "1.0.69", Ni = Gt(null), ci = `metakyc-translations-${Yt}-`, ia = ({
7004
+ const Yt = "1.0.70", Ni = Gt(null), ci = `metakyc-translations-${Yt}-`, ia = ({
7005
7005
  locale: e,
7006
7006
  fetchTranslations: t,
7007
7007
  children: a