@stripe/stripe-js
Advanced tools
Comparing version 1.37.0 to 1.38.0
@@ -57,3 +57,3 @@ function _typeof(obj) { | ||
name: 'stripe-js', | ||
version: "1.37.0", | ||
version: "1.38.0", | ||
startTime: startTime | ||
@@ -60,0 +60,0 @@ }); |
@@ -61,3 +61,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.37.0", | ||
version: "1.38.0", | ||
startTime: startTime | ||
@@ -64,0 +64,0 @@ }); |
@@ -41,3 +41,3 @@ var V3_URL = 'https://js.stripe.com/v3'; | ||
name: 'stripe-js', | ||
version: "1.37.0", | ||
version: "1.38.0", | ||
startTime: startTime | ||
@@ -44,0 +44,0 @@ }); |
@@ -45,3 +45,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.37.0", | ||
version: "1.38.0", | ||
startTime: startTime | ||
@@ -48,0 +48,0 @@ }); |
{ | ||
"name": "@stripe/stripe-js", | ||
"version": "1.37.0", | ||
"version": "1.38.0", | ||
"description": "Stripe.js loading utility", | ||
@@ -5,0 +5,0 @@ "main": "dist/stripe.js", |
@@ -34,2 +34,4 @@ import { | ||
StripeAffirmMessageElementOptions, | ||
StripePaymentMethodMessagingElementOptions, | ||
StripePaymentMethodMessagingElement, | ||
StripeAfterpayClearpayMessageElement, | ||
@@ -76,2 +78,21 @@ StripeAuBankAccountElementOptions, | ||
///////////////////////////// | ||
/// paymentMethodMessaging | ||
///////////////////////////// | ||
/** | ||
* Creates an `paymentMethodMessagingElement`. | ||
*/ | ||
create( | ||
elementType: 'paymentMethodMessaging', | ||
options: StripePaymentMethodMessagingElementOptions | ||
): StripePaymentMethodMessagingElement; | ||
/** | ||
* Looks up a previously created `Element` by its type. | ||
*/ | ||
getElement( | ||
elementType: 'paymentMethodMessaging' | ||
): StripePaymentMethodMessagingElement | null; | ||
///////////////////////////// | ||
/// affirmMessage | ||
@@ -78,0 +99,0 @@ ///////////////////////////// |
@@ -174,2 +174,4 @@ import {StripeElementBase, StripeElementChangeEvent} from './base'; | ||
name?: string | null; | ||
firstName?: string | null; | ||
lastName?: string | null; | ||
address?: { | ||
@@ -201,2 +203,9 @@ line1?: string | null; | ||
}; | ||
/** | ||
* Specify display options in the AddressElement | ||
*/ | ||
display?: { | ||
name?: 'full' | 'split' | 'organization'; | ||
}; | ||
} | ||
@@ -236,2 +245,4 @@ | ||
name: string; | ||
firstName?: string; | ||
lastName?: string; | ||
address: { | ||
@@ -238,0 +249,0 @@ line1: string; |
export * from './address'; | ||
export * from './payment-method-messaging'; | ||
export * from './affirm-message'; | ||
@@ -3,0 +4,0 @@ export * from './afterpay-clearpay-message'; |
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
369316
60
9906
1