@stripe/stripe-js 1.52.1 → 1.53.0
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/pure.esm.js
CHANGED
package/dist/pure.js
CHANGED
package/dist/stripe.esm.js
CHANGED
package/dist/stripe.js
CHANGED
package/package.json
CHANGED
|
@@ -236,14 +236,11 @@ export type ShippingRate = {
|
|
|
236
236
|
};
|
|
237
237
|
};
|
|
238
238
|
|
|
239
|
-
export type
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
|
243
|
-
|
|
244
|
-
type: LayoutType;
|
|
245
|
-
visibleButtonCount?: number;
|
|
246
|
-
};
|
|
239
|
+
export type LayoutOption = {
|
|
240
|
+
maxColumns?: number;
|
|
241
|
+
maxRows?: number;
|
|
242
|
+
overflow?: 'auto' | 'never';
|
|
243
|
+
};
|
|
247
244
|
|
|
248
245
|
export type ExpressCheckoutWalletOption = 'always' | 'auto' | 'never';
|
|
249
246
|
|
|
@@ -55,7 +55,12 @@ export interface StripePaymentMethodMessagingElementOptions {
|
|
|
55
55
|
/**
|
|
56
56
|
* Payment methods to show messaging for.
|
|
57
57
|
*/
|
|
58
|
-
|
|
58
|
+
paymentMethodTypes: Array<'afterpay_clearpay' | 'klarna' | 'affirm'>;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @deprecated Use `paymentMethodTypes` instead.
|
|
62
|
+
*/
|
|
63
|
+
paymentMethods?: Array<'afterpay_clearpay' | 'klarna' | 'affirm'>;
|
|
59
64
|
|
|
60
65
|
/**
|
|
61
66
|
* The country the end-buyer is in.
|