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

@stripe/stripe-js

Package Overview
Dependencies
Maintainers
17
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 2.2.1 to 2.2.2

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

2

dist/pure.esm.js

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

name: 'stripe-js',
version: "2.2.1",
version: "2.2.2",
startTime: startTime

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

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

name: 'stripe-js',
version: "2.2.1",
version: "2.2.2",
startTime: startTime

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

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

name: 'stripe-js',
version: "2.2.1",
version: "2.2.2",
startTime: startTime

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

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

name: 'stripe-js',
version: "2.2.1",
version: "2.2.2",
startTime: startTime

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

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

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

import {StripeElementBase} from './base';
import {StripeError} from '../stripe';
import {ApplePayOption, ApplePayUpdateOption} from './apple-pay';

@@ -365,25 +366,2 @@ export type StripeExpressCheckoutElement = StripeElementBase & {

export type RecurringPaymentIntervalUnit =
| 'year'
| 'month'
| 'day'
| 'hour'
| 'minute';
export type ApplePayOption = {
recurringPaymentRequest?: {
paymentDescription: string;
managementURL: string;
regularBilling: {
amount: number;
label: string;
recurringPaymentStartDate?: Date;
recurringPaymentEndDate?: Date;
recurringPaymentIntervalUnit?: RecurringPaymentIntervalUnit;
recurringPaymentIntervalCount?: number;
};
billingAgreement?: string;
};
};
export type ClickResolveDetails = {

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

shippingRates?: Array<ShippingRate>;
applePay?: ApplePayUpdateOption;
};

@@ -457,0 +436,0 @@

import {StripeElementBase} from './base';
import {StripeError} from '../stripe';
import {ApplePayOption} from './apple-pay';

@@ -242,2 +243,7 @@ export type StripePaymentElement = StripeElementBase & {

layout?: Layout | LayoutObject;
/**
* Specify the options to be used when the Apple Pay payment interface opens.
*/
applePay?: ApplePayOption;
}

@@ -244,0 +250,0 @@

import {Token, PaymentMethod, Source} from '../api';
import {ApplePayOption, ApplePayUpdateOption} from './elements/apple-pay';

@@ -157,2 +158,7 @@ export interface PaymentRequest {

shippingOptions?: PaymentRequestShippingOption[];
/**
* Specify the options to be used when the Apple Pay payment interface opens.
*/
applePay?: ApplePayOption;
}

@@ -231,2 +237,7 @@

/**
* Specify the options to be used when the Apple Pay payment interface opens.
*/
applePay?: ApplePayOption;
/**
* @deprecated

@@ -502,2 +513,7 @@ * Use disableWallets instead.

shippingOptions?: PaymentRequestShippingOption[];
/**
* Specify new options to refresh the Apple Pay payment interface.
*/
applePay?: ApplePayUpdateOption;
}

@@ -504,0 +520,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