@use-glyph/sdk-react 1.2.8 → 1.2.10
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/glyph-widget.umd.js +6 -6
- package/dist/glyph-widget.umd.js.map +1 -1
- package/dist/index.js +4 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10217,32 +10217,26 @@ function Lu() {
|
|
|
10217
10217
|
const F = Pe(
|
|
10218
10218
|
(H) => {
|
|
10219
10219
|
const G = typeof H == "string" ? H : H(c);
|
|
10220
|
-
if (u(G), Number(G) < p) {
|
|
10220
|
+
if (u(G), G && Number(G) < p) {
|
|
10221
10221
|
b(
|
|
10222
10222
|
`Minimum funding amount for your location is ${et(p, f)}.`
|
|
10223
10223
|
);
|
|
10224
10224
|
return;
|
|
10225
10225
|
}
|
|
10226
|
-
if (Number(G) > C) {
|
|
10226
|
+
if (G && Number(G) > C) {
|
|
10227
10227
|
b(
|
|
10228
10228
|
`Maximum funding amount for your location is ${et(C, f)}.`
|
|
10229
10229
|
);
|
|
10230
10230
|
return;
|
|
10231
10231
|
}
|
|
10232
|
-
z(null),
|
|
10232
|
+
z(null), B(!1), U(!1), x("STARTED"), L(0), k(!1), V(null), b(null);
|
|
10233
10233
|
},
|
|
10234
10234
|
[c, p, C, f]
|
|
10235
10235
|
), Z = nt(
|
|
10236
10236
|
() => a3(1500, async (H) => {
|
|
10237
10237
|
try {
|
|
10238
10238
|
k(!0);
|
|
10239
|
-
const G = await i(
|
|
10240
|
-
H,
|
|
10241
|
-
f,
|
|
10242
|
-
e.country,
|
|
10243
|
-
e?.subdivision,
|
|
10244
|
-
!0
|
|
10245
|
-
);
|
|
10239
|
+
const G = await i(H, f, e.country, e?.subdivision, !0);
|
|
10246
10240
|
if (!G.ok) throw new Error(G?.error || "Could not fetch the quote");
|
|
10247
10241
|
V(null), z(G.quote);
|
|
10248
10242
|
} catch (G) {
|