@stripe/stripe-js
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
449877
72
12147
0