@types/braintree-web
Advanced tools
Comparing version 3.96.5 to 3.96.6
@@ -16,2 +16,22 @@ import { Client } from "./client"; | ||
export interface HostedFieldsFieldSupportedCardBrands { | ||
/** | ||
* The options for supporting card brands as either valid or invalid. | ||
* Only applicable for the credit card number field. | ||
* An object used in {@link module:braintree-web/hosted-fields~field field objects} | ||
*/ | ||
visa?: boolean | undefined; | ||
mastercard?: boolean | undefined; | ||
"american-express"?: boolean | undefined; | ||
"diners-club"?: boolean | undefined; | ||
discover?: boolean | undefined; | ||
jcb?: boolean | undefined; | ||
"union-pay"?: boolean | undefined; | ||
maestro?: boolean | undefined; | ||
elo?: boolean | undefined; | ||
mir?: boolean | undefined; | ||
hiper?: boolean | undefined; | ||
hipercard?: boolean | undefined; | ||
} | ||
/** | ||
@@ -36,2 +56,3 @@ * Fields used in {@link module:braintree-web/hosted-fields~fieldOptions fields options} | ||
rejectUnsupportedCards?: boolean | undefined; | ||
supportedCardBrands?: HostedFieldsFieldSupportedCardBrands | undefined; | ||
} | ||
@@ -38,0 +59,0 @@ |
{ | ||
"name": "@types/braintree-web", | ||
"version": "3.96.5", | ||
"version": "3.96.6", | ||
"description": "TypeScript definitions for Braintree-web", | ||
@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/braintree-web", | ||
}, | ||
"typesPublisherContentHash": "f0e201fb4498349bc86cae3ac7d67e65c549a38016f59912ab87e6ebb81fb0c0", | ||
"typesPublisherContentHash": "d9f9cceadfda0901aa9f7f048c9768239085f0e2594c5ef5d0cf25fe5f38e3d4", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -40,2 +40,3 @@ /// <reference types="paypal-checkout-components" /> | ||
// tslint:disable:no-redundant-jsdoc | ||
/** | ||
@@ -51,3 +52,4 @@ * By default, the PayPal SDK defaults to an intent of capture. Since the default intent when | ||
intent?: "authorize" | "capture" | "sale" | "tokenize" | undefined; | ||
// tslint:disable:no-redundant-jsdoc | ||
/** | ||
@@ -65,2 +67,3 @@ * If a currency is passed in createPayment, it must match the currency passed here. | ||
// tslint:disable:no-redundant-jsdoc | ||
/** | ||
@@ -70,3 +73,3 @@ * By default, the Braintree SDK will only load the PayPal smart buttons component. If you would | ||
* buttons,messages | ||
* | ||
* | ||
* @default 'buttons' | ||
@@ -73,0 +76,0 @@ */ |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 15 Sep 2023 19:06:48 GMT | ||
* Last updated: Mon, 02 Oct 2023 14:06:05 GMT | ||
* Dependencies: [@types/googlepay](https://npmjs.com/package/@types/googlepay), [@types/paypal-checkout-components](https://npmjs.com/package/@types/paypal-checkout-components) | ||
@@ -14,0 +14,0 @@ * Global values: `braintree` |
111879
2804