@invoice-sdk/widget 1.125.5 → 1.125.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.
@@ -1,4 +1,4 @@
1
- import { k as g, i as p, l as d, G as l, C as w, n as m, p as f, q as E, I as R, r as y, S as C, u as I, d as T, w as v, x as i, y as h, O } from "./index-74nzrhoT.js";
1
+ import { k as g, g as p, l as d, G as l, C as w, n as m, p as f, q as E, I as R, r as y, S as C, u as I, e as T, w as v, x as i, y as h, O as S } from "./index-D2UYWZ2l.js";
2
2
  function b({
3
3
  title: e,
4
4
  isDisabled: t = !1,
@@ -76,7 +76,7 @@ async function x(e, t) {
76
76
  async function $() {
77
77
  return await n.get(l);
78
78
  }
79
- const k = (e) => new Intl.NumberFormat("vi-VN").format(e), S = "1.125.5";
79
+ const k = (e) => new Intl.NumberFormat("vi-VN").format(e), _ = "1.125.7";
80
80
  async function A({ search: e, bank: t, provider: r }) {
81
81
  return (await n.get(`${i}`, {
82
82
  params: {
@@ -143,12 +143,12 @@ async function G(e) {
143
143
  headers: {
144
144
  "Content-Type": "multipart/form-data",
145
145
  "X-Invoice-Widget-Mode": T(),
146
- "X-Invoice-Widget-Version": S
146
+ "X-Invoice-Widget-Version": _
147
147
  }
148
148
  });
149
149
  }
150
150
  async function W(e) {
151
- return await n.get(`${O}/${e}/status`);
151
+ return await n.get(`${S}/${e}/status`);
152
152
  }
153
153
  async function F({
154
154
  isRenewable: e,
@@ -160,7 +160,7 @@ async function F({
160
160
  serialNumber: (t ?? "").trim(),
161
161
  provider: r
162
162
  };
163
- return console.log("PROMO params:", s), (await n.get(v, { params: s })).data;
163
+ return (await n.get(v, { params: s })).data;
164
164
  }
165
165
  async function V(e) {
166
166
  return await n.post(`${h}/${e}`);