diff --git a/playground/nextjs-app-router/lib/nft/buildMintTransaction.ts b/playground/nextjs-app-router/lib/nft/buildMintTransaction.ts index 11e58b96b0..b5a9e3e23e 100644 --- a/playground/nextjs-app-router/lib/nft/buildMintTransaction.ts +++ b/playground/nextjs-app-router/lib/nft/buildMintTransaction.ts @@ -15,7 +15,7 @@ async function getMintData({ : [{ collection: contractAddress, quantity }]; const response = await fetch( - 'https://api-base.reservoir.tools/execute/mint/v1', + 'https://api-base.reservoir.tools/execute/mint/v1?skipBalanceCheck=true', { method: 'POST', headers: { @@ -32,7 +32,7 @@ async function getMintData({ const data = await response.json(); - if (data.error) { + if (data.message) { return Promise.reject(data.message); } diff --git a/playground/nextjs-app-router/onchainkit/package.json b/playground/nextjs-app-router/onchainkit/package.json index 364e59adfc..5fa5b4a06d 100644 --- a/playground/nextjs-app-router/onchainkit/package.json +++ b/playground/nextjs-app-router/onchainkit/package.json @@ -1,6 +1,6 @@ { "name": "@coinbase/onchainkit", - "version": "0.35.1", + "version": "0.35.2", "type": "module", "repository": "https://github.com/coinbase/onchainkit.git", "license": "MIT", diff --git a/src/nft/components/mint/NFTMintButton.test.tsx b/src/nft/components/mint/NFTMintButton.test.tsx index 79c98c630d..5dfd1a5890 100644 --- a/src/nft/components/mint/NFTMintButton.test.tsx +++ b/src/nft/components/mint/NFTMintButton.test.tsx @@ -1,4 +1,4 @@ -import { fireEvent, render } from '@testing-library/react'; +import { render } from '@testing-library/react'; import '@testing-library/jest-dom'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { base } from 'viem/chains'; @@ -38,12 +38,9 @@ vi.mock('../../../transaction', async (importOriginal) => { {text} ), - Transaction: ({ onStatus, children, calls, capabilities }) => ( + Transaction: ({ onStatus, children, capabilities }) => ( <>
-