diff --git a/bindings/nodejs/CHANGELOG.md b/bindings/nodejs/CHANGELOG.md index cf50ed0f67..a4b670d13a 100644 --- a/bindings/nodejs/CHANGELOG.md +++ b/bindings/nodejs/CHANGELOG.md @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security --> +## 2.0.0-alpha.2 - 2024-MM-DD + +### Fixed + +- `RestrictedAddress` discriminator usage; + ## 2.0.0-alpha.1 - 2024-03-22 Initial alpha release of the Nodejs 2.0 bindings. diff --git a/bindings/nodejs/lib/types/block/address.ts b/bindings/nodejs/lib/types/block/address.ts index 9bd00a9620..606b8c7c00 100644 --- a/bindings/nodejs/lib/types/block/address.ts +++ b/bindings/nodejs/lib/types/block/address.ts @@ -206,6 +206,7 @@ class RestrictedAddress extends Address { */ @Type(() => Address, { discriminator: RestrictedAddressDiscriminator, + keepDiscriminatorProperty: true, }) readonly address: Address; /** diff --git a/bindings/wasm/CHANGELOG.md b/bindings/wasm/CHANGELOG.md index b415752816..152439b59b 100644 --- a/bindings/wasm/CHANGELOG.md +++ b/bindings/wasm/CHANGELOG.md @@ -19,6 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Security --> +## 2.0.0-alpha.2 - 2024-MM-DD + +Same changes as https://github.com/iotaledger/iota-sdk/blob/2.0/bindings/nodejs/CHANGELOG.md. + ## 2.0.0-alpha.1 - 2024-03-26 Initial alpha release of the wasm 2.0 bindings.