Skip to content

Commit

Permalink
Release braintree-web 3.97.2 source
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Plukarski <[email protected]>
  • Loading branch information
braintreeps committed Sep 20, 2023
1 parent ed5040d commit 1671fc6
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 44 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

# 3.97.2
- JS Docs
- PayPal
- Add clarification to `updatePayment` options
- Apple Pay
- Updated `displayName` docs for `performValidation` to indicate that maximium length is 64 characters

# 3.97.1

- JS docs
Expand Down
76 changes: 35 additions & 41 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "braintree-web",
"version": "3.97.1",
"version": "3.97.2",
"license": "MIT",
"main": "src/index.js",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion src/apple-pay/apple-pay.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ ApplePay.prototype._createPaymentRequestSynchronously = function (
* @public
* @param {object} options Options
* @param {string} options.validationURL The validationURL from an `ApplePayValidateMerchantEvent`.
* @param {string} options.displayName The canonical name for your store. Use a non-localized name. This parameter should be a UTF-8 string that is a maximum of 128 characters. The system may display this name to the user.
* @param {string} options.displayName The canonical name for your store. Use a non-localized name. This parameter should be a UTF-8 string that is a maximum of 64 characters. The system may display this name to the user.
* @param {callback} [callback] The second argument, <code>data</code>, is the Apple Pay merchant session object. If no callback is provided, `performValidation` returns a promise.
* Pass the merchant session to your Apple Pay session's `completeMerchantValidation` method.
* @returns {(Promise|void)} Returns a promise if no callback is provided.
Expand Down
2 changes: 1 addition & 1 deletion src/paypal-checkout/paypal-checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ PayPalCheckout.prototype._createPaymentResource = function (options, config) {
* @public
* @param {object} options All options for the PayPalCheckout component.
* @param {string} options.paymentId This should be PayPal `paymentId`.
* @param {(string|number)} [options.amount] The amount of the transaction, including the amount of the selected shipping option.
* @param {(string|number)} options.amount The amount of the transaction, including the amount of the selected shipping option, and all `line_items`.
* * Supports up to 2 decimal digits.
* @param {string} options.currency The currency code of the amount, such as 'USD'. Required when using the Checkout flow.
* @param {shippingOption[]} [options.shippingOptions] List of {@link PayPalCheckout~shippingOption|shipping options} offered by the payee or merchant to the payer to ship or pick up their items.
Expand Down
1 change: 1 addition & 0 deletions src/three-d-secure/external/three-d-secure.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ EventEmitter.createChild(ThreeDSecure);
* // Decide if you want to submit the nonce
* }
* });
* @example
* <caption>Verifying a payment method nonce with 3DS 2.0 with onLookupComplete callback</caption>
* var my3DSContainer;
*
Expand Down

0 comments on commit 1671fc6

Please sign in to comment.