@invoice-sdk/widget 1.67.8 → 1.67.9

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.
@@ -67,7 +67,7 @@ var V = (A, g, B) => new Promise((C, Q) => {
67
67
  throw I;
68
68
  }, "return" in g && C("return"), Q;
69
69
  }, SB = (A, g, B) => (g = A[mg("asyncIterator")]) ? g.call(A) : (A = A[mg("iterator")](), g = {}, B = (C, Q) => (Q = A[C]) && (g[C] = (I) => new Promise((E, n, t) => (I = Q.call(A, I), t = I.done, Promise.resolve(I.value).then((c) => E({ value: c, done: t }), n)))), B("next"), B("return"), g);
70
- import { t as u, g as KC, a as SC, b as Ag, c as RI, m as xI, d as GI, f as zI, v as XI, r as yQ, u as jQ } from "./index-DhbRHX-w.js";
70
+ import { t as u, g as KC, a as SC, b as Ag, c as RI, m as xI, d as GI, f as zI, v as XI, r as yQ, u as jQ } from "./index-CbM5GQGt.js";
71
71
  import { g as bQ } from "./_commonjsHelpers-bAxELxBV.js";
72
72
  function UB({ steps: A = [], currentStep: g = 1 } = {}) {
73
73
  const B = document.createElement("div");
@@ -707,7 +707,9 @@ function yI(A) {
707
707
  return A === "shb" ? "#F58220" : A === "bvb" ? "#1e2a7b" : A === "ocb" ? "#008c44" : "#F58220";
708
708
  }
709
709
  function Xg(A) {
710
- return /^[\p{Lu}][\p{Ll}]+(?: [\p{Lu}][\p{Ll}]+)*$/u.test(A.trim());
710
+ if (/^\s|\s$/.test(A) || /\s{2,}/.test(A) || A.split(" ").length < 2) return !1;
711
+ const g = String.raw`\p{Lu}(?:\p{Ll}+|[’']\p{Lu}\p{Ll}+)(?:[’'-]\p{Lu}\p{Ll}+)*`, B = String.raw`\p{Lu}`, C = String.raw`(?:${B}|${g})`;
712
+ return new RegExp(`^${C}(?: ${C})+$`, "u").test(A);
711
713
  }
712
714
  function ZB({
713
715
  file: A,
@@ -4546,7 +4548,7 @@ function wQ({
4546
4548
  }
4547
4549
  };
4548
4550
  }
4549
- const Et = "1.67.8";
4551
+ const Et = "1.67.9";
4550
4552
  function nt(B) {
4551
4553
  return V(this, arguments, function* ({ search: A, bank: g }) {
4552
4554
  return (yield NA.get(`${Zg}`, {
package/package.json CHANGED
@@ -46,7 +46,7 @@
46
46
  "prepare": "npm run build"
47
47
  },
48
48
  "type": "module",
49
- "version": "1.67.8",
49
+ "version": "1.67.9",
50
50
  "repository": {},
51
51
  "dependencies": {
52
52
  "@invoice-sdk/id_extraction_qr": "^1.1.2",