@stripe/stripe-js
Advanced tools
Comparing version 1.43.0 to 1.44.0
@@ -57,3 +57,3 @@ function _typeof(obj) { | ||
name: 'stripe-js', | ||
version: "1.43.0", | ||
version: "1.44.0", | ||
startTime: startTime | ||
@@ -60,0 +60,0 @@ }); |
@@ -61,3 +61,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.43.0", | ||
version: "1.44.0", | ||
startTime: startTime | ||
@@ -64,0 +64,0 @@ }); |
@@ -41,3 +41,3 @@ var V3_URL = 'https://js.stripe.com/v3'; | ||
name: 'stripe-js', | ||
version: "1.43.0", | ||
version: "1.44.0", | ||
startTime: startTime | ||
@@ -44,0 +44,0 @@ }); |
@@ -45,3 +45,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.43.0", | ||
version: "1.44.0", | ||
startTime: startTime | ||
@@ -48,0 +48,0 @@ }); |
{ | ||
"name": "@stripe/stripe-js", | ||
"version": "1.43.0", | ||
"version": "1.44.0", | ||
"description": "Stripe.js loading utility", | ||
@@ -5,0 +5,0 @@ "main": "dist/stripe.js", |
@@ -50,2 +50,4 @@ import { | ||
StripeIssuingCardCopyButtonElementOptions, | ||
StripePayButtonElement, | ||
StripePayButtonElementOptions, | ||
} from './elements'; | ||
@@ -375,2 +377,25 @@ | ||
///////////////////////////// | ||
/// payButton | ||
///////////////////////////// | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* | ||
* Creates a `PayButtonElement`. | ||
*/ | ||
create( | ||
elementType: 'payButton', | ||
options?: StripePayButtonElementOptions | ||
): StripePayButtonElement; | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* | ||
* Looks up a previously created `Element` by its type. | ||
*/ | ||
getElement(elementType: 'payButton'): StripePayButtonElement | null; | ||
///////////////////////////// | ||
/// payment | ||
@@ -510,2 +535,3 @@ ///////////////////////////// | ||
| 'p24Bank' | ||
| 'payButtonElement' | ||
| 'payment' | ||
@@ -537,2 +563,3 @@ | 'paymentMethodMessaging' | ||
| StripeP24BankElement | ||
| StripePayButtonElement | ||
| StripePaymentElement | ||
@@ -539,0 +566,0 @@ | StripePaymentMethodMessagingElement |
@@ -18,2 +18,3 @@ export * from './address'; | ||
export * from './p24-bank'; | ||
export * from './pay-button'; | ||
export * from './payment-request-button'; | ||
@@ -20,0 +21,0 @@ export * from './payment'; |
@@ -179,7 +179,7 @@ import {StripeElementBase} from './base'; | ||
export type WalletOption = 'auto' | 'never'; | ||
export type PaymentWalletOption = 'auto' | 'never'; | ||
export interface WalletsOption { | ||
applePay?: WalletOption; | ||
googlePay?: WalletOption; | ||
export interface PaymentWalletsOption { | ||
applePay?: PaymentWalletOption; | ||
googlePay?: PaymentWalletOption; | ||
} | ||
@@ -224,3 +224,3 @@ | ||
*/ | ||
wallets?: WalletsOption; | ||
wallets?: PaymentWalletsOption; | ||
} | ||
@@ -227,0 +227,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
402378
69
10938
1