diff --git a/package.json b/package.json index 49b570f..d0f6f3e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "test": "jest", "lint": "eslint -c .eslintrc.json --ext .ts ./src", "pub": "pnpm publish --no-git-checks", - "build": "tsup ./src/index.ts --dts --format esm,cjs" + "build": "tsup ./src/index.ts ./src/react/index.ts --dts --format esm,cjs" }, "keywords": [], "author": "V3X Labs", @@ -27,6 +27,7 @@ "ethers": "^5", "jest": "^29.4.3", "react": "^18.2.0", + "react-dom": "^18.2.0", "ts-jest": "^29.0.5", "ts-node": "^10.9.1", "tsup": "^6.5.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7473957..4bf2e80 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,6 +31,9 @@ devDependencies: react: specifier: ^18.2.0 version: 18.2.0 + react-dom: + specifier: ^18.2.0 + version: 18.2.0(react@18.2.0) ts-jest: specifier: ^29.0.5 version: 29.0.5(@babel/core@7.21.0)(@jest/types@29.4.3)(esbuild@0.15.14)(jest@29.4.3)(typescript@4.8.4) @@ -45,7 +48,7 @@ devDependencies: version: 4.8.4 wagmi: specifier: ^0.12.12 - version: 0.12.12(ethers@5.0.0)(react@18.2.0)(typescript@4.8.4) + version: 0.12.12(ethers@5.0.0)(react-dom@18.2.0)(react@18.2.0)(typescript@4.8.4) packages: @@ -1469,10 +1472,10 @@ packages: '@tanstack/react-query': 4.29.5 dependencies: '@tanstack/query-persist-client-core': 4.29.5 - '@tanstack/react-query': 4.29.5(react@18.2.0) + '@tanstack/react-query': 4.29.5(react-dom@18.2.0)(react@18.2.0) dev: true - /@tanstack/react-query@4.29.5(react@18.2.0): + /@tanstack/react-query@4.29.5(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-F87cibC3s3eG0Q90g2O+hqntpCrudKFnR8P24qkH9uccEhXErnJxBC/AAI4cJRV2bfMO8IeGZQYf3WyYgmSg0w==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -1486,6 +1489,7 @@ packages: dependencies: '@tanstack/query-core': 4.29.5 react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) use-sync-external-store: 1.2.0(react@18.2.0) dev: true @@ -5378,6 +5382,16 @@ packages: safe-buffer: 5.2.1 dev: true + /react-dom@18.2.0(react@18.2.0): + resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} + peerDependencies: + react: ^18.2.0 + dependencies: + loose-envify: 1.4.0 + react: 18.2.0 + scheduler: 0.23.0 + dev: true + /react-is@18.2.0: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} dev: true @@ -5564,6 +5578,12 @@ packages: engines: {node: '>=10'} dev: true + /scheduler@0.23.0: + resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} + dependencies: + loose-envify: 1.4.0 + dev: true + /scrypt-js@3.0.1: resolution: {integrity: sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==} dev: true @@ -6176,7 +6196,7 @@ packages: use-sync-external-store: 1.2.0(react@18.2.0) dev: true - /wagmi@0.12.12(ethers@5.0.0)(react@18.2.0)(typescript@4.8.4): + /wagmi@0.12.12(ethers@5.0.0)(react-dom@18.2.0)(react@18.2.0)(typescript@4.8.4): resolution: {integrity: sha512-AEY4res9WCeAEbVv++tgdx6981lkdiAwfpLPj24mawMoocj2Cqr6j304lq7EJiEhnoiPqIwvbBzme3sAmUWYUA==} peerDependencies: ethers: '>=5.5.1 <6' @@ -6187,7 +6207,7 @@ packages: optional: true dependencies: '@tanstack/query-sync-storage-persister': 4.29.5 - '@tanstack/react-query': 4.29.5(react@18.2.0) + '@tanstack/react-query': 4.29.5(react-dom@18.2.0)(react@18.2.0) '@tanstack/react-query-persist-client': 4.29.5(@tanstack/react-query@4.29.5) '@wagmi/core': 0.10.10(ethers@5.0.0)(react@18.2.0)(typescript@4.8.4) abitype: 0.3.0(typescript@4.8.4)