@c-shell/spotify-api-hook
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -158,5 +158,8 @@ "use strict"; | ||
}).then(function (data) { | ||
console.log({ | ||
data: data | ||
}); | ||
return data; | ||
})["catch"](function (error) { | ||
console.error(error); | ||
console.error('error', error); | ||
setError({ | ||
@@ -163,0 +166,0 @@ message: (error === null || error === void 0 ? void 0 : error.message) || 'Something went wrong.', |
@@ -133,5 +133,8 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); } | ||
}).then(function (data) { | ||
console.log({ | ||
data: data | ||
}); | ||
return data; | ||
})["catch"](function (error) { | ||
console.error(error); | ||
console.error('error', error); | ||
setError({ | ||
@@ -138,0 +141,0 @@ message: (error === null || error === void 0 ? void 0 : error.message) || 'Something went wrong.', |
{ | ||
"name": "@c-shell/spotify-api-hook", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A hook for easily setup and use of the spotify API", | ||
@@ -5,0 +5,0 @@ "main": "cjs/index.js", |
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
21458
344