@stripe/stripe-js 5.1.0 → 5.2.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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/pure.js +1 -1
- package/dist/pure.mjs +1 -1
- package/dist/stripe-js/checkout.d.mts +1 -5
- package/dist/stripe-js/checkout.d.ts +1 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/dist/pure.js
CHANGED
package/dist/pure.mjs
CHANGED
|
@@ -233,10 +233,6 @@ export interface StripeCheckoutSession {
|
|
|
233
233
|
total: StripeCheckoutTotalSummary;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export type StripeCheckoutResult =
|
|
237
|
-
| {session: StripeCheckoutSession; error?: undefined}
|
|
238
|
-
| {session?: undefined; error: StripeError};
|
|
239
|
-
|
|
240
236
|
export type StripeCheckoutPaymentElementOptions = {
|
|
241
237
|
layout?: Layout | LayoutObject;
|
|
242
238
|
paymentMethodOrder?: Array<string>;
|
|
@@ -448,7 +444,7 @@ export interface StripeCheckout {
|
|
|
448
444
|
}) => Promise<StripeCheckoutUpdateLineItemQuantityResult>;
|
|
449
445
|
updateShippingOption: (
|
|
450
446
|
shippingOption: string
|
|
451
|
-
) => Promise<
|
|
447
|
+
) => Promise<StripeCheckoutUpdateShippingOptionResult>;
|
|
452
448
|
confirm: (args?: {
|
|
453
449
|
returnUrl?: string;
|
|
454
450
|
redirect?: StripeCheckoutRedirectBehavior;
|
|
@@ -233,10 +233,6 @@ export interface StripeCheckoutSession {
|
|
|
233
233
|
total: StripeCheckoutTotalSummary;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export type StripeCheckoutResult =
|
|
237
|
-
| {session: StripeCheckoutSession; error?: undefined}
|
|
238
|
-
| {session?: undefined; error: StripeError};
|
|
239
|
-
|
|
240
236
|
export type StripeCheckoutPaymentElementOptions = {
|
|
241
237
|
layout?: Layout | LayoutObject;
|
|
242
238
|
paymentMethodOrder?: Array<string>;
|
|
@@ -448,7 +444,7 @@ export interface StripeCheckout {
|
|
|
448
444
|
}) => Promise<StripeCheckoutUpdateLineItemQuantityResult>;
|
|
449
445
|
updateShippingOption: (
|
|
450
446
|
shippingOption: string
|
|
451
|
-
) => Promise<
|
|
447
|
+
) => Promise<StripeCheckoutUpdateShippingOptionResult>;
|
|
452
448
|
confirm: (args?: {
|
|
453
449
|
returnUrl?: string;
|
|
454
450
|
redirect?: StripeCheckoutRedirectBehavior;
|