@stripe/stripe-js
Advanced tools
Comparing version 3.5.0 to 4.0.0
@@ -45,3 +45,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "3.4.1", | ||
version: "3.5.0", | ||
startTime: startTime | ||
@@ -48,0 +48,0 @@ }); |
@@ -61,3 +61,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "3.4.1", | ||
version: "3.5.0", | ||
startTime: startTime | ||
@@ -64,0 +64,0 @@ }); |
@@ -248,7 +248,18 @@ import {StripeElementBase} from './base'; | ||
export type ExpressCheckoutWalletOption = 'always' | 'auto' | 'never'; | ||
export type ExpressCheckoutPaymentMethodOptionWithAlways = | ||
| 'always' | ||
| ExpressCheckoutPaymentMethodOption; | ||
export type ExpressCheckoutPaymentMethodOption = 'auto' | 'never'; | ||
export type ExpressCheckoutPaymentMethodsOption = { | ||
amazonPay?: ExpressCheckoutPaymentMethodOption; | ||
applePay?: ExpressCheckoutPaymentMethodOptionWithAlways; | ||
googlePay?: ExpressCheckoutPaymentMethodOptionWithAlways; | ||
link?: ExpressCheckoutPaymentMethodOption; | ||
paypal?: ExpressCheckoutPaymentMethodOption; | ||
}; | ||
export type ExpressCheckoutWalletsOption = { | ||
applePay?: ExpressCheckoutWalletOption; | ||
googlePay?: ExpressCheckoutWalletOption; | ||
applePay?: ExpressCheckoutPaymentMethodOptionWithAlways; | ||
googlePay?: ExpressCheckoutPaymentMethodOptionWithAlways; | ||
}; | ||
@@ -260,5 +271,8 @@ | ||
export type PayPalButtonTheme = 'gold' | 'blue' | 'silver' | 'white' | 'black'; | ||
export type ButtonThemeOption = { | ||
applePay?: ApplePayButtonTheme; | ||
googlePay?: GooglePayButtonTheme; | ||
paypal?: PayPalButtonTheme; | ||
}; | ||
@@ -325,2 +339,10 @@ | ||
/** | ||
* Control payment method display in the Express Checkout Element. | ||
*/ | ||
paymentMethods?: ExpressCheckoutPaymentMethodsOption; | ||
/** | ||
* @deprecated | ||
* Use `paymentMethods` instead. | ||
* | ||
* Control wallets display in the Express Checkout Element. | ||
@@ -327,0 +349,0 @@ */ |
{ | ||
"name": "@stripe/stripe-js", | ||
"version": "3.5.0", | ||
"version": "4.0.0", | ||
"description": "Stripe.js loading utility", | ||
@@ -5,0 +5,0 @@ "repository": "github:stripe/stripe-js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
887259
12599