@apigames/rest-client
Advanced tools
Comparing version 23.3.7 to 24.1.0
@@ -46,3 +46,3 @@ "use strict"; | ||
statusText: error.response.statusText, | ||
headers: error.response.headers, | ||
headers: error.response.headers.toJSON(), | ||
data: error.response.data, | ||
@@ -55,3 +55,3 @@ }); | ||
statusText: error.response.statusText, | ||
headers: error.response.headers, | ||
headers: error.response.headers.toJSON(), | ||
data: error.response.data === '' ? undefined : error.response.data, | ||
@@ -69,3 +69,3 @@ }; | ||
statusText: axiosResponse.statusText, | ||
headers: axiosResponse.headers, | ||
headers: axiosResponse.headers.toJSON(), | ||
data: axiosResponse.data === '' ? undefined : axiosResponse.data, | ||
@@ -72,0 +72,0 @@ }; |
@@ -16,3 +16,3 @@ { | ||
"license": "MIT", | ||
"version": "23.3.7", | ||
"version": "24.1.0", | ||
"main": "lib/index.js", | ||
@@ -37,8 +37,8 @@ "types": "lib/index.d.ts", | ||
"dependencies": { | ||
"@apigames/json": "23.3.6", | ||
"axios": "1.2.1" | ||
"@apigames/json": "24.1.0", | ||
"axios": "1.6.7" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "29.5.11", | ||
"@types/node": "20.11.11", | ||
"@types/node": "20.11.14", | ||
"@typescript-eslint/eslint-plugin": "6.20.0", | ||
@@ -45,0 +45,0 @@ "@typescript-eslint/parser": "6.20.0", |
93365
+ Added@apigames/json@24.1.0(transitive)
+ Addedaxios@1.6.7(transitive)
- Removed@apigames/json@23.3.6(transitive)
- Removedaxios@1.2.1(transitive)
Updated@apigames/json@24.1.0
Updatedaxios@1.6.7