@stripe/stripe-js 1.52.0 → 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
@@ -54,7 +54,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
54
54
 
55
55
  stripe._registerWrapper({
56
56
  name: 'stripe-js',
57
- version: "1.52.0",
57
+ version: "1.53.0",
58
58
  startTime: startTime
59
59
  });
60
60
  };
package/dist/pure.js CHANGED
@@ -58,7 +58,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
58
58
 
59
59
  stripe._registerWrapper({
60
60
  name: 'stripe-js',
61
- version: "1.52.0",
61
+ version: "1.53.0",
62
62
  startTime: startTime
63
63
  });
64
64
  };
@@ -38,7 +38,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
38
38
 
39
39
  stripe._registerWrapper({
40
40
  name: 'stripe-js',
41
- version: "1.52.0",
41
+ version: "1.53.0",
42
42
  startTime: startTime
43
43
  });
44
44
  };
package/dist/stripe.js CHANGED
@@ -42,7 +42,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
42
42
 
43
43
  stripe._registerWrapper({
44
44
  name: 'stripe-js',
45
- version: "1.52.0",
45
+ version: "1.53.0",
46
46
  startTime: startTime
47
47
  });
48
48
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/stripe-js",
3
- "version": "1.52.0",
3
+ "version": "1.53.0",
4
4
  "description": "Stripe.js loading utility",
5
5
  "main": "dist/stripe.js",
6
6
  "module": "dist/stripe.esm.js",
@@ -292,6 +292,41 @@ export namespace PaymentMethod {
292
292
  * Account type: checkings or savings. Defaults to checking if omitted.
293
293
  */
294
294
  account_type: string;
295
+
296
+ /**
297
+ * The name of the bank.
298
+ */
299
+ bank_name: string;
300
+
301
+ /**
302
+ * The ID of the Financial Connections Account used to create the payment method.
303
+ */
304
+ financial_connections_account: string;
305
+
306
+ /**
307
+ * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
308
+ */
309
+ fingerprint: string;
310
+
311
+ /**
312
+ * Last four digits of the bank account number.
313
+ */
314
+ last4: string;
315
+
316
+ /**
317
+ * Contains information about US bank account networks that can be used.
318
+ */
319
+ networks: {
320
+ /**
321
+ * The preferred network.
322
+ */
323
+ preferred: string;
324
+
325
+ /**
326
+ * All supported networks.
327
+ */
328
+ supported: string[];
329
+ };
295
330
  }
296
331
  }
297
332
 
@@ -236,14 +236,11 @@ export type ShippingRate = {
236
236
  };
237
237
  };
238
238
 
239
- export type LayoutType = 'auto' | 'horizontal' | 'vertical';
240
-
241
- export type LayoutOption =
242
- | LayoutType
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
- paymentMethods: Array<'afterpay_clearpay' | 'klarna' | 'affirm'>;
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.