Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@paypal/sdk-client

Package Overview
Dependencies
Maintainers
23
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paypal/sdk-client - npm Package Compare versions

Comparing version 4.0.176 to 4.0.177

2

package.json
{
"name": "@paypal/sdk-client",
"version": "4.0.176",
"version": "4.0.177",
"description": "Shared config between PayPal/Braintree.",

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

@@ -170,3 +170,3 @@ "use strict";

attrs
} = sdkMeta ? JSON.parse(Buffer.from(sdkMeta, "base64").toString("utf8")) : _constants.DEFAULT_SDK_META;
} = sdkMeta ? JSON.parse(Buffer.from(decodeURIComponent(sdkMeta), "base64").toString("utf8")) : _constants.DEFAULT_SDK_META;
if (url) {

@@ -173,0 +173,0 @@ validateSDKUrl(url);

@@ -264,3 +264,5 @@ /* @flow */

const { url, attrs } = sdkMeta
? JSON.parse(Buffer.from(sdkMeta, "base64").toString("utf8"))
? JSON.parse(
Buffer.from(decodeURIComponent(sdkMeta), "base64").toString("utf8")
)
: DEFAULT_SDK_META;

@@ -267,0 +269,0 @@

@@ -37,4 +37,6 @@ /* @flow */

if (treatment.indexOf(name) !== -1) {
// $FlowFixMe
log.info(`${treatment}_${checkpoint}`, payload);
} else {
// $FlowFixMe
log.info(`${name}_${treatment}_${checkpoint}`, payload);

@@ -41,0 +43,0 @@ }

@@ -116,4 +116,3 @@ /* @flow */

const isLoadedInFrame = isPayPalDomain() && window.xprops;
const sdkLoadTime =
typeof loadTime === "number" ? loadTime.toString() : undefined;
const sdkLoadTime = typeof loadTime === "number" ? loadTime : undefined;

@@ -120,0 +119,0 @@ logger

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