diff --git a/bindings/nodejs/lib/types/block/input/input.ts b/bindings/nodejs/lib/types/block/input/input.ts index 551eb037c4..661d737be8 100644 --- a/bindings/nodejs/lib/types/block/input/input.ts +++ b/bindings/nodejs/lib/types/block/input/input.ts @@ -35,7 +35,7 @@ class TreasuryInput extends Input { /** * The milestone id of the input. */ - readonly milestoneId: HexEncodedString; + milestoneId: HexEncodedString; constructor(milestoneId: HexEncodedString) { super(InputType.Treasury); @@ -50,11 +50,11 @@ class UTXOInput extends Input { /** * The transaction Id. */ - readonly transactionId: HexEncodedString; + transactionId: HexEncodedString; /** * The output index. */ - readonly transactionOutputIndex: number; + transactionOutputIndex: number; constructor( transactionId: HexEncodedString, diff --git a/bindings/nodejs/lib/types/block/payload/transaction/essence.ts b/bindings/nodejs/lib/types/block/payload/transaction/essence.ts index c5e31a1820..66fe8b00d2 100644 --- a/bindings/nodejs/lib/types/block/payload/transaction/essence.ts +++ b/bindings/nodejs/lib/types/block/payload/transaction/essence.ts @@ -35,23 +35,23 @@ abstract class TransactionEssence { */ class RegularTransactionEssence extends TransactionEssence { /// The unique value denoting whether the block was meant for mainnet, testnet, or a private network. - readonly networkId: number; - readonly inputsCommitment: HexEncodedString; + networkId: number; + inputsCommitment: HexEncodedString; @Type(() => Input, { discriminator: InputDiscriminator, }) - readonly inputs: Input[]; + inputs: Input[]; @Type(() => Output, { discriminator: OutputDiscriminator, }) - readonly outputs: Output[]; + outputs: Output[]; @Type(() => Payload, { discriminator: PayloadDiscriminator, }) - readonly payload: Payload | undefined; + payload: Payload | undefined; constructor( networkId: number,