diff --git a/bun.lockb b/bun.lockb index 167ed4e..1114b15 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 86657d3..9047cdf 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test:coverage": "vitest run --coverage" }, "dependencies": { - "@coinbase/onchainkit": "^0.28.3", + "@coinbase/onchainkit": "^0.28.6", "next": "^14.2.5", "permissionless": "^0.1.26", "react": "^18", diff --git a/src/components/TransactionWrapper.tsx b/src/components/TransactionWrapper.tsx index b29edb5..32f153b 100644 --- a/src/components/TransactionWrapper.tsx +++ b/src/components/TransactionWrapper.tsx @@ -6,7 +6,7 @@ import { TransactionStatusAction, TransactionStatusLabel, } from '@coinbase/onchainkit/transaction'; -import type { TransactionError } from '@coinbase/onchainkit/transaction'; +import type { TransactionError, TransactionResponse } from '@coinbase/onchainkit/transaction'; import { mintABI, mintContractAddress } from 'src/constants'; import type { Address, ContractFunctionParameters } from 'viem'; import { parseEther } from 'viem'; @@ -49,7 +49,7 @@ export default function TransactionWrapper({ console.error('Transaction error:', err); }; - const handleSuccess = (response: any) => { + const handleSuccess = (response: TransactionResponse) => { console.log('Transaction successful', response); };