@paypal/react-paypal-js
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -326,5 +326,5 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
var cleanup = function cleanup() { | ||
var _buttons$current; | ||
buttons === null || buttons === void 0 ? void 0 : (_buttons$current = buttons.current) === null || _buttons$current === void 0 ? void 0 : _buttons$current.close(); | ||
if (buttons.current !== null) { | ||
buttons.current.close(); | ||
} | ||
}; // verify the sdk script has successfully loaded | ||
@@ -331,0 +331,0 @@ |
@@ -286,3 +286,5 @@ 'use strict'; | ||
const cleanup = () => { | ||
buttons?.current?.close(); | ||
if (buttons.current !== null) { | ||
buttons.current.close(); | ||
} | ||
}; | ||
@@ -289,0 +291,0 @@ // verify the sdk script has successfully loaded |
{ | ||
"name": "@paypal/react-paypal-js", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "React components for the PayPal JS SDK", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
1241
75511