New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@paypal/sdk-client

Package Overview
Dependencies
Maintainers
10
Versions
167
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

to
4.0.90

2

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

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

@@ -51,3 +51,3 @@ /* @flow */

export function getNamespace() : string {
export function getDefaultNamespace() : string {
return __NAMESPACE__;

@@ -54,0 +54,0 @@ }

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

import { getHost, getPath, getDefaultStageHost, getDefaultAPIStageHost, getEnv } from './globals';
import { getHost, getPath, getDefaultStageHost, getDefaultAPIStageHost, getEnv, getDefaultNamespace } from './globals';

@@ -131,2 +131,6 @@ export const CLIENT_ID_ALIAS = {

export function getNamespace() : string {
return getSDKAttribute(SDK_SETTINGS.NAMESPACE) || getDefaultNamespace();
}
export function getClientToken() : ?string {

@@ -133,0 +137,0 @@ return getSDKAttribute(SDK_SETTINGS.CLIENT_TOKEN);

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

import { getNamespace } from './globals';
import { getNamespace } from './script';

@@ -8,0 +8,0 @@ function getSDKStorage() : Storage {

@@ -5,4 +5,4 @@ /* @flow */

import { getNamespace, getVersion } from './globals';
import { getSDKScript } from './script';
import { getVersion } from './globals';
import { getSDKScript, getNamespace } from './script';

@@ -9,0 +9,0 @@ export type SetupComponent<T> = {|