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
131
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.43.0 to 1.44.0

types/stripe-js/elements/pay-button.d.ts

2

dist/pure.esm.js

@@ -57,3 +57,3 @@ function _typeof(obj) {

name: 'stripe-js',
version: "1.43.0",
version: "1.44.0",
startTime: startTime

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

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

name: 'stripe-js',
version: "1.43.0",
version: "1.44.0",
startTime: startTime

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

@@ -41,3 +41,3 @@ var V3_URL = 'https://js.stripe.com/v3';

name: 'stripe-js',
version: "1.43.0",
version: "1.44.0",
startTime: startTime

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

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

name: 'stripe-js',
version: "1.43.0",
version: "1.44.0",
startTime: startTime

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

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

@@ -5,0 +5,0 @@ "main": "dist/stripe.js",

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

StripeIssuingCardCopyButtonElementOptions,
StripePayButtonElement,
StripePayButtonElementOptions,
} from './elements';

@@ -375,2 +377,25 @@

/////////////////////////////
/// payButton
/////////////////////////////
/**
* Requires beta access:
* Contact [Stripe support](https://support.stripe.com/) for more information.
*
* Creates a `PayButtonElement`.
*/
create(
elementType: 'payButton',
options?: StripePayButtonElementOptions
): StripePayButtonElement;
/**
* Requires beta access:
* Contact [Stripe support](https://support.stripe.com/) for more information.
*
* Looks up a previously created `Element` by its type.
*/
getElement(elementType: 'payButton'): StripePayButtonElement | null;
/////////////////////////////
/// payment

@@ -510,2 +535,3 @@ /////////////////////////////

| 'p24Bank'
| 'payButtonElement'
| 'payment'

@@ -537,2 +563,3 @@ | 'paymentMethodMessaging'

| StripeP24BankElement
| StripePayButtonElement
| StripePaymentElement

@@ -539,0 +566,0 @@ | StripePaymentMethodMessagingElement

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

export * from './p24-bank';
export * from './pay-button';
export * from './payment-request-button';

@@ -20,0 +21,0 @@ export * from './payment';

@@ -179,7 +179,7 @@ import {StripeElementBase} from './base';

export type WalletOption = 'auto' | 'never';
export type PaymentWalletOption = 'auto' | 'never';
export interface WalletsOption {
applePay?: WalletOption;
googlePay?: WalletOption;
export interface PaymentWalletsOption {
applePay?: PaymentWalletOption;
googlePay?: PaymentWalletOption;
}

@@ -224,3 +224,3 @@

*/
wallets?: WalletsOption;
wallets?: PaymentWalletsOption;
}

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

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