New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/braintree-web

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/braintree-web - npm Package Compare versions

Comparing version 3.94.0 to 3.96.0

braintree-web/american-express.d.ts

73

braintree-web/index.d.ts

@@ -1,9 +0,10 @@

// Type definitions for Braintree-web 3.94
// Type definitions for Braintree-web 3.96
// Project: https://github.com/braintree/braintree-web
// Definitions by: Jason Buckner <https://github.com/jbuckner>
// Daniel Macak <https://github.com/daelmaak>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.1
import { VERSION, BraintreeError, callback } from './modules/core';
import { AmericanExpress } from './modules/american-express';
import { VERSION, BraintreeError, callback } from './core';
import { AmericanExpress, create as americanExpressCreate } from './american-express';
import {

@@ -21,6 +22,7 @@ ApplePay,

ApplePayTokenizeValues,
} from './modules/apple-pay';
import { Client, CreditCardInfo } from './modules/client';
import { DataCollector } from './modules/data-collector';
import { GooglePayment, GooglePaymentTokenizePayload } from './modules/google-payment';
create as applePayCreate,
} from './apple-pay';
import { Client, CreditCardInfo, create as clientCreate } from './client';
import { DataCollector, create as dataCollectorCreate } from './data-collector';
import { GooglePayment, GooglePaymentTokenizePayload, create as googlePaymentCreate } from './google-payment';
import {

@@ -33,8 +35,14 @@ HostedFields,

HostedFieldsBinPayload,
} from './modules/hosted-fields';
import { LocalPayment, LocalPaymentTokenizePayload, LocalPaymentTypes } from './modules/local-payment';
import { PayPal, PayPalTokenizePayload } from './modules/paypal';
import { PayPalCheckout, PayPalCheckoutCreatePaymentOptions } from './modules/paypal-checkout';
import { ThreeDSecure, ThreeDSecureVerifyPayload } from './modules/three-d-secure';
create as hostedFieldsCreate,
} from './hosted-fields';
import {
LocalPayment,
LocalPaymentTokenizePayload,
LocalPaymentTypes,
create as localPaymentCreate,
} from './local-payment';
import { PayPal, PayPalTokenizePayload, create as payPalCreate } from './paypal';
import { PayPalCheckout, PayPalCheckoutCreatePaymentOptions, create as payPalCheckoutCreate } from './paypal-checkout';
import { ThreeDSecure, ThreeDSecureVerifyPayload, create as threeDSecureCreate } from './three-d-secure';
import {
UnionPay,

@@ -44,22 +52,27 @@ UnionPayFetchCapabilitiesPayload,

UnionPayTokenizePayload,
} from './modules/unionpay';
import { USBankAccount } from './modules/us-bank-account';
import { VaultManager, FetchPaymentMethodsPayload } from './modules/vault-manager';
import { Venmo, VenmoTokenizePayload } from './modules/venmo';
create as unionPayCreate,
} from './unionpay';
import { USBankAccount, create as usBankAccountCreate } from './us-bank-account';
import { VaultManager, FetchPaymentMethodsPayload, create as vaultManagerCreate } from './vault-manager';
import { Venmo, VenmoTokenizePayload, create as venmoCreate } from './venmo';
export const americanExpress: AmericanExpress;
export const applePay: ApplePay;
export const client: Client;
export const dataCollector: DataCollector;
export const googlePayment: GooglePayment;
export const hostedFields: HostedFields;
export const localPayment: LocalPayment;
export const paypal: PayPal;
export const paypalCheckout: PayPalCheckout;
export const threeDSecure: ThreeDSecure;
export const unionpay: UnionPay;
export const usBankAccount: USBankAccount;
export const vaultManager: typeof VaultManager;
export const venmo: Venmo;
interface PaymentClient<T> {
create: T;
}
export const americanExpress: PaymentClient<typeof americanExpressCreate>;
export const applePay: PaymentClient<typeof applePayCreate>;
export const client: PaymentClient<typeof clientCreate>;
export const dataCollector: PaymentClient<typeof dataCollectorCreate>;
export const googlePayment: PaymentClient<typeof googlePaymentCreate>;
export const hostedFields: PaymentClient<typeof hostedFieldsCreate>;
export const localPayment: PaymentClient<typeof localPaymentCreate>;
export const paypal: PaymentClient<typeof payPalCreate>;
export const paypalCheckout: PaymentClient<typeof payPalCheckoutCreate>;
export const threeDSecure: PaymentClient<typeof threeDSecureCreate>;
export const unionpay: PaymentClient<typeof unionPayCreate>;
export const usBankAccount: PaymentClient<typeof usBankAccountCreate>;
export const vaultManager: PaymentClient<typeof vaultManagerCreate>;
export const venmo: PaymentClient<typeof venmoCreate>;
export {

@@ -66,0 +79,0 @@ VERSION,

{
"name": "@types/braintree-web",
"version": "3.94.0",
"version": "3.96.0",
"description": "TypeScript definitions for Braintree-web",

@@ -12,2 +12,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/braintree-web",

"githubUsername": "jbuckner"
},
{
"name": "Daniel Macak",
"url": "https://github.com/daelmaak",
"githubUsername": "daelmaak"
}

@@ -27,4 +32,4 @@ ],

},
"typesPublisherContentHash": "3b0d24c41a8ceb0a50b8c371f4a96b0f0bf4618fc10ffc75d71db6d5adae4bd8",
"typesPublisherContentHash": "2377d613af66e2a79087a61ca92023453fe257ee3bf95478602e1d70048d510a",
"typeScriptVersion": "4.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 07 Aug 2023 23:02:52 GMT
* Last updated: Thu, 10 Aug 2023 23:02:49 GMT
* Dependencies: [@types/googlepay](https://npmjs.com/package/@types/googlepay), [@types/paypal-checkout-components](https://npmjs.com/package/@types/paypal-checkout-components)

@@ -17,2 +17,2 @@ * Global values: `braintree`

# Credits
These definitions were written by [Jason Buckner](https://github.com/jbuckner).
These definitions were written by [Jason Buckner](https://github.com/jbuckner), and [Daniel Macak](https://github.com/daelmaak).
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