@stripe/stripe-js 3.0.9 → 3.0.10

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.
Files changed (129) hide show
  1. package/dist/index.d.mts +12792 -4
  2. package/dist/index.d.ts +12792 -4
  3. package/dist/{index.js → stripe.js} +1 -1
  4. package/dist/{index.mjs → stripe.mjs} +1 -1
  5. package/package.json +10 -11
  6. package/pure/index.d.mts +12771 -1
  7. package/pure/index.d.ts +12771 -1
  8. package/pure/index.js +204 -1
  9. package/pure/index.mjs +200 -1
  10. package/dist/api/bank-accounts.d.mts +0 -61
  11. package/dist/api/bank-accounts.d.ts +0 -61
  12. package/dist/api/cards.d.mts +0 -130
  13. package/dist/api/cards.d.ts +0 -130
  14. package/dist/api/financial-connections.d.mts +0 -232
  15. package/dist/api/financial-connections.d.ts +0 -232
  16. package/dist/api/index.d.mts +0 -11
  17. package/dist/api/index.d.ts +0 -11
  18. package/dist/api/orders.d.mts +0 -122
  19. package/dist/api/orders.d.ts +0 -122
  20. package/dist/api/payment-intents.d.mts +0 -330
  21. package/dist/api/payment-intents.d.ts +0 -330
  22. package/dist/api/payment-methods.d.mts +0 -452
  23. package/dist/api/payment-methods.d.ts +0 -452
  24. package/dist/api/setup-intents.d.mts +0 -184
  25. package/dist/api/setup-intents.d.ts +0 -184
  26. package/dist/api/shared.d.mts +0 -125
  27. package/dist/api/shared.d.ts +0 -125
  28. package/dist/api/sources.d.mts +0 -1045
  29. package/dist/api/sources.d.ts +0 -1045
  30. package/dist/api/tokens.d.mts +0 -639
  31. package/dist/api/tokens.d.ts +0 -639
  32. package/dist/api/verification-sessions.d.mts +0 -9
  33. package/dist/api/verification-sessions.d.ts +0 -9
  34. package/dist/pure.d.mts +0 -5
  35. package/dist/pure.d.ts +0 -5
  36. package/dist/pure.js +0 -204
  37. package/dist/pure.mjs +0 -200
  38. package/dist/shared.d.mts +0 -6
  39. package/dist/shared.d.ts +0 -6
  40. package/dist/stripe-js/checkout.d.mts +0 -153
  41. package/dist/stripe-js/checkout.d.ts +0 -153
  42. package/dist/stripe-js/custom-checkout.d.mts +0 -402
  43. package/dist/stripe-js/custom-checkout.d.ts +0 -402
  44. package/dist/stripe-js/elements/address.d.mts +0 -261
  45. package/dist/stripe-js/elements/address.d.ts +0 -261
  46. package/dist/stripe-js/elements/affirm-message.d.mts +0 -65
  47. package/dist/stripe-js/elements/affirm-message.d.ts +0 -65
  48. package/dist/stripe-js/elements/afterpay-clearpay-message.d.mts +0 -119
  49. package/dist/stripe-js/elements/afterpay-clearpay-message.d.ts +0 -119
  50. package/dist/stripe-js/elements/apple-pay.d.mts +0 -156
  51. package/dist/stripe-js/elements/apple-pay.d.ts +0 -156
  52. package/dist/stripe-js/elements/au-bank-account.d.mts +0 -138
  53. package/dist/stripe-js/elements/au-bank-account.d.ts +0 -138
  54. package/dist/stripe-js/elements/base.d.mts +0 -264
  55. package/dist/stripe-js/elements/base.d.ts +0 -264
  56. package/dist/stripe-js/elements/card-cvc.d.mts +0 -119
  57. package/dist/stripe-js/elements/card-cvc.d.ts +0 -119
  58. package/dist/stripe-js/elements/card-expiry.d.mts +0 -119
  59. package/dist/stripe-js/elements/card-expiry.d.ts +0 -119
  60. package/dist/stripe-js/elements/card-number.d.mts +0 -200
  61. package/dist/stripe-js/elements/card-number.d.ts +0 -200
  62. package/dist/stripe-js/elements/card.d.mts +0 -226
  63. package/dist/stripe-js/elements/card.d.ts +0 -226
  64. package/dist/stripe-js/elements/cart.d.mts +0 -224
  65. package/dist/stripe-js/elements/cart.d.ts +0 -224
  66. package/dist/stripe-js/elements/eps-bank.d.mts +0 -140
  67. package/dist/stripe-js/elements/eps-bank.d.ts +0 -140
  68. package/dist/stripe-js/elements/express-checkout.d.mts +0 -446
  69. package/dist/stripe-js/elements/express-checkout.d.ts +0 -446
  70. package/dist/stripe-js/elements/fpx-bank.d.mts +0 -134
  71. package/dist/stripe-js/elements/fpx-bank.d.ts +0 -134
  72. package/dist/stripe-js/elements/iban.d.mts +0 -135
  73. package/dist/stripe-js/elements/iban.d.ts +0 -135
  74. package/dist/stripe-js/elements/ideal-bank.d.mts +0 -140
  75. package/dist/stripe-js/elements/ideal-bank.d.ts +0 -140
  76. package/dist/stripe-js/elements/index.d.mts +0 -22
  77. package/dist/stripe-js/elements/index.d.ts +0 -22
  78. package/dist/stripe-js/elements/issuing/index.d.mts +0 -5
  79. package/dist/stripe-js/elements/issuing/index.d.ts +0 -5
  80. package/dist/stripe-js/elements/issuing/issuing-card-copy-button.d.mts +0 -37
  81. package/dist/stripe-js/elements/issuing/issuing-card-copy-button.d.ts +0 -37
  82. package/dist/stripe-js/elements/issuing/issuing-card-cvc-display.d.mts +0 -32
  83. package/dist/stripe-js/elements/issuing/issuing-card-cvc-display.d.ts +0 -32
  84. package/dist/stripe-js/elements/issuing/issuing-card-expiry-display.d.mts +0 -32
  85. package/dist/stripe-js/elements/issuing/issuing-card-expiry-display.d.ts +0 -32
  86. package/dist/stripe-js/elements/issuing/issuing-card-number-display.d.mts +0 -40
  87. package/dist/stripe-js/elements/issuing/issuing-card-number-display.d.ts +0 -40
  88. package/dist/stripe-js/elements/issuing/issuing-card-pin-display.d.mts +0 -32
  89. package/dist/stripe-js/elements/issuing/issuing-card-pin-display.d.ts +0 -32
  90. package/dist/stripe-js/elements/link-authentication.d.mts +0 -158
  91. package/dist/stripe-js/elements/link-authentication.d.ts +0 -158
  92. package/dist/stripe-js/elements/p24-bank.d.mts +0 -140
  93. package/dist/stripe-js/elements/p24-bank.d.ts +0 -140
  94. package/dist/stripe-js/elements/payment-method-messaging.d.mts +0 -98
  95. package/dist/stripe-js/elements/payment-method-messaging.d.ts +0 -98
  96. package/dist/stripe-js/elements/payment-request-button.d.mts +0 -151
  97. package/dist/stripe-js/elements/payment-request-button.d.ts +0 -151
  98. package/dist/stripe-js/elements/payment.d.mts +0 -275
  99. package/dist/stripe-js/elements/payment.d.ts +0 -275
  100. package/dist/stripe-js/elements/shipping-address.d.mts +0 -215
  101. package/dist/stripe-js/elements/shipping-address.d.ts +0 -215
  102. package/dist/stripe-js/elements-group.d.mts +0 -1129
  103. package/dist/stripe-js/elements-group.d.ts +0 -1129
  104. package/dist/stripe-js/embedded-checkout.d.mts +0 -35
  105. package/dist/stripe-js/embedded-checkout.d.ts +0 -35
  106. package/dist/stripe-js/ephemeral-keys.d.mts +0 -3
  107. package/dist/stripe-js/ephemeral-keys.d.ts +0 -3
  108. package/dist/stripe-js/financial-connections.d.mts +0 -19
  109. package/dist/stripe-js/financial-connections.d.ts +0 -19
  110. package/dist/stripe-js/index.d.mts +0 -13
  111. package/dist/stripe-js/index.d.ts +0 -13
  112. package/dist/stripe-js/orders.d.mts +0 -9
  113. package/dist/stripe-js/orders.d.ts +0 -9
  114. package/dist/stripe-js/payment-intents.d.mts +0 -1470
  115. package/dist/stripe-js/payment-intents.d.ts +0 -1470
  116. package/dist/stripe-js/payment-request.d.mts +0 -529
  117. package/dist/stripe-js/payment-request.d.ts +0 -529
  118. package/dist/stripe-js/setup-intents.d.mts +0 -250
  119. package/dist/stripe-js/setup-intents.d.ts +0 -250
  120. package/dist/stripe-js/stripe.d.mts +0 -1472
  121. package/dist/stripe-js/stripe.d.ts +0 -1472
  122. package/dist/stripe-js/token-and-sources.d.mts +0 -110
  123. package/dist/stripe-js/token-and-sources.d.ts +0 -110
  124. package/dist/utils.d.mts +0 -2
  125. package/dist/utils.d.ts +0 -2
  126. package/lib/index.d.mts +0 -1
  127. package/lib/index.d.ts +0 -1
  128. package/lib/index.js +0 -2
  129. package/lib/index.mjs +0 -1
