@paypal/funding-components
Advanced tools
Comparing version 1.0.32-alpha.1 to 1.0.32-alpha.2
{ | ||
"name": "@paypal/funding-components", | ||
"version": "1.0.32-alpha.1", | ||
"version": "1.0.32-alpha.2", | ||
"description": "PayPal Funding Components.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -168,12 +168,8 @@ /* @flow */ | ||
fetch: (data) => { | ||
if (isPayPalDomain()) { | ||
return callRestAPI({ | ||
method: "POST", | ||
url: `${BASE_API_URL[getEnv()]}/${ELIGIBLE_PAYMENT_METHODS}`, | ||
data, | ||
}) | ||
} | ||
throw new Error(`Funding eligibility is not supported`) | ||
return callRestAPI({ | ||
method: "POST", | ||
url: `${BASE_API_URL[getEnv()]}/${ELIGIBLE_PAYMENT_METHODS}`, | ||
data, | ||
}) | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
34916
541