Skip to content

Commit

Permalink
Fix delegateAction interface
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsonevv committed Dec 10, 2024
1 parent bce9451 commit 0404fc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/core/src/lib/wallet/transactions.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ export type Action =
| AddKeyAction
| DeleteKeyAction
| DeleteAccountAction

Check failure on line 88 in packages/core/src/lib/wallet/transactions.types.ts

View workflow job for this annotation

GitHub Actions / Test Suite

Insert `;`
| SignDelegateAction;

export type DelegateAction = Action | SignDelegateAction;

export type ActionType = Action["type"];

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/lib/wallet/wallet.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ interface SignTransactionParams {
export interface SignDelegateActionParams {
blockHeightTtl: number;
receiverId: string;
actions: Array<Action>;
actions: Array<DelegateAction>;
callbackUrl?: string;
}

Expand Down

0 comments on commit 0404fc8

Please sign in to comment.