@astropay/payments-lib 2.0.6 → 2.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.
@@ -1,4 +1,4 @@
1
- import { p as x, V as z, W as H, w as O, X as W, Y as v, Z as X, O as Y, M as Z } from "./main-Dl49yQXp.js";
1
+ import { p as x, V as z, W as H, w as O, X as W, Y as v, Z as X, O as Y, M as Z } from "./main-QOFSdpoZ.js";
2
2
  function q(e) {
3
3
  let t = 0;
4
4
  for (const o of e)
@@ -1,4 +1,4 @@
1
- import { s as A, C, b as ft, i as Y, g as V, N as h, P as X, S as pt, a as B, c as ht, d as mt, e as St, f as q, r as gt, h as Et, j as yt, k as Tt, l as j, m as J, t as _, n as x, o as M, p as K, q as N, u as Q, v as Z, w as Nt, x as vt, y as b, z as D, A as R, B as wt, D as Mt, E as It, F as Rt, G as Ct, H as bt, I as _t, J as Lt, K as Dt, L as xt, M as Ot, O as At, Q as Vt, R as Pt, T as kt, U as zt } from "./main-Dl49yQXp.js";
1
+ import { s as A, C, b as ft, i as Y, g as V, N as h, P as X, S as pt, a as B, c as ht, d as mt, e as St, f as q, r as gt, h as Et, j as yt, k as Tt, l as j, m as J, t as _, n as x, o as M, p as K, q as N, u as Q, v as Z, w as Nt, x as vt, y as b, z as D, A as R, B as wt, D as Mt, E as It, F as Rt, G as Ct, H as bt, I as _t, J as Lt, K as Dt, L as xt, M as Ot, O as At, Q as Vt, R as Pt, T as kt, U as zt } from "./main-QOFSdpoZ.js";
2
2
  const P = /* @__PURE__ */ new WeakMap();
3
3
  function T(t) {
4
4
  return P.has(t);
@@ -205,8 +205,8 @@ type APFullCheckout = {
205
205
  showTitle?: boolean;
206
206
  showDescription?: boolean;
207
207
  cardConfig?: {
208
- showPaymentSummary?: boolean;
209
- expirationDateFormat?: 'MM/YYYY' | 'MM/YY';
208
+ showPaymentSummary?: boolean | undefined;
209
+ expirationDateFormat?: 'MM/YYYY' | 'MM/YY' | undefined;
210
210
  } | undefined;
211
211
  user?: {
212
212
  phoneNumber?: string;
@@ -254,6 +254,7 @@ type APPayment = {
254
254
  amount: number;
255
255
  currency: string;
256
256
  country: string;
257
+ paymentExternalId?: string;
257
258
  user?: {
258
259
  phoneNumber?: string;
259
260
  email?: string;
@@ -300,6 +301,7 @@ type APCardPayment = {
300
301
  amount: number;
301
302
  currency: string;
302
303
  country: string;
304
+ paymentExternalId?: string;
303
305
  showPaymentSummary?: boolean | undefined;
304
306
  expirationDateFormat?: 'MM/YYYY' | 'MM/YY' | undefined;
305
307
  order?: {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.6",
2
+ "version": "2.0.8",
3
3
  "type": "module",
4
4
  "name": "@astropay/payments-lib",
5
5
  "description": "Official AstroPay payments library for web and mobile.",