From e96dfb75cdf6bc018900eed32260ec338e0bc279 Mon Sep 17 00:00:00 2001 From: "ACCOUNT-01\\d650261" Date: Tue, 27 Aug 2024 14:46:40 +1000 Subject: [PATCH] release 3.0.10 --- package.json | 14 +++++++------- src/messaging/classes/HttpClient.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 8c194ce..e56a09c 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "3.0.9", + "version": "3.0.10", "license": "Apache-2.0", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -45,18 +45,18 @@ } }, "devDependencies": { - "@size-limit/preset-small-lib": "^8.2.4", + "@size-limit/preset-small-lib": "^11.1.4", "@types/uuid": "^9.0.2", - "husky": "^8.0.0", + "husky": "^9.1.5", "msw": "^1.2.1", - "size-limit": "^8.2.4", + "size-limit": "^11.1.4", "tsdx": "^0.14.1", - "tslib": "^2.5.3", - "typescript": "^5.0.4" + "tslib": "^2.7.0", + "typescript": "^5.5.4" }, "dependencies": { "ajv": "^6.12.6", - "axios": "^1.3.6", + "axios": "^1.7.5", "date-fns": "^3.6.0", "uuid": "^9.0.0" } diff --git a/src/messaging/classes/HttpClient.ts b/src/messaging/classes/HttpClient.ts index 67877ca..a1d2557 100644 --- a/src/messaging/classes/HttpClient.ts +++ b/src/messaging/classes/HttpClient.ts @@ -150,7 +150,7 @@ export abstract class HttpClient { const responseData: any = error.response?.data; - if (responseData.code && responseData.message) { + if (responseData?.code && responseData?.message) { return Promise.reject( new RequestError({ errorCode: responseData.code,