Skip to content

Commit

Permalink
fix: wagmi demos
Browse files Browse the repository at this point in the history
  • Loading branch information
ecp4224 committed Dec 6, 2024
1 parent 2979c7c commit 437d98c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/examples/wagmi-demo-react/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { WagmiProvider, deserialize, serialize } from 'wagmi'
import './index.css'

// `@coinbase-wallet/sdk` uses `Buffer`
globalThis.Buffer = Buffer
(globalThis as unknown as any).Buffer = Buffer

import App from './App.tsx'
import { config } from './wagmi.ts'
Expand Down
1 change: 1 addition & 0 deletions packages/examples/wagmi-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"next": "14.2.4",
"react": ">=18.3.1",
"react-dom": ">=18.3.1",
"typescript": "latest",
"viem": "^2.21.54",
"wagmi": "^2.13.3"
},
Expand Down
21 changes: 21 additions & 0 deletions packages/examples/wagmi-demo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4506,6 +4506,26 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:latest":
version: 5.7.2
resolution: "typescript@npm:5.7.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: b55300c4cefee8ee380d14fa9359ccb41ff8b54c719f6bc49b424899d662a5ce62ece390ce769568c7f4d14af844085255e63788740084444eb12ef423b13433
languageName: node
linkType: hard

"typescript@patch:typescript@latest#~builtin<compat/typescript>":
version: 5.7.2
resolution: "typescript@patch:typescript@npm%3A5.7.2#~builtin<compat/typescript>::version=5.7.2&hash=77c9e2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 803430c6da2ba73c25a21880d8d4f08a56d9d2444e6db2ea949ac4abceeece8e4a442b7b9b585db7d8a0b47ebda2060e45fe8ee8b8aca23e27ec1d4844987ee6
languageName: node
linkType: hard

"ufo@npm:^1.4.0, ufo@npm:^1.5.3":
version: 1.5.3
resolution: "ufo@npm:1.5.3"
Expand Down Expand Up @@ -4801,6 +4821,7 @@ __metadata:
react: ">=18.3.1"
react-dom: ">=18.3.1"
supports-color: ^9.4.0
typescript: latest
utf-8-validate: ^6.0.3
viem: ^2.21.54
wagmi: ^2.13.3
Expand Down

0 comments on commit 437d98c

Please sign in to comment.