Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stripe/stripe-js

Package Overview
Dependencies
Maintainers
12
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stripe/stripe-js - npm Package Compare versions

Comparing version 1.37.0 to 1.38.0

types/stripe-js/elements/payment-method-messaging.d.ts

2

dist/pure.esm.js

@@ -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';

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc