@getcredify/credify-insurance-widget 1.13.4 → 1.13.7

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.
@@ -14,7 +14,7 @@
14
14
  overflow: hidden;
15
15
  }
16
16
  </style>
17
- <script type="module" crossorigin src="/iframe/assets/iframe-oNlz8aW7.js"></script>
17
+ <script type="module" crossorigin src="/iframe/assets/iframe-DA2wrr0q.js"></script>
18
18
  <link rel="stylesheet" crossorigin href="/iframe/assets/iframe-LkMegdkw.css">
19
19
  </head>
20
20
  <body>
package/dist/index.es.js CHANGED
@@ -7567,8 +7567,8 @@ function jd({
7567
7567
  }) {
7568
7568
  const i = Zn[r] ?? Zn.Auto, a = e.length > 0 ? Wd : t, [s, c] = oe(0), [l, d] = oe(0), [f, y] = oe(0), [p, v] = oe(0), [h, Y] = oe(!0), z = fe(n), K = fe(o), V = fe(s), G = fe(e.length), L = fe(!1), X = fe(!1);
7569
7569
  ae(() => {
7570
- z.current = n;
7571
- }, [n]), ae(() => {
7570
+ z.current = n, n && e.length === 0 && !L.current && (L.current = !0, K.current?.());
7571
+ }, [n, e.length]), ae(() => {
7572
7572
  K.current = o;
7573
7573
  }, [o]), ae(() => {
7574
7574
  V.current = s;