From 2514db320c6c21f08c77aeca05dde2fdde84f293 Mon Sep 17 00:00:00 2001 From: ivaylogarnev Date: Wed, 18 Dec 2024 17:51:55 +0200 Subject: [PATCH] chore(release): v2.56.0 (#2733) * chore: bump version Signed-off-by: ivaylogarnev-limechain * docs: update changelog Signed-off-by: ivaylogarnev-limechain * fix: Linter issues Signed-off-by: ivaylogarnev-limechain * chore: Bumped proto package version Signed-off-by: ivaylogarnev-limechain --------- Signed-off-by: ivaylogarnev-limechain --- CHANGELOG.md | 14 ++++++++++++++ package.json | 4 ++-- src/channel/NodeChannel.js | 7 ++----- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 166bf78bf..3b6f37e9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## v2.56.0 + +## What's Changed +* feat: Custom web proxies usage and documentation @ivaylogarnev-limechain in https://github.com/hashgraph/hedera-sdk-js/pull/2729 +* feat: bump node version by @ivaylonikolov7 in https://github.com/hashgraph/hedera-sdk-js/pull/2647 +* feat: HIP 423 Long Term Scheduled Transactions by @ivaylonikolov7 in https://github.com/hashgraph/hedera-sdk-js/pull/2708 +* feat: Enhance gRPC TLS by Dynamic Certificate Retrieval by @ivaylogarnev-limechain in https://github.com/hashgraph/hedera-sdk-js/pull/2718 +* fix: check for successful node execution by @ivaylonikolov7 in https://github.com/hashgraph/hedera-sdk-js/pull/2730 +* chore(deps-dev): bump rollup in /packages/cryptography by @dependabot in https://github.com/hashgraph/hedera-sdk-js/pull/2544 +* chore(deps): bump nanoid in /examples/simple_rest_signature_provider by @dependabot in https://github.com/hashgraph/hedera-sdk-js/pull/2714 +* chore(deps): bump nanoid from 3.3.7 to 3.3.8 by @dependabot in https://github.com/hashgraph/hedera-sdk-js/pull/2716 +* chore(deps): bump nanoid from 3.3.6 to 3.3.8 in /examples/react-native-example by @dependabot in https://github.com/hashgraph/hedera-sdk-js/pull/2715 +* chore(deps): bump renovatebot/github-action from 41.0.5 to 41.0.6 by @dependabot in https://github.com/hashgraph/hedera-sdk-js/pull/2709 + ## v2.55.1 ## What's Changed diff --git a/package.json b/package.json index eb888206e..16fba4457 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hashgraph/sdk", - "version": "2.55.1", + "version": "2.56.0", "description": "Hederaâ„¢ Hashgraph SDK", "types": "./lib/index.d.ts", "main": "./lib/index.cjs", @@ -58,7 +58,7 @@ "@ethersproject/rlp": "^5.7.0", "@grpc/grpc-js": "1.8.2", "@hashgraph/cryptography": "1.4.8-beta.10", - "@hashgraph/proto": "2.16.0-beta.3", + "@hashgraph/proto": "2.16.0-beta.4", "axios": "^1.6.4", "bignumber.js": "^9.1.1", "bn.js": "^5.1.1", diff --git a/src/channel/NodeChannel.js b/src/channel/NodeChannel.js index c00a59639..0c8ceec86 100644 --- a/src/channel/NodeChannel.js +++ b/src/channel/NodeChannel.js @@ -76,10 +76,9 @@ export default class NodeChannel extends Channel { /** * Retrieve the server's certificate dynamically. - * @param {string} address * @returns {Promise} */ - async _retrieveCertificate(address) { + async _retrieveCertificate() { return new Promise((resolve, reject) => { const socket = tls.connect( { @@ -131,9 +130,7 @@ export default class NodeChannel extends Channel { // If the port is 50212, use TLS if (this.nodePort === "50212") { - const certificate = Buffer.from( - await this._retrieveCertificate(this.address), - ); + const certificate = Buffer.from(await this._retrieveCertificate()); security = credentials.createSsl(certificate); } else {