@miden-npm/vue 0.0.7 → 0.0.8

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.es.js CHANGED
@@ -22,7 +22,7 @@ const nt = (i) => i == null || typeof i != "object" ? !1 : Object.values(i).ever
22
22
  return new URL(i).searchParams.forEach((r, a) => {
23
23
  e[a] = r;
24
24
  }), e;
25
- }, Ve = (i) => i === "sandbox" ? "https://sandbox-api.midencards.io/payment-gateway-core-api" : "", Hr = (i) => i === "USD" ? "$" : i === "NGN" ? "₦" : i === "EUR" ? "€" : i === "GBP" ? "£" : i === "JPY" || i === "CNY" ? "¥" : i === "USDC" || i === "usdc" ? "$⧫" : i === "USDT" || i === "usdt" ? "₮" : "$", je = (i, e) => {
25
+ }, Ve = (i) => i === "sandbox" ? "https://sandbox-api.midencards.io/payment-gateway-api" : "", Hr = (i) => i === "USD" ? "$" : i === "NGN" ? "₦" : i === "EUR" ? "€" : i === "GBP" ? "£" : i === "JPY" || i === "CNY" ? "¥" : i === "USDC" || i === "usdc" ? "$⧫" : i === "USDT" || i === "usdt" ? "₮" : "$", je = (i, e) => {
26
26
  const t = typeof i == "string" ? parseFloat(i) : i;
27
27
  return isNaN(t) ? "0" : `${e ? Hr(e) : ""} ${t == null ? void 0 : t.toLocaleString(
28
28
  "en-US"
@@ -343,7 +343,7 @@ async function fa(i, { merchantId: e, ...t }) {
343
343
  try {
344
344
  const r = Ve(i);
345
345
  return await (await fetch(
346
- `${r}/api/v1/checkout/authorize-card-3ds-payment`,
346
+ `${r}/api/v1/checkout/authorize-card-3ds-payment-sdk`,
347
347
  {
348
348
  method: "POST",
349
349
  headers: {