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.96.1 to 3.96.2

30

braintree-web/hosted-fields.d.ts

@@ -199,2 +199,10 @@ import { callback } from './core';

/**
* @description Fields used in setMessage() for modifying a HostedFields instance's visually hidden message.
*/
export interface HostedFieldMessageOptions {
field: HostedFieldsHostedFieldsFieldName;
message: string;
}
export interface HostedFields {

@@ -441,2 +449,24 @@ /**

removeAttribute(options: HostedFieldAttributeOptions, callback?: callback): void;
/**
* Sets a visually hidden message (for screen readers) on a {@link module:braintree-web/hosted-fields~field field}.
*
* @param options The options for the attribute you wish to set.
* @param options.field The field to which you wish to add an attribute. Must be a valid {@link module:braintree-web/hosted-fields~fieldOptions fieldOption}.
* @param options.message The value for the attributeThe message to set.
*
* @example <caption>Set an error message on a field</caption>
* hostedFieldsInstance.setMessage({
* field: 'number',
* message: 'Invalid card number'
* });
*
* @example <caption>Remove the message on a field</caption>
* hostedFieldsInstance.setMessage({
* field: 'number',
* message: ''
* });
*
*/
setMessage(options: HostedFieldMessageOptions): void;
}

@@ -443,0 +473,0 @@

4

braintree-web/package.json
{
"name": "@types/braintree-web",
"version": "3.96.1",
"version": "3.96.2",
"description": "TypeScript definitions for Braintree-web",

@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/braintree-web",

},
"typesPublisherContentHash": "8c5e461377fa6f1a9fdbebf479940f37d91bd5befc206e6467c60ed996da197f",
"typesPublisherContentHash": "0131d639db20f3cadfeeaed2bd08737cdeb72f70f126977430e2c63275ccdf17",
"typeScriptVersion": "4.3"
}

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

### Additional Details
* Last updated: Fri, 11 Aug 2023 06:32:48 GMT
* Last updated: Wed, 16 Aug 2023 10:03:09 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`

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