Skip to content

Commit

Permalink
upgrade onchainkit version
Browse files Browse the repository at this point in the history
  • Loading branch information
alissacrane-cb committed Aug 8, 2024
1 parent 9ca8e0d commit 96a2bbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/components/TransactionWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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);
};

Expand Down

0 comments on commit 96a2bbb

Please sign in to comment.