moyasar-payment-form 2.2.2 → 2.2.4

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.2
3
+ * version: v2.2.4
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.2
3
+ * version: v2.2.4
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.2
3
+ * version: v2.2.4
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.2", q = lt({});
322
+ const st = "2.2.4", q = 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;
@@ -1471,7 +1471,14 @@ const hn = () => {
1471
1471
  const r = (o) => {
1472
1472
  if (typeof o != "object" || !e)
1473
1473
  return;
1474
- const l = ["callback_url", "description", "metadata", "amount", "splits"];
1474
+ const l = [
1475
+ "callback_url",
1476
+ "description",
1477
+ "metadata",
1478
+ "amount",
1479
+ "splits",
1480
+ "publishable_api_key"
1481
+ ];
1475
1482
  for (const i in o)
1476
1483
  if (!l.includes(i))
1477
1484
  throw new Error(`Changing ${i} is not allowed!`);