Skip to content

Commit

Permalink
release: v2.49.2 (#2441)
Browse files Browse the repository at this point in the history
* update: release notes

Signed-off-by: Svet <[email protected]>

* update: version

Signed-off-by: Svet <[email protected]>

* fix: remove deprecation

Signed-off-by: Svet <[email protected]>

* fix: remove unnecessary

Signed-off-by: Svet <[email protected]>

---------

Signed-off-by: Svet <[email protected]>
  • Loading branch information
svetoslav-nikol0v authored Aug 3, 2024
1 parent 05ed4b5 commit c0e092d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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.49.1
## v2.49.2

## What's Changed

Expand Down
2 changes: 1 addition & 1 deletion examples/token-reject.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ async function main() {
// reject NFTs back to treasury
const rejectFlowResponse = await (
await (
await new TokenRejectFlow()
new TokenRejectFlow()
.setOwnerId(receiverAccountId)
.setNftIds(nftSerialIds)
.freezeWith(client)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hashgraph/sdk",
"version": "2.49.1",
"version": "2.49.2",
"description": "Hedera™ Hashgraph SDK",
"types": "./lib/index.d.ts",
"main": "./lib/index.cjs",
Expand Down
12 changes: 1 addition & 11 deletions src/account/AccountBalance.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,14 @@ export default class AccountBalance {
*/
constructor(props) {
/**
* The account ID for which this balancermation applies.
* The Hbar balance of the account
*
* @readonly
*/
this.hbars = props.hbars;

/**
* @deprecated - Use the mirror node API https://docs.hedera.com/guides/docs/mirror-node-api/rest-api#api-v1-accounts instead
* @readonly
*/
// eslint-disable-next-line deprecation/deprecation
this.tokens = props.tokens;

/**
* @deprecated - Use the mirror node API https://docs.hedera.com/guides/docs/mirror-node-api/rest-api#api-v1-accounts instead
* @readonly
*/
// eslint-disable-next-line deprecation/deprecation
this.tokenDecimals = props.tokenDecimals;

Object.freeze(this);
Expand Down

0 comments on commit c0e092d

Please sign in to comment.