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

braintree-web

Package Overview
Dependencies
Maintainers
0
Versions
282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

braintree-web - npm Package Versions

1
29

3.4.0

Diff

Changelog

Source

3.4.0

  • Client
    • More helpful error when a client token is generated with insufficient privileges
  • Hosted Fields
    • Fix a bug where IE9 inputs would stutter when formatting
    • Enable input formatting on Android
  • Apple Pay
    • Add support for Apple Pay integrations that are web-only
  • UnionPay
    • Return a proper error when calling some functions without callbacks
braintree
published 2.15.6 •

braintree
published 3.3.0 •

Changelog

Source

3.3.0

  • The index.js and debug.js files are now full braintree-web bundles and can be safely loaded in non-CommonJS environments
  • Hosted Fields
    • Add input formatting to browsers on iOS
    • Maestro cards beginning with 6 are now correctly identified
  • Data Collector
    • Use custom build of SJCL to reduce file size
braintree
published 2.29.0 •

braintree
published 3.2.0 •

Changelog

Source

3.2.0

  • Hosted Fields
    • Add type property for field configuration to allow things such as type: "password" for input masking of particular fields
    • For browsers that support it, the month input type can be used for expirationDate
    • Fix a bug where unformatted expirationDate inputs would fail validation if user typed in a space, hyphen or slash
  • PayPal
    • Utility iframes are now annotated with the braintree-dispatch-frame class to assist with CSS targeting
braintree
published 3.1.0 •

Changelog

Source

3.1.0

  • PayPal
    • Add focus handle to tokenize method
    • Move a utility iframe far out of view with position: absolute

BREAKING CHANGES

  • Apple Pay
    • Fix a bug with tokenization parameters—no more workaround required
braintree
published 2.28.0 •

braintree
published 3.0.2 •

Changelog

Source

3.0.2

  • Client
    • Provide better error messaging when actions that require a client token are attempted with a tokenization key
  • Hosted Fields
    • Pass back client error when attempting to vault with an invalid authorization
  • UnionPay
    • Pass back client error when attempting to vault with an invalid authorization
    • Remove vault option from tokenization
  • Apple Pay
    • Add merchantIdentifier property for use with ApplePaySession.canMakePaymentsWithActiveCard
    • Fix a bug where decoratePaymentRequest (now called createPaymentRequest) failed to set merchantCapabilities. The default is now ['supports3DS'], which is the most commonly used value.

BREAKING CHANGES

  • Apple Pay
    • decoratePaymentRequest has been renamed to createPaymentRequest. This method returns a new object and does not mutate the argument
    • Return better error messages when Apple Pay merchant domain validation fails
    • The error code APPLE_PAY_MERCHANT_VALIDATION has been replaced with APPLE_PAY_MERCHANT_VALIDATION_FAILED and APPLE_PAY_MERCHANT_VALIDATION_NETWORK
braintree
published 3.0.1 •

Changelog

Source

3.0.1

  • PayPal
    • Fix a bug where vault flows that used a tokenization key could not tokenize
braintree
published 3.0.0 •

Changelog

Source

3.0.0

  • Add prefix to BraintreeError codes to prevent namespace collisions
  • PayPal
    • Return a PAYPAL_POPUP_CLOSED error code when the customer closes the popup
    • Return a PAYPAL_INVALID_PAYMENT_OPTION error code when PayPal options are invalid
    • Fix a bug where some locale codes were not accepted
    • Fix bug where JPY could not be used as PayPal currency
    • vault flows will automatically vault PayPal accounts if client token was generated with a customer id
  • Hosted Fields
    • Automatic input formatting disabled for iOS and Android
  • Apple Pay
    • Use error codes
  • Some wrapped errors were inconsistently placed under the err.details property; they are now under err.details.originalError
  • Client
    • Errors are now always instances of BraintreeError
  • UnionPay
    • Add vault as an option to tokenize which allows cards to be vaulted on tokenization
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