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.4.1 to 3.5.0

18

dist/api/payment-methods.d.ts

@@ -406,3 +406,3 @@ import {StripeElement, StripeElements} from '../stripe-js';

*/
email?: string;
email?: string | null;

@@ -412,3 +412,3 @@ /**

*/
name?: string;
name?: string | null;

@@ -418,3 +418,3 @@ /**

*/
phone?: string;
phone?: string | null;
}

@@ -427,3 +427,3 @@

*/
city?: string;
city?: string | null;

@@ -433,3 +433,3 @@ /**

*/
country?: string;
country?: string | null;

@@ -439,3 +439,3 @@ /**

*/
line1?: string;
line1?: string | null;

@@ -445,3 +445,3 @@ /**

*/
line2?: string;
line2?: string | null;

@@ -451,3 +451,3 @@ /**

*/
postal_code?: string;
postal_code?: string | null;

@@ -457,5 +457,5 @@ /**

*/
state?: string;
state?: string | null;
}
}
}

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

name: 'stripe-js',
version: "3.4.0",
version: "3.4.1",
startTime: startTime

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

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

name: 'stripe-js',
version: "3.4.0",
version: "3.4.1",
startTime: startTime

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

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

layout: StripeExpressCheckoutElementOptions['layout'];
paymentMethodOrder: StripeExpressCheckoutElementOptions['paymentMethodOrder'];
};

@@ -226,0 +227,0 @@

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

export interface CreatePaymentMethodMobilepayData
extends PaymentMethodCreateParams {
type: 'mobilepay';
}
export interface CreatePaymentMethodOxxoData extends PaymentMethodCreateParams {

@@ -1045,2 +1050,33 @@ type: 'oxxo';

/**
* Data to be sent with a `stripe.confirmMobilepayPayment` request.
* Refer to the [Payment Intents API](https://stripe.com/docs/api/payment_intents/confirm) for a full list of parameters.
*/
export interface ConfirmMobilepayPaymentData
extends PaymentIntentConfirmParams {
/**
* The `id` of an existing [PaymentMethod](https://stripe.com/docs/api/payment_methods).
* This field is optional if a `PaymentMethod` has already been attached to this `PaymentIntent` or a new `PaymentMethod` will be created.
*
* @recommended
*/
payment_method?: string | Omit<CreatePaymentMethodMobilepayData, 'type'>;
/**
* The url your customer will be directed to after they complete authentication.
*/
return_url?: string;
}
/**
* An options object to control the behavior of `stripe.confirmMobilepayPayment`.
*/
export interface ConfirmMobilepayPaymentOptions {
/**
* Set this to `false` if you want to [manually handle the redirect](https://docs.stripe.com/payments/mobilepay/accept-a-payment?web-or-mobile=web&payments-ui-type=direct-api#web-confirm-payment-intent).
* Default is `true`.
*/
handleActions?: boolean;
}
/**
* Data to be sent with a `stripe.confirmOxxoPayment` request.

@@ -1047,0 +1083,0 @@ * Refer to the [Payment Intents API](https://stripe.com/docs/api/payment_intents/confirm) for a full list of parameters.

{
"name": "@stripe/stripe-js",
"version": "3.4.1",
"version": "3.5.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 too big to display

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