Socket
Socket
Sign inDemoInstall

paypal-braintree-web-client

Package Overview
Dependencies
8
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.35 to 4.0.36

2

package.json
{
"name": "paypal-braintree-web-client",
"version": "4.0.35",
"version": "4.0.36",
"description": "Shared config between PayPal/Braintree.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -13,2 +13,3 @@ /* @flow */

declare var __ENV__ : $Values<typeof ENV>;
declare var __BUYER_COUNTRY__: $Values<typeof COUNTRY>;
declare var __LOCALE_COUNTRY__ : $Values<typeof COUNTRY>;

@@ -15,0 +16,0 @@ declare var __DEBUG__ : boolean;

@@ -26,3 +26,7 @@ /* @flow */

export function getBuyerCountry() : $Values<typeof COUNTRY> {
// Change to buyer country
if (typeof __BUYER_COUNTRY__ !== 'undefined') {
return __BUYER_COUNTRY__;
}
// Remove
return __LOCALE_COUNTRY__;

@@ -29,0 +33,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc