Skip to content

Commit 6244f1e

Browse files
authored
Merge pull request #72 from tokenbound/bj/maintenance-bump-viem
Maintenance: Version bump viem, update examples
2 parents 83449aa + ab5e851 commit 6244f1e

File tree

103 files changed

+9137
-9626
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+9137
-9626
lines changed

.eslintrc.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ dist-ssr
2828
/broadcast
2929
/cache
3030
/out
31+
/.vscode

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
pnpm lint-staged
4+
# pnpm lint:fix

.prettierignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

.prettierrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ VITE_PRIVATE_ALCHEMY_API_KEY=REPLACE_WITH_YOUR_ALCHEMY_API_KEY
5757

5858
# PUBLIC ENV VARS, add to `.env`:
5959
VITE_ANVIL_MAINNET_FORK_ENDPOINT=https://eth-mainnet.alchemyapi.io/v2/$VITE_PRIVATE_ALCHEMY_API_KEY
60-
VITE_ANVIL_MAINNET_FORK_BLOCK_NUMBER=19869786
60+
VITE_ANVIL_MAINNET_FORK_BLOCK_NUMBER=21023556
6161
```
6262

6363
2. Build the SDK from `/packages/sdk`

biome.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"files": {
4+
"ignore": [
5+
"node_modules/*",
6+
"dist/**/*"
7+
]
8+
},
9+
"formatter": {
10+
"enabled": true,
11+
"formatWithErrors": false,
12+
"indentStyle": "tab",
13+
"lineWidth": 80
14+
},
15+
"organizeImports": {
16+
"enabled": true
17+
},
18+
"linter": {
19+
"enabled": true,
20+
"rules": {
21+
"recommended": true,
22+
"correctness": {
23+
"noUnusedImports": "error"
24+
},
25+
"suspicious": {
26+
"noArrayIndexKey": "off",
27+
"noExplicitAny": "off"
28+
}
29+
}
30+
},
31+
"javascript": {
32+
"formatter": {
33+
"trailingCommas": "all",
34+
"semicolons": "asNeeded",
35+
"arrowParentheses": "always"
36+
}
37+
}
38+
}

examples/vite-wagmi-ethers-rainbowkit/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# vite-wagmi-ethers-rainbowkit
22

3+
## 0.0.7
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @tokenbound/sdk@0.5.5
9+
310
## 0.0.6
411

512
### Patch Changes

examples/vite-wagmi-ethers-rainbowkit/package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-wagmi-ethers-rainbowkit",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"private": true,
55
"scripts": {
66
"dev": "vite",
@@ -10,17 +10,20 @@
1010
},
1111
"dependencies": {
1212
"@tokenbound/sdk": "workspace:^",
13+
"@wagmi/core": "^2.13.9",
1314
"buffer": "^6.0.3",
14-
"@rainbow-me/rainbowkit": "^1.0.11",
15+
"@tanstack/react-query": "^5.59.15",
16+
"@rainbow-me/rainbowkit": "^2.2.0",
1517
"ethers": "^5.7.2",
1618
"process": "^0.11.10",
17-
"react": "^18.2.0",
18-
"react-dom": "^18.2.0",
19+
"react": "^18.3.1",
20+
"react-dom": "^18.3.1",
1921
"util": "^0.12.5",
20-
"viem": "^2.10.5",
21-
"wagmi": "^2.3.1"
22+
"viem": "^2.21.32",
23+
"wagmi": "^2.12.20"
2224
},
2325
"devDependencies": {
26+
"@biomejs/biome": "1.9.4",
2427
"@types/react": "^18.2.21",
2528
"@types/react-dom": "^18.2.7",
2629
"@vitejs/plugin-react": "^4.0.4",

examples/vite-wagmi-ethers-rainbowkit/polyfills.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Buffer } from 'buffer'
2-
import process from 'process'
1+
import { Buffer } from 'node:buffer'
2+
import process from 'node:process'
33

44
window.global = window
55
window.process = process

0 commit comments

Comments
 (0)