@injectivelabs/utils
Advanced tools
Comparing version 1.0.61 to 1.0.62
@@ -54,2 +54,3 @@ "use strict"; | ||
throw new exceptions_1.HttpRequestException(new Error(message), { | ||
context: endpoint, | ||
code: error.response | ||
@@ -63,2 +64,3 @@ ? error.response.status | ||
code: exceptions_1.UnspecifiedErrorCode, | ||
context: endpoint, | ||
contextModule: exceptions_1.HttpRequestMethod.Get, | ||
@@ -88,2 +90,3 @@ }); | ||
: http_status_codes_1.StatusCodes.BAD_REQUEST, | ||
context: endpoint, | ||
contextModule: exceptions_1.HttpRequestMethod.Post, | ||
@@ -94,2 +97,3 @@ }); | ||
code: exceptions_1.UnspecifiedErrorCode, | ||
context: endpoint, | ||
contextModule: exceptions_1.HttpRequestMethod.Post, | ||
@@ -96,0 +100,0 @@ }); |
{ | ||
"name": "@injectivelabs/utils", | ||
"description": "List of utils and helper functions that can be reused throughout Injective's projects.", | ||
"version": "1.0.61", | ||
"version": "1.0.62", | ||
"author": { | ||
@@ -34,3 +34,3 @@ "name": "Bojan Angjelkoski", | ||
"dependencies": { | ||
"@injectivelabs/exceptions": "^1.0.43", | ||
"@injectivelabs/exceptions": "^1.0.44", | ||
"@injectivelabs/ts-types": "^1.0.28", | ||
@@ -45,3 +45,3 @@ "axios": "^0.21.1", | ||
}, | ||
"gitHead": "4bd3b2f0596832b7bb27ca9f28ed1d154b0234b6" | ||
"gitHead": "56acd4e223db018fb34b390f16b84f107e0880f6" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
70950
761
64