@funnelfox/payments-sdk 0.1.2-beta.4 → 0.1.2-beta.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.
package/dist/index.cjs CHANGED
@@ -175,7 +175,8 @@ var StripeProvider = class {
175
175
  subscriptionId: session.subscription_id ?? void 0,
176
176
  invoiceId: session.invoice_id ?? void 0,
177
177
  amountPaid: session.amount_total ?? void 0,
178
- currency: session.currency ?? void 0
178
+ currency: session.currency ?? void 0,
179
+ email: session.email ?? void 0
179
180
  });
180
181
  } catch {
181
182
  this.callbacks.onComplete?.({ provider: "stripe" });
package/dist/index.d.cts CHANGED
@@ -61,6 +61,7 @@ interface CheckoutCompleteEvent {
61
61
  invoiceId?: string;
62
62
  amountPaid?: number;
63
63
  currency?: string;
64
+ email?: string;
64
65
  }
65
66
  interface CheckoutErrorEvent {
66
67
  provider: ProviderName;
package/dist/index.d.ts CHANGED
@@ -61,6 +61,7 @@ interface CheckoutCompleteEvent {
61
61
  invoiceId?: string;
62
62
  amountPaid?: number;
63
63
  currency?: string;
64
+ email?: string;
64
65
  }
65
66
  interface CheckoutErrorEvent {
66
67
  provider: ProviderName;
package/dist/index.js CHANGED
@@ -148,7 +148,8 @@ var StripeProvider = class {
148
148
  subscriptionId: session.subscription_id ?? void 0,
149
149
  invoiceId: session.invoice_id ?? void 0,
150
150
  amountPaid: session.amount_total ?? void 0,
151
- currency: session.currency ?? void 0
151
+ currency: session.currency ?? void 0,
152
+ email: session.email ?? void 0
152
153
  });
153
154
  } catch {
154
155
  this.callbacks.onComplete?.({ provider: "stripe" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funnelfox/payments-sdk",
3
- "version": "0.1.2-beta.4",
3
+ "version": "0.1.2-beta.5",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",