Skip to content

Commit

Permalink
Fix type of value property in CustomAddress (Node.js) (#1171)
Browse files Browse the repository at this point in the history
* fix `CustomAddress` value property type

* changelog
  • Loading branch information
abdulmth authored Sep 7, 2023
1 parent 3f254ea commit 735dac6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
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 -->

## 1.0.10 - 2023-mm-dd

### Fixed

- Type of `value` property in `CustomAddress`;

## 1.0.9 - 2023-09-07

### Added
Expand Down
3 changes: 2 additions & 1 deletion bindings/nodejs/lib/types/wallet/transaction-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

import { TaggedDataPayload } from '../block/payload/tagged';
import { Burn } from '../client';
import { AccountAddress } from './address';

/** Options for creating a transaction. */
export interface TransactionOptions {
Expand Down Expand Up @@ -56,7 +57,7 @@ export type ReuseAddress = {
export type CustomAddress = {
/** The name of the strategy. */
strategy: 'CustomAddress';
value: string;
value: AccountAddress;
};

/** Options for creating Native Tokens. */
Expand Down

0 comments on commit 735dac6

Please sign in to comment.