@miden-npm/vue 2.0.5 → 2.0.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.
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -43,7 +43,7 @@ function _0(n) {
|
|
|
43
43
|
...n
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
const We = (n, e) => n === "sandbox" ? e === "buzapay" ? "https://sandbox-api.buzapay.com/payment-gateway-api" : "https://sandbox-api.midencards.io/miden-web" : n === "prod" ? e === "buzapay" ? "https://
|
|
46
|
+
const We = (n, e) => n === "sandbox" ? e === "buzapay" ? "https://sandbox-api.buzapay.com/payment-gateway-api" : "https://sandbox-api.midencards.io/miden-web" : n === "prod" ? e === "buzapay" ? "https://api.buzapay.com/payment-gateway-api" : "https://sandbox-api.midencards.io/miden-web" : "", $0 = (n) => n === "USD" ? "$" : n === "NGN" ? "₦" : n === "EUR" ? "€" : n === "GBP" ? "£" : n === "JPY" || n === "CNY" ? "¥" : n === "USDC" || n === "usdc" ? "$⧫" : n === "USDT" || n === "usdt" ? "₮" : "$", be = (n, e) => {
|
|
47
47
|
const A = typeof n == "string" ? parseFloat(n) : n;
|
|
48
48
|
return isNaN(A) ? "0" : `${e ? $0(e) : ""}${A == null ? void 0 : A.toLocaleString(
|
|
49
49
|
"en-US"
|
|
@@ -9524,7 +9524,7 @@ const dr = {
|
|
|
9524
9524
|
}
|
|
9525
9525
|
(eA = H.transactionReference) != null && eA.trim() && ((CA = e.onPaymentAuthorized) == null || CA.call(e, {
|
|
9526
9526
|
paymentId: H.transactionReference,
|
|
9527
|
-
paymentDate: (je = H == null ? void 0 : H.data) == null ? void 0 : je.updatedAt,
|
|
9527
|
+
paymentDate: ((je = H == null ? void 0 : H.data) == null ? void 0 : je.updatedAt) ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
9528
9528
|
paymentStatus: "authorized",
|
|
9529
9529
|
message: a.value
|
|
9530
9530
|
})), a.value = "Card payment authorized successfully", r.value = !1;
|