@types/paypal-checkout-components
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -15,35 +15,35 @@ import { Environment, ButtonStyle } from './configuration'; | ||
options: { | ||
env?: Environment; | ||
style?: ButtonStyle; | ||
locale?: string; | ||
env?: Environment | undefined; | ||
style?: ButtonStyle | undefined; | ||
locale?: string | undefined; | ||
payment?: () => Promise<string>; | ||
payment?: (() => Promise<string>) | undefined; | ||
onAuthorize: (data: AuthorizationData, actions: object) => Promise<AuthorizationResponse>; | ||
onCancel?: (data: CancellationData, actions: object) => void; | ||
onError?: (error: string) => void; | ||
onShippingChange?: () => void; | ||
onAuth?: (data: string | object) => object; | ||
accessToken?: () => void; | ||
onClose?: () => void; | ||
onCancel?: ((data: CancellationData, actions: object) => void) | undefined; | ||
onError?: ((error: string) => void) | undefined; | ||
onShippingChange?: (() => void) | undefined; | ||
onAuth?: ((data: string | object) => object) | undefined; | ||
accessToken?: (() => void) | undefined; | ||
onClose?: (() => void) | undefined; | ||
funding?: { | ||
allowed?: FundingOption[]; | ||
disallowed?: FundingOption[]; | ||
}; | ||
allowed?: FundingOption[] | undefined; | ||
disallowed?: FundingOption[] | undefined; | ||
} | undefined; | ||
sessionID?: string; | ||
buttonSessionID?: string; | ||
meta?: object; | ||
stage?: string; | ||
stageUrl?: string; | ||
authCode?: string; | ||
localhostUrl?: string; | ||
checkoutUri?: string; | ||
client?: object; | ||
commit?: boolean; | ||
experience?: object; | ||
fundingSource?: string; | ||
fundingOffered?: object; | ||
logLevel?: string; | ||
test?: object; | ||
sessionID?: string | undefined; | ||
buttonSessionID?: string | undefined; | ||
meta?: object | undefined; | ||
stage?: string | undefined; | ||
stageUrl?: string | undefined; | ||
authCode?: string | undefined; | ||
localhostUrl?: string | undefined; | ||
checkoutUri?: string | undefined; | ||
client?: object | undefined; | ||
commit?: boolean | undefined; | ||
experience?: object | undefined; | ||
fundingSource?: string | undefined; | ||
fundingOffered?: object | undefined; | ||
logLevel?: string | undefined; | ||
test?: object | undefined; | ||
}, | ||
@@ -50,0 +50,0 @@ selector: string, |
@@ -116,3 +116,3 @@ export enum LineItemKind { | ||
*/ | ||
line2?: string; | ||
line2?: string | undefined; | ||
@@ -142,3 +142,3 @@ /** | ||
*/ | ||
phone?: string; | ||
phone?: string | undefined; | ||
@@ -148,3 +148,3 @@ /** | ||
*/ | ||
recipientName?: string; | ||
recipientName?: string | undefined; | ||
} | ||
@@ -189,4 +189,4 @@ | ||
lastName: string; | ||
countryCode?: string; | ||
phone?: string; | ||
countryCode?: string | undefined; | ||
phone?: string | undefined; | ||
@@ -196,3 +196,3 @@ /** | ||
*/ | ||
shippingAddress?: Address; | ||
shippingAddress?: Address | undefined; | ||
@@ -202,3 +202,3 @@ /** | ||
*/ | ||
billingAddress?: Address; | ||
billingAddress?: Address | undefined; | ||
@@ -208,3 +208,3 @@ /** | ||
*/ | ||
creditFinancingOffered?: CreditFinancingOptions; | ||
creditFinancingOffered?: CreditFinancingOptions | undefined; | ||
} | ||
@@ -263,5 +263,5 @@ | ||
payerId: string; | ||
paymentId?: string; | ||
billingToken?: string; | ||
vault?: boolean; | ||
paymentId?: string | undefined; | ||
billingToken?: string | undefined; | ||
vault?: boolean | undefined; | ||
} | ||
@@ -268,0 +268,0 @@ |
{ | ||
"name": "@types/paypal-checkout-components", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "TypeScript definitions for paypal-checkout-components", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/paypal-checkout-components", | ||
"license": "MIT", | ||
@@ -22,4 +23,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "513c7b4a637fd118b855198d6efcd7bcd772f05a9fdb011fd0a143b18a90223d", | ||
"typeScriptVersion": "3.1" | ||
"typesPublisherContentHash": "a4074e65cc6314d1f6b2bab0740b67e3881d9f20ac3748418f364fafb3c1df56", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 28 Aug 2020 10:08:11 GMT | ||
* Last updated: Wed, 07 Jul 2021 17:02:27 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `paypal` |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
15604
0