@@ -1,35 +0,0 @@
1
- export interface StripeEmbeddedCheckoutOptions {
2
- /**
3
- * The client secret of the [Checkout Session](https://stripe.com/docs/api/checkout/sessions).
4
- */
5
- clientSecret?: string;
6
- /**
7
- * A function that returns a Promise which resolves with the client secret of
8
- * the [Checkout Session](https://stripe.com/docs/api/checkout/sessions).
9
- */
10
- fetchClientSecret?: () => Promise<string>;
11
- /**
12
- * onComplete is called when the Checkout Session completes successfully.
13
- * You can use it to unmount Embedded Checkout and render a custom success UI.
14
- */
15
- onComplete?: () => void;
16
- }
17
-
18
- export interface StripeEmbeddedCheckout {
19
- /**
20
- * The `embeddedCheckout.mount` method attaches your Embedded Checkout to the DOM.
21
- * `mount` accepts either a CSS Selector (e.g., `'#checkout'`) or a DOM element.
22
- */
23
- mount(location: string | HTMLElement): void;
24
- /**
25
- * Unmounts Embedded Checkout from the DOM.
26
- * Call `embeddedCheckout.mount` to re-attach it to the DOM.
27
- */
28
- unmount(): void;
29
- /**
30
- * Removes Embedded Checkout from the DOM and destroys it.
31
- * Once destroyed it not be re-mounted to the DOM.
32
- * Use this if you want to create a new Embedded Checkout instance.
33
- */
34
- destroy(): void;
35
- }
@@ -1,35 +0,0 @@
1
- export interface StripeEmbeddedCheckoutOptions {
2
- /**
3
- * The client secret of the [Checkout Session](https://stripe.com/docs/api/checkout/sessions).
4
- */
5
- clientSecret?: string;
6
- /**
7
- * A function that returns a Promise which resolves with the client secret of
8
- * the [Checkout Session](https://stripe.com/docs/api/checkout/sessions).
9
- */
10
- fetchClientSecret?: () => Promise<string>;
11
- /**
12
- * onComplete is called when the Checkout Session completes successfully.
13
- * You can use it to unmount Embedded Checkout and render a custom success UI.
14
- */
15
- onComplete?: () => void;
16
- }
17
-
18
- export interface StripeEmbeddedCheckout {
19
- /**
20
- * The `embeddedCheckout.mount` method attaches your Embedded Checkout to the DOM.
21
- * `mount` accepts either a CSS Selector (e.g., `'#checkout'`) or a DOM element.
22
- */
23
- mount(location: string | HTMLElement): void;
24
- /**
25
- * Unmounts Embedded Checkout from the DOM.
26
- * Call `embeddedCheckout.mount` to re-attach it to the DOM.
27
- */
28
- unmount(): void;
29
- /**
30
- * Removes Embedded Checkout from the DOM and destroys it.
31
- * Once destroyed it not be re-mounted to the DOM.
32
- * Use this if you want to create a new Embedded Checkout instance.
33
- */
34
- destroy(): void;
35
- }
@@ -1,3 +0,0 @@
1
- export interface EphemeralKeyNonceOptions {
2
- issuingCard: string;
3
- }
@@ -1,3 +0,0 @@
1
- export interface EphemeralKeyNonceOptions {
2
- issuingCard: string;
3
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * Data to be sent with a `stripe.collectFinancialConnectionsAccounts` request.
3
- */
4
- export interface CollectFinancialConnectionsAccountsOptions {
5
- /**
6
- * The client secret of the [Financial Connections Session](https://stripe.com/docs/api/financial_connections/session).
7
- */
8
- clientSecret: string;
9
- }
10
-
11
- /**
12
- * Data to be sent with a `stripe.collectBankAccountToken` request.
13
- */
14
- export interface CollectBankAccountTokenOptions {
15
- /**
16
- * The client secret of the [Financial Connections Session](https://stripe.com/docs/api/financial_connections/session).
17
- */
18
- clientSecret: string;
19
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * Data to be sent with a `stripe.collectFinancialConnectionsAccounts` request.
3
- */
4
- export interface CollectFinancialConnectionsAccountsOptions {
5
- /**
6
- * The client secret of the [Financial Connections Session](https://stripe.com/docs/api/financial_connections/session).
7
- */
8
- clientSecret: string;
9
- }
10
-
11
- /**
12
- * Data to be sent with a `stripe.collectBankAccountToken` request.
13
- */
14
- export interface CollectBankAccountTokenOptions {
15
- /**
16
- * The client secret of the [Financial Connections Session](https://stripe.com/docs/api/financial_connections/session).
17
- */
18
- clientSecret: string;
19
- }
@@ -1,13 +0,0 @@
1
- export * from './checkout';
2
- export * from './custom-checkout';
3
- export * from './embedded-checkout';
4
- export * from './elements';
5
- export * from './elements-group';
6
- export * from './ephemeral-keys';
7
- export * from './financial-connections';
8
- export * from './orders';
9
- export * from './payment-intents';
10
- export * from './payment-request';
11
- export * from './setup-intents';
12
- export * from './token-and-sources';
13
- export * from './stripe';
@@ -1,13 +0,0 @@
1
- export * from './checkout';
2
- export * from './custom-checkout';
3
- export * from './embedded-checkout';
4
- export * from './elements';
5
- export * from './elements-group';
6
- export * from './ephemeral-keys';
7
- export * from './financial-connections';
8
- export * from './orders';
9
- export * from './payment-intents';
10
- export * from './payment-request';
11
- export * from './setup-intents';
12
- export * from './token-and-sources';
13
- export * from './stripe';
@@ -1,9 +0,0 @@
1
- /**
2
- * Parameters that will be passed on to the Stripe API to confirm payment for an Order's PaymentIntent.
3
- */
4
- export interface ProcessOrderParams {
5
- /**
6
- * The url your customer will be directed to after they complete payment.
7
- */
8
- return_url: string;
9
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * Parameters that will be passed on to the Stripe API to confirm payment for an Order's PaymentIntent.
3
- */
4
- export interface ProcessOrderParams {
5
- /**
6
- * The url your customer will be directed to after they complete payment.
7
- */
8
- return_url: string;
9
- }