Skip to content

Commit

Permalink
Fix RestrictedAddress discriminator usage (#2206)
Browse files Browse the repository at this point in the history
* Fix RestrictedAddress discriminator usage

* Update bindings/wasm/CHANGELOG.md
  • Loading branch information
Thoralf-M authored Mar 28, 2024
1 parent 1101c72 commit bf7aed5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bindings/nodejs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions bindings/nodejs/lib/types/block/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ class RestrictedAddress extends Address {
*/
@Type(() => Address, {
discriminator: RestrictedAddressDiscriminator,
keepDiscriminatorProperty: true,
})
readonly address: Address;
/**
Expand Down
4 changes: 4 additions & 0 deletions bindings/wasm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bf7aed5

Please sign in to comment.