From c7e5701a0d5762f8ac3af53e043dbf43b70f74f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thoralf=20M=C3=BCller?= Date: Tue, 2 Apr 2024 09:32:12 +0200 Subject: [PATCH] JS: add missing rewards field to ManaBalance --- bindings/nodejs/CHANGELOG.md | 1 + bindings/nodejs/lib/types/wallet/wallet.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/bindings/nodejs/CHANGELOG.md b/bindings/nodejs/CHANGELOG.md index 7a8cb85589..1fcfab4b05 100644 --- a/bindings/nodejs/CHANGELOG.md +++ b/bindings/nodejs/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - `Utils::blockWorkScore()`; +- `ManaBalance::rewards` field; ### Fixed diff --git a/bindings/nodejs/lib/types/wallet/wallet.ts b/bindings/nodejs/lib/types/wallet/wallet.ts index 5edc9d066d..ec7146eb97 100644 --- a/bindings/nodejs/lib/types/wallet/wallet.ts +++ b/bindings/nodejs/lib/types/wallet/wallet.ts @@ -70,6 +70,8 @@ export interface ManaBalance { total: DecayedMana; /** The mana of the outputs that isn't used in a transaction */ available: DecayedMana; + /** Mana rewards. */ + rewards: u64; } /** The required storage deposit per output type */