diff --git a/packages/react/package.json b/packages/react/package.json index 267a44c0..78482c82 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -4,7 +4,7 @@ "description": "React app tools for Mintbase JS SDK", "main": "lib/index.js", "scripts": { - "build": "tsc", + "build": "tsc --noEmitOnError false --skipLibCheck ", "watch": "tsc && tsc --watch & jest --watch --coverage", "lint": "eslint . --fix --ext ts --ext tsx" }, diff --git a/packages/react/src/wallet/web3-modal.ts b/packages/react/src/wallet/web3-modal.ts index be15dfa9..b94e41f9 100644 --- a/packages/react/src/wallet/web3-modal.ts +++ b/packages/react/src/wallet/web3-modal.ts @@ -1,6 +1,7 @@ import { reconnect, http, createConfig } from "@wagmi/core"; import { walletConnect, injected } from "wagmi/connectors"; import { createWeb3Modal } from "@web3modal/wagmi"; +import type { Config } from "@wagmi/core/dist/types/createConfig" const evmWalletChains = { testnet: { @@ -56,7 +57,7 @@ const metadata = { icons: [], }; -export const wagmiConfig = createConfig({ +export const wagmiConfig : Config = createConfig({ chains: [nearChain], transports: { [nearChain.id]: http(),