@stripe/stripe-js 7.8.0 → 7.10.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.
@@ -365,6 +365,11 @@ export interface PaymentMethodCreateParams {
365
365
  * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. Required unless `payment_method` is specified (see the [Cloning PaymentMethods](https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods) guide)
366
366
  */
367
367
  type?: string;
368
+
369
+ /**
370
+ * Specifies if the PaymentMethod should be redisplayed when using the Saved Payment Method feature.
371
+ */
372
+ allow_redisplay?: 'always' | 'limited' | 'unspecified';
368
373
  }
369
374
 
370
375
  export interface CreatePaymentMethodFromElements {
@@ -365,6 +365,11 @@ export interface PaymentMethodCreateParams {
365
365
  * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. Required unless `payment_method` is specified (see the [Cloning PaymentMethods](https://stripe.com/docs/payments/payment-methods/connect#cloning-payment-methods) guide)
366
366
  */
367
367
  type?: string;
368
+
369
+ /**
370
+ * Specifies if the PaymentMethod should be redisplayed when using the Saved Payment Method feature.
371
+ */
372
+ allow_redisplay?: 'always' | 'limited' | 'unspecified';
368
373
  }
369
374
 
370
375
  export interface CreatePaymentMethodFromElements {
package/dist/index.js CHANGED
@@ -55,7 +55,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
55
55
 
56
56
  stripe._registerWrapper({
57
57
  name: 'stripe-js',
58
- version: "7.8.0",
58
+ version: "7.10.0",
59
59
  startTime: startTime
60
60
  });
61
61
  };
@@ -151,7 +151,7 @@ var initStripe = function initStripe(maybeStripe, args, startTime) {
151
151
  var expectedVersion = RELEASE_TRAIN;
152
152
 
153
153
  if (isTestKey && version !== expectedVersion) {
154
- console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("7.8.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
154
+ console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("7.10.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
155
155
  }
156
156
 
157
157
  var stripe = maybeStripe.apply(undefined, args);
package/dist/index.mjs CHANGED
@@ -51,7 +51,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
51
51
 
52
52
  stripe._registerWrapper({
53
53
  name: 'stripe-js',
54
- version: "7.8.0",
54
+ version: "7.10.0",
55
55
  startTime: startTime
56
56
  });
57
57
  };
@@ -147,7 +147,7 @@ var initStripe = function initStripe(maybeStripe, args, startTime) {
147
147
  var expectedVersion = RELEASE_TRAIN;
148
148
 
149
149
  if (isTestKey && version !== expectedVersion) {
150
- console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("7.8.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
150
+ console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("7.10.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
151
151
  }
152
152
 
153
153
  var stripe = maybeStripe.apply(undefined, args);
package/dist/pure.js CHANGED
@@ -71,7 +71,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
71
71
 
72
72
  stripe._registerWrapper({
73
73
  name: 'stripe-js',
74
- version: "7.8.0",
74
+ version: "7.10.0",
75
75
  startTime: startTime
76
76
  });
77
77
  };
@@ -167,7 +167,7 @@ var initStripe = function initStripe(maybeStripe, args, startTime) {
167
167
  var expectedVersion = RELEASE_TRAIN;
168
168
 
169
169
  if (isTestKey && version !== expectedVersion) {
170
- console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("7.8.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
170
+ console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("7.10.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
171
171
  }
172
172
 
173
173
  var stripe = maybeStripe.apply(undefined, args);
package/dist/pure.mjs CHANGED
@@ -67,7 +67,7 @@ var registerWrapper = function registerWrapper(stripe, startTime) {
67
67
 
68
68
  stripe._registerWrapper({
69
69
  name: 'stripe-js',
70
- version: "7.8.0",
70
+ version: "7.10.0",
71
71
  startTime: startTime
72
72
  });
73
73
  };
@@ -163,7 +163,7 @@ var initStripe = function initStripe(maybeStripe, args, startTime) {
163
163
  var expectedVersion = RELEASE_TRAIN;
164
164
 
165
165
  if (isTestKey && version !== expectedVersion) {
166
- console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("7.8.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
166
+ console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("7.10.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
167
167
  }
168
168
 
169
169
  var stripe = maybeStripe.apply(undefined, args);
@@ -15,6 +15,7 @@ import {
15
15
  StripeExpressCheckoutElementConfirmEvent,
16
16
  StripeExpressCheckoutElementOptions,
17
17
  StripeExpressCheckoutElementReadyEvent,
18
+ StripeLinkSignupElement,
18
19
  StripeTaxIdElement,
19
20
  StripeTaxIdElementOptions,
20
21
  } from './elements';
@@ -354,6 +355,14 @@ export type StripeCheckoutAddressElementOptions = {
354
355
  };
355
356
  };
356
357
 
358
+ export type StripeCheckoutLinkSignupElementOptions = {
359
+ defaultValues?: {
360
+ email?: string;
361
+ name?: string;
362
+ phone?: string;
363
+ };
364
+ };
365
+
357
366
  export type StripeCheckoutExpressCheckoutElementOptions = {
358
367
  buttonHeight: StripeExpressCheckoutElementOptions['buttonHeight'];
359
368
  buttonTheme: StripeExpressCheckoutElementOptions['buttonTheme'];
@@ -607,6 +616,8 @@ export interface StripeCheckout {
607
616
  getShippingAddressElement(): StripeAddressElement | null;
608
617
  getExpressCheckoutElement(): StripeCheckoutExpressCheckoutElement | null;
609
618
  /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
619
+ getLinkSignupElement(): StripeLinkSignupElement | null;
620
+ /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
610
621
  getCurrencySelectorElement(): StripeCurrencySelectorElement | null;
611
622
  /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
612
623
  getTaxIdElement(): StripeTaxIdElement | null;
@@ -623,6 +634,10 @@ export interface StripeCheckout {
623
634
  options?: StripeCheckoutExpressCheckoutElementOptions
624
635
  ): StripeCheckoutExpressCheckoutElement;
625
636
  /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
637
+ createLinkSignupElement(
638
+ options?: StripeCheckoutLinkSignupElementOptions
639
+ ): StripeLinkSignupElement;
640
+ /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
626
641
  createCurrencySelectorElement(): StripeCurrencySelectorElement;
627
642
  /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
628
643
  createTaxIdElement(options?: StripeTaxIdElementOptions): StripeTaxIdElement;
@@ -15,6 +15,7 @@ import {
15
15
  StripeExpressCheckoutElementConfirmEvent,
16
16
  StripeExpressCheckoutElementOptions,
17
17
  StripeExpressCheckoutElementReadyEvent,
18
+ StripeLinkSignupElement,
18
19
  StripeTaxIdElement,
19
20
  StripeTaxIdElementOptions,
20
21
  } from './elements';
@@ -354,6 +355,14 @@ export type StripeCheckoutAddressElementOptions = {
354
355
  };
355
356
  };
356
357
 
358
+ export type StripeCheckoutLinkSignupElementOptions = {
359
+ defaultValues?: {
360
+ email?: string;
361
+ name?: string;
362
+ phone?: string;
363
+ };
364
+ };
365
+
357
366
  export type StripeCheckoutExpressCheckoutElementOptions = {
358
367
  buttonHeight: StripeExpressCheckoutElementOptions['buttonHeight'];
359
368
  buttonTheme: StripeExpressCheckoutElementOptions['buttonTheme'];
@@ -607,6 +616,8 @@ export interface StripeCheckout {
607
616
  getShippingAddressElement(): StripeAddressElement | null;
608
617
  getExpressCheckoutElement(): StripeCheckoutExpressCheckoutElement | null;
609
618
  /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
619
+ getLinkSignupElement(): StripeLinkSignupElement | null;
620
+ /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
610
621
  getCurrencySelectorElement(): StripeCurrencySelectorElement | null;
611
622
  /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
612
623
  getTaxIdElement(): StripeTaxIdElement | null;
@@ -623,6 +634,10 @@ export interface StripeCheckout {
623
634
  options?: StripeCheckoutExpressCheckoutElementOptions
624
635
  ): StripeCheckoutExpressCheckoutElement;
625
636
  /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
637
+ createLinkSignupElement(
638
+ options?: StripeCheckoutLinkSignupElementOptions
639
+ ): StripeLinkSignupElement;
640
+ /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
626
641
  createCurrencySelectorElement(): StripeCurrencySelectorElement;
627
642
  /* Requires beta access: Contact [Stripe support](https://support.stripe.com/) for more information. */
628
643
  createTaxIdElement(options?: StripeTaxIdElementOptions): StripeTaxIdElement;
@@ -15,6 +15,7 @@ export * from './fpx-bank';
15
15
  export * from './iban';
16
16
  export * from './ideal-bank';
17
17
  export * from './link-authentication';
18
+ export * from './link-signup';
18
19
  export * from './p24-bank';
19
20
  export * from './payment-request-button';
20
21
  export * from './payment';
@@ -15,6 +15,7 @@ export * from './fpx-bank';
15
15
  export * from './iban';
16
16
  export * from './ideal-bank';
17
17
  export * from './link-authentication';
18
+ export * from './link-signup';
18
19
  export * from './p24-bank';
19
20
  export * from './payment-request-button';
20
21
  export * from './payment';
@@ -0,0 +1,108 @@
1
+ import {StripeElementBase} from './base';
2
+ import {StripeError} from '../stripe';
3
+
4
+ export type StripeLinkSignupElement = StripeElementBase & {
5
+ /**
6
+ * Triggered when the element is fully rendered and can accept `element.focus` calls.
7
+ */
8
+ on(
9
+ eventType: 'ready',
10
+ handler: (event: {elementType: 'linkSignup'}) => any
11
+ ): StripeLinkSignupElement;
12
+ once(
13
+ eventType: 'ready',
14
+ handler: (event: {elementType: 'linkSignup'}) => any
15
+ ): StripeLinkSignupElement;
16
+ off(
17
+ eventType: 'ready',
18
+ handler?: (event: {elementType: 'linkSignup'}) => any
19
+ ): StripeLinkSignupElement;
20
+
21
+ /**
22
+ * Triggered when the element gains focus.
23
+ */
24
+ on(
25
+ eventType: 'focus',
26
+ handler: (event: {elementType: 'linkSignup'}) => any
27
+ ): StripeLinkSignupElement;
28
+ once(
29
+ eventType: 'focus',
30
+ handler: (event: {elementType: 'linkSignup'}) => any
31
+ ): StripeLinkSignupElement;
32
+ off(
33
+ eventType: 'focus',
34
+ handler?: (event: {elementType: 'linkSignup'}) => any
35
+ ): StripeLinkSignupElement;
36
+
37
+ /**
38
+ * Triggered when the element loses focus.
39
+ */
40
+ on(
41
+ eventType: 'blur',
42
+ handler: (event: {elementType: 'linkSignup'}) => any
43
+ ): StripeLinkSignupElement;
44
+ once(
45
+ eventType: 'blur',
46
+ handler: (event: {elementType: 'linkSignup'}) => any
47
+ ): StripeLinkSignupElement;
48
+ off(
49
+ eventType: 'blur',
50
+ handler?: (event: {elementType: 'linkSignup'}) => any
51
+ ): StripeLinkSignupElement;
52
+
53
+ /**
54
+ * Triggered when the escape key is pressed within the element.
55
+ */
56
+ on(
57
+ eventType: 'escape',
58
+ handler: (event: {elementType: 'linkSignup'}) => any
59
+ ): StripeLinkSignupElement;
60
+ once(
61
+ eventType: 'escape',
62
+ handler: (event: {elementType: 'linkSignup'}) => any
63
+ ): StripeLinkSignupElement;
64
+ off(
65
+ eventType: 'escape',
66
+ handler?: (event: {elementType: 'linkSignup'}) => any
67
+ ): StripeLinkSignupElement;
68
+
69
+ /**
70
+ * Triggered when the loader UI is mounted to the DOM and ready to be displayed.
71
+ */
72
+ on(
73
+ eventType: 'loaderstart',
74
+ handler: (event: {elementType: 'linkSignup'}) => any
75
+ ): StripeLinkSignupElement;
76
+ once(
77
+ eventType: 'loaderstart',
78
+ handler: (event: {elementType: 'linkSignup'}) => any
79
+ ): StripeLinkSignupElement;
80
+ off(
81
+ eventType: 'loaderstart',
82
+ handler?: (event: {elementType: 'linkSignup'}) => any
83
+ ): StripeLinkSignupElement;
84
+
85
+ /**
86
+ * Triggered when the element fails to load.
87
+ */
88
+ on(
89
+ eventType: 'loaderror',
90
+ handler: (event: {elementType: 'linkSignup'; error: StripeError}) => any
91
+ ): StripeLinkSignupElement;
92
+ once(
93
+ eventType: 'loaderror',
94
+ handler: (event: {elementType: 'linkSignup'; error: StripeError}) => any
95
+ ): StripeLinkSignupElement;
96
+ off(
97
+ eventType: 'loaderror',
98
+ handler?: (event: {elementType: 'linkSignup'; error: StripeError}) => any
99
+ ): StripeLinkSignupElement;
100
+ };
101
+
102
+ export interface StripeLinkSignupElementOptions {
103
+ defaultValues?: {
104
+ email?: string;
105
+ name?: string;
106
+ phone?: string;
107
+ };
108
+ }
@@ -0,0 +1,108 @@
1
+ import {StripeElementBase} from './base';
2
+ import {StripeError} from '../stripe';
3
+
4
+ export type StripeLinkSignupElement = StripeElementBase & {
5
+ /**
6
+ * Triggered when the element is fully rendered and can accept `element.focus` calls.
7
+ */
8
+ on(
9
+ eventType: 'ready',
10
+ handler: (event: {elementType: 'linkSignup'}) => any
11
+ ): StripeLinkSignupElement;
12
+ once(
13
+ eventType: 'ready',
14
+ handler: (event: {elementType: 'linkSignup'}) => any
15
+ ): StripeLinkSignupElement;
16
+ off(
17
+ eventType: 'ready',
18
+ handler?: (event: {elementType: 'linkSignup'}) => any
19
+ ): StripeLinkSignupElement;
20
+
21
+ /**
22
+ * Triggered when the element gains focus.
23
+ */
24
+ on(
25
+ eventType: 'focus',
26
+ handler: (event: {elementType: 'linkSignup'}) => any
27
+ ): StripeLinkSignupElement;
28
+ once(
29
+ eventType: 'focus',
30
+ handler: (event: {elementType: 'linkSignup'}) => any
31
+ ): StripeLinkSignupElement;
32
+ off(
33
+ eventType: 'focus',
34
+ handler?: (event: {elementType: 'linkSignup'}) => any
35
+ ): StripeLinkSignupElement;
36
+
37
+ /**
38
+ * Triggered when the element loses focus.
39
+ */
40
+ on(
41
+ eventType: 'blur',
42
+ handler: (event: {elementType: 'linkSignup'}) => any
43
+ ): StripeLinkSignupElement;
44
+ once(
45
+ eventType: 'blur',
46
+ handler: (event: {elementType: 'linkSignup'}) => any
47
+ ): StripeLinkSignupElement;
48
+ off(
49
+ eventType: 'blur',
50
+ handler?: (event: {elementType: 'linkSignup'}) => any
51
+ ): StripeLinkSignupElement;
52
+
53
+ /**
54
+ * Triggered when the escape key is pressed within the element.
55
+ */
56
+ on(
57
+ eventType: 'escape',
58
+ handler: (event: {elementType: 'linkSignup'}) => any
59
+ ): StripeLinkSignupElement;
60
+ once(
61
+ eventType: 'escape',
62
+ handler: (event: {elementType: 'linkSignup'}) => any
63
+ ): StripeLinkSignupElement;
64
+ off(
65
+ eventType: 'escape',
66
+ handler?: (event: {elementType: 'linkSignup'}) => any
67
+ ): StripeLinkSignupElement;
68
+
69
+ /**
70
+ * Triggered when the loader UI is mounted to the DOM and ready to be displayed.
71
+ */
72
+ on(
73
+ eventType: 'loaderstart',
74
+ handler: (event: {elementType: 'linkSignup'}) => any
75
+ ): StripeLinkSignupElement;
76
+ once(
77
+ eventType: 'loaderstart',
78
+ handler: (event: {elementType: 'linkSignup'}) => any
79
+ ): StripeLinkSignupElement;
80
+ off(
81
+ eventType: 'loaderstart',
82
+ handler?: (event: {elementType: 'linkSignup'}) => any
83
+ ): StripeLinkSignupElement;
84
+
85
+ /**
86
+ * Triggered when the element fails to load.
87
+ */
88
+ on(
89
+ eventType: 'loaderror',
90
+ handler: (event: {elementType: 'linkSignup'; error: StripeError}) => any
91
+ ): StripeLinkSignupElement;
92
+ once(
93
+ eventType: 'loaderror',
94
+ handler: (event: {elementType: 'linkSignup'; error: StripeError}) => any
95
+ ): StripeLinkSignupElement;
96
+ off(
97
+ eventType: 'loaderror',
98
+ handler?: (event: {elementType: 'linkSignup'; error: StripeError}) => any
99
+ ): StripeLinkSignupElement;
100
+ };
101
+
102
+ export interface StripeLinkSignupElementOptions {
103
+ defaultValues?: {
104
+ email?: string;
105
+ name?: string;
106
+ phone?: string;
107
+ };
108
+ }
@@ -10,6 +10,8 @@ import {
10
10
  StripePaymentElementOptions,
11
11
  StripeLinkAuthenticationElement,
12
12
  StripeLinkAuthenticationElementOptions,
13
+ StripeLinkSignupElement,
14
+ StripeLinkSignupElementOptions,
13
15
  StripeIdealBankElement,
14
16
  StripeIdealBankElementOptions,
15
17
  StripeIbanElement,
@@ -356,6 +358,29 @@ export interface StripeElements {
356
358
  elementType: 'linkAuthentication'
357
359
  ): StripeLinkAuthenticationElement | null;
358
360
 
361
+ /////////////////////////////
362
+ /// linkSignup
363
+ /////////////////////////////
364
+
365
+ /**
366
+ * Requires beta access:
367
+ * Contact [Stripe support](https://support.stripe.com/) for more information.
368
+ *
369
+ * Creates a `LinkSignupElement`.
370
+ */
371
+ create(
372
+ elementType: 'linkSignup',
373
+ options?: StripeLinkSignupElementOptions
374
+ ): StripeLinkSignupElement;
375
+
376
+ /**
377
+ * Requires beta access:
378
+ * Contact [Stripe support](https://support.stripe.com/) for more information.
379
+ *
380
+ * Looks up a previously created `Element` by its type.
381
+ */
382
+ getElement(elementType: 'linkSignup'): StripeLinkSignupElement | null;
383
+
359
384
  /////////////////////////////
360
385
  /// expressCheckout
361
386
  /////////////////////////////
@@ -515,6 +540,7 @@ export type StripeElementType =
515
540
  | 'paymentMethodMessaging'
516
541
  | 'paymentRequestButton'
517
542
  | 'linkAuthentication'
543
+ | 'linkSignup'
518
544
  | 'shippingAddress'
519
545
  | 'issuingCardNumberDisplay'
520
546
  | 'issuingCardCvcDisplay'
@@ -537,6 +563,7 @@ export type StripeElement =
537
563
  | StripeFpxBankElement
538
564
  | StripeIbanElement
539
565
  | StripeIdealBankElement
566
+ | StripeLinkSignupElement
540
567
  | StripeP24BankElement
541
568
  | StripeCurrencySelectorElement
542
569
  | StripeExpressCheckoutElement
@@ -1178,6 +1205,7 @@ export interface Appearance {
1178
1205
  focusOutline?: string;
1179
1206
 
1180
1207
  // Radius
1208
+ buttonBorderRadius?: string;
1181
1209
  borderRadius?: string;
1182
1210
  };
1183
1211
 
@@ -10,6 +10,8 @@ import {
10
10
  StripePaymentElementOptions,
11
11
  StripeLinkAuthenticationElement,
12
12
  StripeLinkAuthenticationElementOptions,
13
+ StripeLinkSignupElement,
14
+ StripeLinkSignupElementOptions,
13
15
  StripeIdealBankElement,
14
16
  StripeIdealBankElementOptions,
15
17
  StripeIbanElement,
@@ -356,6 +358,29 @@ export interface StripeElements {
356
358
  elementType: 'linkAuthentication'
357
359
  ): StripeLinkAuthenticationElement | null;
358
360
 
361
+ /////////////////////////////
362
+ /// linkSignup
363
+ /////////////////////////////
364
+
365
+ /**
366
+ * Requires beta access:
367
+ * Contact [Stripe support](https://support.stripe.com/) for more information.
368
+ *
369
+ * Creates a `LinkSignupElement`.
370
+ */
371
+ create(
372
+ elementType: 'linkSignup',
373
+ options?: StripeLinkSignupElementOptions
374
+ ): StripeLinkSignupElement;
375
+
376
+ /**
377
+ * Requires beta access:
378
+ * Contact [Stripe support](https://support.stripe.com/) for more information.
379
+ *
380
+ * Looks up a previously created `Element` by its type.
381
+ */
382
+ getElement(elementType: 'linkSignup'): StripeLinkSignupElement | null;
383
+
359
384
  /////////////////////////////
360
385
  /// expressCheckout
361
386
  /////////////////////////////
@@ -515,6 +540,7 @@ export type StripeElementType =
515
540
  | 'paymentMethodMessaging'
516
541
  | 'paymentRequestButton'
517
542
  | 'linkAuthentication'
543
+ | 'linkSignup'
518
544
  | 'shippingAddress'
519
545
  | 'issuingCardNumberDisplay'
520
546
  | 'issuingCardCvcDisplay'
@@ -537,6 +563,7 @@ export type StripeElement =
537
563
  | StripeFpxBankElement
538
564
  | StripeIbanElement
539
565
  | StripeIdealBankElement
566
+ | StripeLinkSignupElement
540
567
  | StripeP24BankElement
541
568
  | StripeCurrencySelectorElement
542
569
  | StripeExpressCheckoutElement
@@ -1178,6 +1205,7 @@ export interface Appearance {
1178
1205
  focusOutline?: string;
1179
1206
 
1180
1207
  // Radius
1208
+ buttonBorderRadius?: string;
1181
1209
  borderRadius?: string;
1182
1210
  };
1183
1211
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/stripe-js",
3
- "version": "7.8.0",
3
+ "version": "7.10.0",
4
4
  "description": "Stripe.js loading utility",
5
5
  "repository": "github:stripe/stripe-js",
6
6
  "main": "lib/index.js",
@@ -14,6 +14,7 @@
14
14
  "test:unit": "jest",
15
15
  "test:package-types": "attw --pack . --entrypoints ./lib ./pure",
16
16
  "test:types": "zx ./tests/types/scripts/test.mjs",
17
+ "update-ts-snapshot": "zx ./tests/types/scripts/update-ts-snapshot.mjs",
17
18
  "lint": "eslint '{src,types}/**/*.{ts,js}' && yarn prettier-check",
18
19
  "typecheck": "tsc",
19
20
  "copy-types": "./scripts/copy-types",