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

@stripe/stripe-js

Package Overview
Dependencies
Maintainers
11
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.36.0 to 1.37.0

types/stripe-js/elements/address.d.ts

2

dist/pure.esm.js

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

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