mainstack-payments 2.0.4 → 2.0.5

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,4 +1,4 @@
1
- import { c as e, d as t, S as n, M as y, e as P, P as m, f as o, g as r, W as u, h as i, b as c, i as l, j as d, k, u as C, a as M, l as h, m as F } from "./index-OyliAwvi.js";
1
+ import { c as e, d as t, S as n, M as y, e as P, P as m, f as o, g as r, W as u, h as i, b as c, i as l, j as d, k, u as C, a as M, l as h, m as F } from "./index-BUQq9lgH.js";
2
2
  export {
3
3
  e as CheckoutForm,
4
4
  t as ContactForm,
@@ -216,11 +216,12 @@ export interface IInitPaymentResponse {
216
216
  merchantId: string;
217
217
  userId: string;
218
218
  customer: IOrderCustomer;
219
+ currency: string;
219
220
  items: IOrderItem[];
220
- subtotal: IOrderAmount;
221
+ subtotal: number;
221
222
  fees: IOrderFee[];
222
- totalFeeAmount: IOrderAmount;
223
- totalAmount: IOrderAmount;
223
+ totalFeeAmount: number;
224
+ totalAmount: number;
224
225
  status: string;
225
226
  metadata: Record<string, any>;
226
227
  isDeleted: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mainstack-payments",
3
3
  "type": "module",
4
- "version": "2.0.4",
4
+ "version": "2.0.5",
5
5
  "main": "build/mainstack-payments.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "style": "build/index.css",