@trayio/axios
Advanced tools
Comparing version 4.67.0 to 4.68.0
@@ -122,6 +122,8 @@ "use strict"; | ||
} | ||
const errorMessage = axiosError.cause?.message || | ||
'Error with unknown cause from Axios HTTP client'; | ||
return { | ||
headers: {}, | ||
statusCode: 500, | ||
body: BufferExtensions_1.BufferExtensions.arrayBufferToReadable(new ArrayBuffer(0)), | ||
body: BufferExtensions_1.BufferExtensions.arrayBufferToReadable(new TextEncoder().encode(errorMessage).buffer), | ||
}; | ||
@@ -128,0 +130,0 @@ } |
{ | ||
"name": "@trayio/axios", | ||
"version": "4.67.0", | ||
"version": "4.68.0", | ||
"description": "Axios extensions and implementations", | ||
@@ -17,3 +17,3 @@ "exports": { | ||
"dependencies": { | ||
"@trayio/commons": "4.67.0", | ||
"@trayio/commons": "4.68.0", | ||
"axios": "1.7.4", | ||
@@ -20,0 +20,0 @@ "form-data": "4.0.0" |
Sorry, the diff of this file is not supported yet
10689
171
+ Added@trayio/commons@4.68.0(transitive)
- Removed@trayio/commons@4.67.0(transitive)
Updated@trayio/commons@4.68.0