Socket
Socket
Sign inDemoInstall

@stripe/stripe-js

Package Overview
Dependencies
Maintainers
18
Versions
126
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 3.2.0 to 3.3.0

2

dist/index.js

@@ -45,3 +45,3 @@ 'use strict';

name: 'stripe-js',
version: "3.2.0",
version: "3.3.0",
startTime: startTime

@@ -48,0 +48,0 @@ });

@@ -61,3 +61,3 @@ 'use strict';

name: 'stripe-js',
version: "3.2.0",
version: "3.3.0",
startTime: startTime

@@ -64,0 +64,0 @@ });

@@ -30,4 +30,2 @@ import {

StripeCardElementOptions,
StripeCartElement,
StripeCartElementOptions,
StripeAuBankAccountElement,

@@ -239,25 +237,2 @@ StripeAfterpayClearpayMessageElementOptions,

/////////////////////////////
/// cart
/////////////////////////////
/**
* Requires beta access:
* Contact [Stripe support](https://support.stripe.com/) for more information.
*
* Creates a `CartElement`.
*/
create(
elementType: 'cart',
options: StripeCartElementOptions
): StripeCartElement;
/**
* Requires beta access:
* Contact [Stripe support](https://support.stripe.com/) for more information.
*
* Looks up a previously created `Element` by its type.
*/
getElement(elementType: 'cart'): StripeCartElement | null;
/////////////////////////////
/// fpxBank

@@ -526,3 +501,2 @@ /////////////////////////////

| 'cardCvc'
| 'cart'
| 'epsBank'

@@ -554,3 +528,2 @@ | 'expressCheckout'

| StripeCardCvcElement
| StripeCartElement
| StripeEpsBankElement

@@ -557,0 +530,0 @@ | StripeFpxBankElement

@@ -53,2 +53,3 @@ export type ApplePayRecurringPaymentRequestIntervalUnit =

regularBilling: ApplePayRegularBilling;
trialBilling?: ApplePayRegularBilling;

@@ -55,0 +56,0 @@ /**

@@ -7,2 +7,3 @@ import {

} from './base';
import {StripeError} from '../stripe';
import {CardNetworkBrand} from '../elements-group';

@@ -108,2 +109,18 @@

/**
* Triggered when the element fails to load.
*/
on(
eventType: 'loaderror',
handler: (event: {elementType: 'cardNumber'; error: StripeError}) => any
): StripeCardNumberElement;
once(
eventType: 'loaderror',
handler: (event: {elementType: 'cardNumber'; error: StripeError}) => any
): StripeCardNumberElement;
off(
eventType: 'loaderror',
handler?: (event: {elementType: 'cardNumber'; error: StripeError}) => any
): StripeCardNumberElement;
/**
* Updates the options the `CardNumberElement` was initialized with.

@@ -110,0 +127,0 @@ * Updates are merged into the existing configuration.

@@ -7,2 +7,3 @@ import {

} from './base';
import {StripeError} from '../stripe';
import {CardNetworkBrand} from '../elements-group';

@@ -108,2 +109,18 @@

/**
* Triggered when the element fails to load.
*/
on(
eventType: 'loaderror',
handler: (event: {elementType: 'card'; error: StripeError}) => any
): StripeCardElement;
once(
eventType: 'loaderror',
handler: (event: {elementType: 'card'; error: StripeError}) => any
): StripeCardElement;
off(
eventType: 'loaderror',
handler?: (event: {elementType: 'card'; error: StripeError}) => any
): StripeCardElement;
/**
* Updates the options the `CardElement` was initialized with.

@@ -110,0 +127,0 @@ * Updates are merged into the existing configuration.

@@ -11,3 +11,2 @@ export * from './address';

export * from './card';
export * from './cart';
export * from './eps-bank';

@@ -14,0 +13,0 @@ export * from './express-checkout';

@@ -241,2 +241,7 @@ import {Token, PaymentMethod, Source} from '../api';

/**
* The Stripe account ID which is the business of record.
*/
onBehalfOf?: string;
/**
* @deprecated

@@ -243,0 +248,0 @@ * Use disableWallets instead.

{
"name": "@stripe/stripe-js",
"version": "3.2.0",
"version": "3.3.0",
"description": "Stripe.js loading utility",

@@ -5,0 +5,0 @@ "repository": "github:stripe/stripe-js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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