@invoice-sdk/widget 1.125.5 → 1.125.6
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-y1eL1SGs.js → index-B-BBjk-B.js} +2 -2
- package/dist/{index-74nzrhoT.js → index-DdUmVLMz.js} +11 -11
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +44 -44
- package/dist/{loading-BpLx_dUc.js → loading-Bs5_HNGV.js} +5 -5
- package/dist/{widget-D7cNG7N-.js → widget-C6HS2YfL.js} +1048 -1063
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as g,
|
|
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-DdUmVLMz.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),
|
|
79
|
+
const k = (e) => new Intl.NumberFormat("vi-VN").format(e), _ = "1.125.6";
|
|
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":
|
|
146
|
+
"X-Invoice-Widget-Version": _
|
|
147
147
|
}
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
async function W(e) {
|
|
151
|
-
return await n.get(`${
|
|
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
|
|
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}`);
|