@paypal/sdk-client
Advanced tools
Comparing version
{ | ||
"name": "@paypal/sdk-client", | ||
"version": "4.0.163", | ||
"version": "4.0.164", | ||
"description": "Shared config between PayPal/Braintree.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -50,5 +50,6 @@ "use strict"; | ||
throw new Error(`Unexpected characters in query key for sdk url: ${key}=${val}`); | ||
} | ||
} // assume merchant-id values with an @ character are email addresses | ||
if (key === _sdkConstants.SDK_QUERY_KEYS.MERCHANT_ID) { | ||
if (key === _sdkConstants.SDK_QUERY_KEYS.MERCHANT_ID && val.includes('@')) { | ||
const merchantValues = val.split(","); | ||
@@ -55,0 +56,0 @@ merchantValues.forEach(merchantValue => { |
@@ -46,3 +46,4 @@ /* @flow */ | ||
if (key === SDK_QUERY_KEYS.MERCHANT_ID) { | ||
// assume merchant-id values with an @ character are email addresses | ||
if (key === SDK_QUERY_KEYS.MERCHANT_ID && val.includes('@')) { | ||
const merchantValues = val.split(","); | ||
@@ -49,0 +50,0 @@ merchantValues.forEach(merchantValue => { |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
81376
0.23%1612
0.06%0
-100%