Skip to content

Commit

Permalink
Merge pull request #36 from telstra/maintain/MessagingAPI-V3-SDK
Browse files Browse the repository at this point in the history
release 3.0.10
  • Loading branch information
zhanganderson authored Aug 27, 2024
2 parents a85c3be + e96dfb7 commit 784eabd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion src/messaging/classes/HttpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 784eabd

Please sign in to comment.