simple-oauth2-ts-client
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -66,3 +66,3 @@ "use strict"; | ||
if (axios_1.default.isAxiosError(error) && ((_c = (_b = error.response) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.error)) { | ||
throw new Error(`Failed to get access token: ${error.response.data.error_description || error.response.data.error} ${JSON.stringify(error.response.data)}`); | ||
throw new Error(`Failed to get access token: ${error.response.data.error_description || error.response.data.error} ${JSON.stringify(error)}`); | ||
} | ||
@@ -69,0 +69,0 @@ else if (error instanceof Error) { |
{ | ||
"name": "simple-oauth2-ts-client", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "A TypeScript OAuth 2.0 client library", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
37273