moyasar-payment-form 2.2.6 → 2.2.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,6 +1,6 @@
1
1
  /**
2
2
  * name: moyasar-payment-form
3
- * version: v2.2.6
3
+ * version: v2.2.7
4
4
  * description: Moyasar payment form utilities
5
5
  * author: Jan Jagieła - Railwaymen Team
6
6
  * homepage: https://docs.moyasar.com
package/dist/moyasar.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: moyasar-payment-form
3
- * version: v2.2.6
3
+ * version: v2.2.7
4
4
  * description: Moyasar payment form utilities
5
5
  * author: Jan Jagieła - Railwaymen Team
6
6
  * homepage: https://docs.moyasar.com
package/dist/moyasar.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: moyasar-payment-form
3
- * version: v2.2.6
3
+ * version: v2.2.7
4
4
  * description: Moyasar payment form utilities
5
5
  * author: Jan Jagieła - Railwaymen Team
6
6
  * homepage: https://docs.moyasar.com
@@ -319,7 +319,7 @@ function p(A, t, e, n, r, a) {
319
319
  if (typeof A == "function" && (o = A.defaultProps)) for (l in o) i[l] === void 0 && (i[l] = o[l]);
320
320
  return B.vnode && B.vnode(s), s;
321
321
  }
322
- const st = "2.2.6", x = lt({});
322
+ const st = "2.2.7", x = lt({});
323
323
  var cA, I, WA, wt, hA = 0, re = [], z = B, bt = z.__b, Ct = z.__r, Dt = z.diffed, Mt = z.__c, kt = z.unmount, Bt = z.__;
324
324
  function _A(A, t) {
325
325
  z.__h && z.__h(I, A, hA || t), hA = 0;
@@ -1773,7 +1773,9 @@ const yn = () => {
1773
1773
  const f = (n == null ? void 0 : n.label) || (r == null ? void 0 : r.label), y = {
1774
1774
  countryCode: (n == null ? void 0 : n.country) || (r == null ? void 0 : r.country),
1775
1775
  currencyCode: a,
1776
- supportedNetworks: o,
1776
+ supportedNetworks: o.map(
1777
+ (d) => ({ mastercard: "masterCard", unionpay: "chinaUnionPay" })[d] || d
1778
+ ),
1777
1779
  merchantCapabilities: n.merchant_capabilities,
1778
1780
  total: {
1779
1781
  label: f,