@stripe/stripe-js
Advanced tools
Comparing version 1.18.0 to 1.19.0
@@ -57,3 +57,3 @@ function _typeof(obj) { | ||
name: 'stripe-js', | ||
version: "1.18.0", | ||
version: "1.19.0", | ||
startTime: startTime | ||
@@ -60,0 +60,0 @@ }); |
@@ -61,3 +61,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.18.0", | ||
version: "1.19.0", | ||
startTime: startTime | ||
@@ -64,0 +64,0 @@ }); |
@@ -41,3 +41,3 @@ var V3_URL = 'https://js.stripe.com/v3'; | ||
name: 'stripe-js', | ||
version: "1.18.0", | ||
version: "1.19.0", | ||
startTime: startTime | ||
@@ -44,0 +44,0 @@ }); |
@@ -45,3 +45,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.18.0", | ||
version: "1.19.0", | ||
startTime: startTime | ||
@@ -48,0 +48,0 @@ }); |
{ | ||
"name": "@stripe/stripe-js", | ||
"version": "1.18.0", | ||
"version": "1.19.0", | ||
"description": "Stripe.js loading utility", | ||
@@ -5,0 +5,0 @@ "main": "dist/stripe.js", |
@@ -14,2 +14,4 @@ ///<reference path='./elements/card.d.ts' /> | ||
///<reference path='./elements/payment.d.ts' /> | ||
///<reference path='./elements/link-authentication.d.ts' /> | ||
///<reference path='./elements/shipping-address.d.ts' /> | ||
@@ -228,2 +230,24 @@ import {StripeAuBankAccountElement} from '@stripe/stripe-js'; | ||
///////////////////////////// | ||
/// linkAuthentication | ||
///////////////////////////// | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* | ||
* Creates a `LinkAuthenticationElement`. | ||
*/ | ||
create(elementType: 'linkAuthentication'): StripeLinkAuthenticationElement; | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* | ||
* Looks up a previously created `Element` by its type. | ||
*/ | ||
getElement( | ||
elementType: 'linkAuthentication' | ||
): StripeLinkAuthenticationElement | null; | ||
///////////////////////////// | ||
/// payment | ||
@@ -271,2 +295,23 @@ ///////////////////////////// | ||
): StripePaymentRequestButtonElement | null; | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* | ||
* Creates a `ShippingAddressElement`. | ||
*/ | ||
create( | ||
elementType: 'shippingAddress', | ||
options?: StripeShippingAddressOptions | ||
): StripeShippingAddressElement; | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* | ||
* Looks up a previously created `Element` by its type. | ||
*/ | ||
getElement( | ||
elementType: 'shippingAddress' | ||
): StripeShippingAddressElement | null; | ||
} | ||
@@ -287,3 +332,5 @@ | ||
| 'payment' | ||
| 'paymentRequestButton'; | ||
| 'paymentRequestButton' | ||
| 'linkAuthentication' | ||
| 'shippingAddress'; | ||
@@ -290,0 +337,0 @@ type StripeElement = |
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
321792
50
8237
1