Skip to content

Commit

Permalink
Up viem, wagmi and rainbowkit (#925)
Browse files Browse the repository at this point in the history
Co-authored-by: Shiv Bhonde <shivbhonde04@gmail.com>
  • Loading branch information
rin-st and technophile-04 authored Sep 10, 2024
1 parent 8dcdf01 commit 1a4b317
Show file tree
Hide file tree
Showing 5 changed files with 764 additions and 194 deletions.
541 changes: 541 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.2.3.cjs
8 changes: 4 additions & 4 deletions packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"dependencies": {
"@heroicons/react": "^2.0.11",
"@rainbow-me/rainbowkit": "2.1.2",
"@rainbow-me/rainbowkit": "2.1.5",
"@tanstack/react-query": "^5.28.6",
"@uniswap/sdk-core": "^4.0.1",
"@uniswap/v2-sdk": "^3.0.1",
Expand All @@ -32,8 +32,8 @@
"react-hot-toast": "^2.4.0",
"use-debounce": "^8.0.4",
"usehooks-ts": "^2.13.0",
"viem": "2.17.4",
"wagmi": "2.10.10",
"viem": "2.21.2",
"wagmi": "2.12.8",
"zustand": "^4.1.2"
},
"devDependencies": {
Expand All @@ -43,7 +43,7 @@
"@types/react": "^18.0.9",
"@types/react-copy-to-clipboard": "^5.0.4",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"abitype": "1.0.5",
"abitype": "1.0.6",
"autoprefixer": "^10.4.12",
"eslint": "^8.15.0",
"eslint-config-next": "^14.0.4",
Expand Down
7 changes: 7 additions & 0 deletions packages/nextjs/types/abitype/abi.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "abitype";
import "~~/node_modules/viem/node_modules/abitype";

type AddressType = string;

Expand All @@ -7,3 +8,9 @@ declare module "abitype" {
AddressType: AddressType;
}
}

declare module "~~/node_modules/viem/node_modules/abitype" {
export interface Register {
AddressType: AddressType;
}
}
Loading

0 comments on commit 1a4b317

Please sign in to comment.