@stripe/stripe-js
Advanced tools
Comparing version 1.36.0 to 1.37.0
@@ -57,3 +57,3 @@ function _typeof(obj) { | ||
name: 'stripe-js', | ||
version: "1.36.0", | ||
version: "1.37.0", | ||
startTime: startTime | ||
@@ -60,0 +60,0 @@ }); |
@@ -61,3 +61,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.36.0", | ||
version: "1.37.0", | ||
startTime: startTime | ||
@@ -64,0 +64,0 @@ }); |
@@ -41,3 +41,3 @@ var V3_URL = 'https://js.stripe.com/v3'; | ||
name: 'stripe-js', | ||
version: "1.36.0", | ||
version: "1.37.0", | ||
startTime: startTime | ||
@@ -44,0 +44,0 @@ }); |
@@ -45,3 +45,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.36.0", | ||
version: "1.37.0", | ||
startTime: startTime | ||
@@ -48,0 +48,0 @@ }); |
{ | ||
"name": "@stripe/stripe-js", | ||
"version": "1.36.0", | ||
"version": "1.37.0", | ||
"description": "Stripe.js loading utility", | ||
@@ -5,0 +5,0 @@ "main": "dist/stripe.js", |
import { | ||
StripeAddressElement, | ||
StripeAddressElementOptions, | ||
StripeShippingAddressElement, | ||
@@ -50,2 +52,25 @@ StripeShippingAddressElementOptions, | ||
///////////////////////////// | ||
/// address | ||
///////////////////////////// | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* | ||
* Creates a `AddressElement`. | ||
*/ | ||
create( | ||
elementType: 'address', | ||
options: StripeAddressElementOptions | ||
): StripeAddressElement; | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* | ||
* Looks up a previously created `Element` by its type. | ||
*/ | ||
getElement(elementType: 'address'): StripeAddressElement | null; | ||
///////////////////////////// | ||
/// affirmMessage | ||
@@ -333,5 +358,9 @@ ///////////////////////////// | ||
///////////////////////////// | ||
/// shippingAddress | ||
///////////////////////////// | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* @deprecated | ||
* Use `Address` element instead. | ||
* | ||
@@ -346,4 +375,4 @@ * Creates a `ShippingAddressElement`. | ||
/** | ||
* Requires beta access: | ||
* Contact [Stripe support](https://support.stripe.com/) for more information. | ||
* @deprecated | ||
* Use `Address` element instead. | ||
* | ||
@@ -358,2 +387,3 @@ * Looks up a previously created `Element` by its type. | ||
export type StripeElementType = | ||
| 'address' | ||
| 'affirmMessage' | ||
@@ -360,0 +390,0 @@ | 'afterpayClearpayMessage' |
@@ -0,1 +1,2 @@ | ||
export * from './address'; | ||
export * from './affirm-message'; | ||
@@ -2,0 +3,0 @@ export * from './afterpay-clearpay-message'; |
@@ -197,3 +197,3 @@ import {StripeElementBase, StripeElementChangeEvent} from './base'; | ||
/** | ||
* Whether or not the the shipping address is new. | ||
* Whether or not the shipping address is new. | ||
*/ | ||
@@ -200,0 +200,0 @@ isNewAddress: boolean; |
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
366494
59
9794