@invoice-sdk/widget 1.45.0 → 1.47.0

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.
@@ -2362,7 +2362,7 @@ let ce = null, le = null;
2362
2362
  function yc(o) {
2363
2363
  return se(this, null, function* () {
2364
2364
  if (o.mode && Ze(o.mode), o.language && et(o.language), !le) {
2365
- const { InvoiceRegisterWidget: n } = yield import("./widget-C6l0mR-x.js");
2365
+ const { InvoiceRegisterWidget: n } = yield import("./widget-D2rrtQkV.js");
2366
2366
  le = n;
2367
2367
  }
2368
2368
  const e = typeof o.selector == "string" ? document.querySelector(o.selector) : o.selector;
@@ -2374,6 +2374,8 @@ function yc(o) {
2374
2374
  return le(
2375
2375
  e,
2376
2376
  t,
2377
+ o.onShowPolicy || (() => {
2378
+ }),
2377
2379
  o.data || {},
2378
2380
  o.theme
2379
2381
  ), { destroy: t };
@@ -2382,7 +2384,7 @@ function yc(o) {
2382
2384
  function vc(o) {
2383
2385
  return se(this, null, function* () {
2384
2386
  if (o.mode && Ze(o.mode), o.language && et(o.language), !ce) {
2385
- const { EContractWidget: n } = yield import("./widget-C6l0mR-x.js");
2387
+ const { EContractWidget: n } = yield import("./widget-D2rrtQkV.js");
2386
2388
  ce = n;
2387
2389
  }
2388
2390
  const e = typeof o.selector == "string" ? document.querySelector(o.selector) : o.selector;
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i, a, r as s, s as r, u as g } from "./index-D6cmmwl-.js";
1
+ import { i, a, r as s, s as r, u as g } from "./index-DAYIIzWc.js";
2
2
  export {
3
3
  i as init,
4
4
  a as initEContract,