@paypal/sdk-client
Advanced tools
Comparing version 4.0.54 to 4.0.55
{ | ||
"name": "@paypal/sdk-client", | ||
"version": "4.0.54", | ||
"version": "4.0.55", | ||
"description": "Shared config between PayPal/Braintree.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,1 +13,2 @@ /* @flow */ | ||
export * from './session'; | ||
export * from './test'; |
/* @flow */ | ||
import { getNamespace, getVersion } from './globals'; | ||
type Component<T> = {| | ||
name : string, | ||
requirer : () => T, | ||
setupHandler : ?string | ||
setupHandler? : string | ||
|}; | ||
export function setupSDK(namespace : string, version : string, components : $ReadOnlyArray<Component<mixed>>) { | ||
export function setupSDK(components : $ReadOnlyArray<Component<mixed>>) { | ||
const namespace = getNamespace(); | ||
const version = getVersion(); | ||
const INTERNAL_DESTROY_KEY = `__destroy_${ version }_internal__`; | ||
@@ -11,0 +16,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
58067
27
1061