From 4be940b5979d603f997f7011257d75f995836d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kotol?= Date: Mon, 13 Nov 2023 11:58:22 +0100 Subject: [PATCH] ALL-3458 Fix lb archive fallback (#1020) --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/service/rpc/generic/LoadBalancer.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 296fb6318a..48a7f41f38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [4.1.28] - 2023.11.13 +### Fixed +- Fixed lb archive fallback + ## [4.1.27] - 2023.11.13 ### Fixed - Fixed Algorand `ApplicationSearchParams` to camelCase. diff --git a/package.json b/package.json index e24c475686..90d0903d08 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tatumio/tatum", - "version": "4.1.27", + "version": "4.1.28", "description": "Tatum JS SDK", "author": "Tatum", "repository": "https://github.com/tatumio/tatum-js", diff --git a/src/service/rpc/generic/LoadBalancer.ts b/src/service/rpc/generic/LoadBalancer.ts index 14a52d97d7..b282c1e7bd 100644 --- a/src/service/rpc/generic/LoadBalancer.ts +++ b/src/service/rpc/generic/LoadBalancer.ts @@ -503,7 +503,7 @@ export class LoadBalancer implements AbstractRpcInterface { return await this.connector.rpcCall(url, rpcCall) } catch (e) { await this.handleFailedRpcCall({ rpcCall, e, nodeType: type, requestType: RequestType.RPC, url }) - return await this.rawRpcCall(rpcCall) + return await this.rawRpcCall(rpcCall, archive) } }