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.0.0-beta.6

Diff

Changelog

Source

3.0.0-beta.6

  • Hosted Fields
    • postalCode field now has a maximum length of 10 characters
    • Fix issues when pasting into fields
  • UnionPay
    • Added support for UnionPay and Hosted Fields
    • Updated the API
    • Added teardown to cleanly destroy a UnionPay instance
  • PayPal
    • Add support for billingAgreementDescription

BREAKING CHANGES

  • UnionPay
    • fetchCapabilities now takes card: {number: '4111'} instead of cardNumber: '4111'
    • enroll now takes mobile phone data under the mobile property instead of the card property
    • enroll now returns a property called enrollmentId instead of unionpayEnrollmentId
    • Removed the options.options property from tokenize; smsCode and enrollmentId are now top-level options
braintree
published 2.15.5 •

braintree
published 2.24.0 •

braintree
published 3.0.0-beta.5 •

Changelog

Source

3.0.0-beta.5

  • Improve documentation of callbacks
  • Hosted Fields
    • Calling methods (such as tokenize or setPlaceholder) after Hosted Fields has been torn down throws an error
  • PayPal
    • Calling methods (such as tokenize) after PayPal has been torn down throws an error
  • DataCollector
    • Throw an error when trying to tear down twice
  • American Express
    • getRewardsBalance to get the rewards balance of a Braintree nonce
    • getExpressCheckoutProfile to get the Express Checkout profile of an Amex nonce
  • UnionPay
    • fetchCapabilities to fetch card capabilities, and determine if a card requires enrollment
    • enroll to process enrollment for a card
    • tokenize UnionPay cards
braintree
published 2.23.0 •

braintree
published 3.0.0-beta.4 •

Changelog

Source

3.0.0-beta.4

  • Client
    • client components no longer have a teardown function
  • Hosted Fields
    • Add setPlaceholder to allow dynamic updating of field placeholders
    • Client component version must match Hosted Fields' component version
    • Throw BraintreeError if tokenize does not include a callback
  • PayPal
    • Bugfixes in teardown
    • Client component version must match PayPal's component version
    • Make teardown callback optional
    • Throw BraintreeError if tokenize does not include a callback
braintree
published 3.0.0-beta.3 •

Changelog

Source

3.0.0-beta.3

  • npm packaging fixes
braintree
published 2.22.2 •

braintree
published 2.22.1 •

braintree
published 2.21.0 •

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