Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RestrictedAddress discriminator usage #2206

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading