Skip to content

Commit

Permalink
fix: converted the value for FrameTransactionEthSendParams to str…
Browse files Browse the repository at this point in the history
…ing (#221)
  • Loading branch information
Zizzamia authored Mar 6, 2024
1 parent e913bf7 commit 6763bb2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-keys-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@coinbase/onchainkit': patch
---

- **fix**: converted the `value` for `FrameTransactionEthSendParams` to string. By @zizzamia 221
2 changes: 1 addition & 1 deletion src/frame/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export type FrameTransactionEthSendParams = {
abi: Abi; // The contract ABI for the contract to call.
data?: Address; // The data to send with the transaction.
to: Address; // The address of the contract to call.
value: bigint; // The amount of Ether to send with the transaction.
value: string; // The amount of Wei to send with the transaction
};

/**
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '0.9.10';
export const version = '0.9.11';

0 comments on commit 6763bb2

Please sign in to comment.