mainstack-payments 0.2.7 → 0.2.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.
@@ -26240,14 +26240,14 @@ const rz = "Payment Completed", az = ({
26240
26240
  d
26241
26241
  ]), cr = parseFloat(
26242
26242
  (Number((di = A == null ? void 0 : A.payload) == null ? void 0 : di.dollar_transaction_fee) + Number(za ? ni : 0)).toFixed(2)
26243
- ), $t = {
26243
+ ).toString(), $t = {
26244
26244
  ...e.metadata,
26245
26245
  phone_number: (fi = j.values) == null ? void 0 : fi.phone,
26246
26246
  reference: ae,
26247
26247
  email: j.values.email,
26248
26248
  name: (pi = j.values) == null ? void 0 : pi.fullname,
26249
26249
  country: (hi = j == null ? void 0 : j.values) == null ? void 0 : hi.country,
26250
- actual_price: Number((mi = A == null ? void 0 : A.payload) == null ? void 0 : mi.dollar_amount),
26250
+ actual_price: (mi = A == null ? void 0 : A.payload) == null ? void 0 : mi.dollar_amount.toString(),
26251
26251
  transaction_fee: cr,
26252
26252
  international_fee: Number(
26253
26253
  za ? Number(ni) : 0
@@ -2,7 +2,7 @@
2
2
  type TPaymentOption = "wallet" | "startbutton" | "stripe" | "paystack";
3
3
  type TMetadata = {
4
4
  reference?: string;
5
- actual_price?: number;
5
+ actual_price?: string;
6
6
  type: string;
7
7
  account_id: string;
8
8
  user_id: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mainstack-payments",
3
3
  "type": "module",
4
- "version": "0.2.7",
4
+ "version": "0.2.8",
5
5
  "main": "build/mainstack-payments.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "files": [