@injectivelabs/utils
Advanced tools
Comparing version
@@ -23,4 +23,4 @@ "use strict"; | ||
} | ||
return typeof error.response.data === 'string' | ||
? error.response.data | ||
return error.response.data | ||
? error.response.data.message || error.response.data | ||
: error.response.statusText; | ||
@@ -27,0 +27,0 @@ }; |
{ | ||
"name": "@injectivelabs/utils", | ||
"description": "List of utils and helper functions that can be reused throughout Injective's projects.", | ||
"version": "1.0.77", | ||
"version": "1.0.78", | ||
"author": { | ||
@@ -44,3 +44,3 @@ "name": "Bojan Angjelkoski", | ||
}, | ||
"gitHead": "fcdd5f34a9e97376113f95848a8089502a306bb3" | ||
"gitHead": "0cb803537ae924fa307783c8698a9a6e48b88019" | ||
} |
Sorry, the diff of this file is not supported yet
74665
0.05%1
-80%