@soltech/fluid-common 1.10.0-beta.0 → 1.10.0-sc23269.1

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/lib/index.d.ts CHANGED
@@ -263,13 +263,15 @@ export interface DynamicTransactionParams extends TransactionParams {
263
263
  export interface ApplePayTransactionParams extends TransactionParams {
264
264
  /** The authorised `ApplePayPaymentToken`, serialised, opaque to everything but the gateway. */
265
265
  token: string;
266
- billingContact?: ApplePayBillingContact;
266
+ billingContact?: ApplePayContact;
267
+ /** Apple returns the payer's email here, not on the billing contact. */
268
+ shippingContact?: ApplePayContact;
267
269
  }
268
270
  /**
269
271
  * Apple's own `ApplePayPaymentContact` shape, carried through unchanged: a gateway that wants
270
272
  * it expects the field names Apple uses. Only present when the method asks the sheet for it.
271
273
  */
272
- export interface ApplePayBillingContact {
274
+ export interface ApplePayContact {
273
275
  addressLines?: string[];
274
276
  administrativeArea?: string;
275
277
  country?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.10.0-beta.0",
3
+ "version": "1.10.0-sc23269.1",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -305,14 +305,16 @@ export interface DynamicTransactionParams extends TransactionParams {
305
305
  export interface ApplePayTransactionParams extends TransactionParams {
306
306
  /** The authorised `ApplePayPaymentToken`, serialised, opaque to everything but the gateway. */
307
307
  token: string;
308
- billingContact?: ApplePayBillingContact;
308
+ billingContact?: ApplePayContact;
309
+ /** Apple returns the payer's email here, not on the billing contact. */
310
+ shippingContact?: ApplePayContact;
309
311
  }
310
312
 
311
313
  /**
312
314
  * Apple's own `ApplePayPaymentContact` shape, carried through unchanged: a gateway that wants
313
315
  * it expects the field names Apple uses. Only present when the method asks the sheet for it.
314
316
  */
315
- export interface ApplePayBillingContact {
317
+ export interface ApplePayContact {
316
318
  addressLines?: string[];
317
319
  administrativeArea?: string;
318
320
  country?: string;