diff --git a/.changeset/loud-keys-build.md b/.changeset/loud-keys-build.md new file mode 100644 index 0000000000..caeb75ab10 --- /dev/null +++ b/.changeset/loud-keys-build.md @@ -0,0 +1,5 @@ +--- +'@coinbase/onchainkit': patch +--- + +- **fix**: converted the `value` for `FrameTransactionEthSendParams` to string. By @zizzamia 221 diff --git a/src/frame/types.ts b/src/frame/types.ts index 05c4d7cc52..380e4a2f7d 100644 --- a/src/frame/types.ts +++ b/src/frame/types.ts @@ -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 }; /** diff --git a/src/version.ts b/src/version.ts index edb1e4dec6..ae90c8c79e 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const version = '0.9.10'; +export const version = '0.9.11';