Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated #1

Merged
merged 156 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
b08013e
fix: #4140
tmm Jul 15, 2024
d3814ab
chore: update mipd
jxom Jul 16, 2024
b7a32aa
chore: version packages (#4141)
github-actions[bot] Jul 16, 2024
5581a81
feat: `useWatchAsset` hook (#4128)
dalechyn Jul 16, 2024
b6cb147
feat(vue): useBytecode (#4145)
tmm Jul 16, 2024
6148383
chore: version packages (#4144)
github-actions[bot] Jul 16, 2024
cc996e0
chore: update `@safe-global/safe-apps-sdk` (#4146)
jxom Jul 17, 2024
b6138a1
chore: version packages (#4147)
github-actions[bot] Jul 17, 2024
1e797ad
docs: update write-to-contract.md (#4148)
kingzamzon Jul 17, 2024
8d81df5
fix: #4118
tmm Jul 17, 2024
5bc8c88
fix: #4150
tmm Jul 17, 2024
20deb2f
chore: format
tmm Jul 17, 2024
b00410a
close: #4151
tmm Jul 17, 2024
e1b368b
chore: types
tmm Jul 17, 2024
4f5dca9
chore: version packages (#4152)
github-actions[bot] Jul 17, 2024
2661646
FIX: useConnectorClient to be enabled only when connected or reconnec…
t0rbik Jul 18, 2024
6fab608
chore: version packages (#4155)
github-actions[bot] Jul 18, 2024
361fd58
Update useEstimateGas.md (#4156)
AxyLm Jul 19, 2024
a73a773
feat: propagate transport rpc urls to connectors (#4162)
jxom Jul 23, 2024
5c1c145
chore: tweak changeset
jxom Jul 23, 2024
944adba
chore: version packages (#4163)
github-actions[bot] Jul 23, 2024
786ffb2
chore: add sponsor
tmm Jul 23, 2024
07c1227
fix: #4169
tmm Jul 25, 2024
eaf1612
chore: format
tmm Jul 25, 2024
62d16ec
test: chore
tmm Jul 25, 2024
eabba75
chore: format
tmm Jul 25, 2024
fbe21fe
chore: version packages (#4170)
github-actions[bot] Jul 25, 2024
8b22591
test: createConfig restore unconfigured chainId
tmm Jul 29, 2024
abb490d
chore: bump deps
tmm Jul 30, 2024
28e0e5c
chore: bump deps
tmm Jul 30, 2024
bf3a3aa
chore: version packages (#4182)
github-actions[bot] Jul 30, 2024
531ec22
Update AppKit guide link (#4190)
velvet-shark Aug 5, 2024
1b9b523
fix: #4097
tmm Aug 6, 2024
b791610
chore: version packages (#4191)
github-actions[bot] Aug 6, 2024
871dbdb
feat: validate internal state for persisted chainId
tmm Aug 6, 2024
fd0e4ca
chore: version packages (#4192)
github-actions[bot] Aug 6, 2024
39a7c54
chore: gg21
tmm Aug 8, 2024
5d44b8b
chore: format
tmm Aug 8, 2024
a2ae827
chore: add sponsor
tmm Aug 8, 2024
d6e4aad
docs: tweak
tmm Aug 8, 2024
b4c8971
fix: #4196
tmm Aug 9, 2024
6d8e9e9
chore: version packages (#4197)
github-actions[bot] Aug 9, 2024
e51fa72
Fixed the wrong input boxes. (#4199)
vedant-asati Aug 9, 2024
926445f
docs: tweaks
tmm Aug 13, 2024
3168616
chore: update ethereum provider to 2.15.0 (#4208)
tomiir Aug 19, 2024
914815b
fix: metaMask dappMetadata add default value (#4203)
0xRichBot Aug 19, 2024
d7608ef
fix: add name for mm connector (#4211)
tmm Aug 19, 2024
52309af
chore: version packages (#4212)
github-actions[bot] Aug 19, 2024
91fd81a
Update @walletconnect/ethereum-provider to 2.15.1 (#4213)
tomiir Aug 20, 2024
27fc52c
chore: version packages (#4214)
github-actions[bot] Aug 20, 2024
34df0c8
chore: remove gc banner
tmm Aug 22, 2024
f0b71ec
chore: sponsors
jxom Aug 28, 2024
7906c04
chore: sponsor
jxom Aug 28, 2024
b580ad4
chore(connectors): bump wc provider
tmm Aug 30, 2024
7e9e501
chore: version packages (#4232)
github-actions[bot] Aug 30, 2024
1df4f41
docs: up
tmm Sep 4, 2024
21bd0e4
chore: update @walletconnect/ethehreum-provider to version 2.15.3 (#4…
tomiir Sep 6, 2024
1205e33
test: setup connector
tmm Sep 9, 2024
3b683b6
test: remove
tmm Sep 9, 2024
5c89c68
chore: bump mm sdk (#4251)
tmm Sep 9, 2024
6aa2c4c
chore: version packages (#4250)
github-actions[bot] Sep 9, 2024
67defb5
feat(vue): useWatchContractEvent (#4252)
tmm Sep 9, 2024
fcb5a98
test: boost
tmm Sep 9, 2024
c156fc8
chore: format
tmm Sep 9, 2024
d027af8
chore: tweaks
tmm Sep 9, 2024
bc74276
chore: version packages (#4253)
github-actions[bot] Sep 9, 2024
f47ce8f
fix: guard (get|use)ConnectorClient when reconnecting (#4259)
tmm Sep 10, 2024
969a208
fix(react,vue): useReadContract deployless reads (#4260)
tmm Sep 10, 2024
81de006
chore: Update ethereum-provider to version 2.16.1 (#4255)
tomiir Sep 10, 2024
994e348
chore: version packages (#4261)
github-actions[bot] Sep 10, 2024
8531f83
Add experimental actions export to react package (#4262)
nezouse Sep 11, 2024
9b7cc38
chore: fix exports
tmm Sep 11, 2024
1cca68c
chore: version packages (#4263)
github-actions[bot] Sep 11, 2024
278a88f
docs: fix typos (#4264)
omahs Sep 12, 2024
82404c9
feat: update the 'metamask-sdk' package to version '0.28.4' (#4271)
omridan159 Sep 16, 2024
b0eb89c
fix: allow detection of hardhat when using bun (#4224)
roderik Sep 16, 2024
d07ad7f
Fix the switchChain error encountered when using the "metaMask" conne…
xianchenxc Sep 16, 2024
472993b
chore: version packages (#4278)
github-actions[bot] Sep 16, 2024
edcbf5d
chore: remove duplicate extend in getWalletClient (#4286)
holic Sep 20, 2024
86c4224
chore: version packages (#4289)
github-actions[bot] Sep 21, 2024
be75c2d
fix: guard against missing provider.on
tmm Sep 24, 2024
7063153
chore: version packages (#4294)
github-actions[bot] Sep 24, 2024
c6b8efd
fix: prevent component re-rendering with the same account snapshot (#…
weilliao05621 Sep 27, 2024
4b3efb0
test: boost coverage
tmm Sep 27, 2024
e4d2933
chore: version packages (#4299)
github-actions[bot] Sep 27, 2024
56f2482
Fix race condition in injected.ts (#4207)
Smert Sep 27, 2024
eba8188
chore: version packages (#4300)
github-actions[bot] Sep 27, 2024
87c378b
chore: bump dev deps (#4302)
tmm Sep 27, 2024
d6860c5
test: up
tmm Sep 27, 2024
5013b04
test: cov
tmm Sep 30, 2024
3a05841
chore: format
tmm Sep 30, 2024
924cc93
test: skip
tmm Sep 30, 2024
3b21236
chore: bump deps
tmm Oct 3, 2024
8f9eefb
chore: snaps
tmm Oct 3, 2024
8d7d97e
chore: fix script
tmm Oct 3, 2024
8032681
chore: version packages (#4315)
github-actions[bot] Oct 4, 2024
7282143
docs: tweaks
tmm Oct 14, 2024
34a0c3b
feat: bump mm sdk (#4337)
tmm Oct 15, 2024
40fab14
test: snaps
tmm Oct 15, 2024
a853dce
chore: version packages (#4342)
github-actions[bot] Oct 15, 2024
91a40f2
chore: bump mm (#4345)
tmm Oct 16, 2024
608322c
chore: version packages (#4346)
github-actions[bot] Oct 16, 2024
c05caab
fix: uniswap wallet trying to make itself look like MetaMask (#4336)
EdouardBougon Oct 16, 2024
7afb3f7
test: mock reconnect
tmm Oct 16, 2024
6dc72a7
chore: format
tmm Oct 16, 2024
43666c8
chore: viem tweaks
jxom Oct 17, 2024
f1c6961
chore: up viem
jxom Oct 17, 2024
ce4e47f
chore: up snaps
jxom Oct 17, 2024
5ae49af
fix: MetaMask disconnecting during the connection process. (#4347)
EdouardBougon Oct 17, 2024
f95815f
chore: add codeowners
tmm Oct 17, 2024
f3182b2
feat: bump metamask 0.30.0 (#4350)
abretonc7s Oct 18, 2024
2595ec1
chore: version packages (#4348)
github-actions[bot] Oct 18, 2024
f43e074
feat(connectors): filter mipd by connector rdns (#4343)
tmm Oct 21, 2024
f79e1ba
chore: skip
tmm Oct 21, 2024
7726cfa
chore: version packages (#4354)
github-actions[bot] Oct 21, 2024
044da82
chore: up version
tmm Oct 21, 2024
b250fc2
chore(core): bump internal deps (#4349)
tmm Oct 21, 2024
052e72e
feat(core): mock defaultConnected
tmm Oct 21, 2024
9827393
chore: version packages (#4355)
github-actions[bot] Oct 21, 2024
e563d7a
test: tweak
tmm Oct 22, 2024
8970cc5
chore: clean up deps (#4357)
tmm Oct 22, 2024
19f023f
chore: bump deps
tmm Oct 22, 2024
e2c26f1
chore: version packages (#4359)
github-actions[bot] Oct 22, 2024
77aa9fb
chore: boost coverage
tmm Oct 22, 2024
cbcdeb1
ci: protected push
tmm Oct 22, 2024
a4c5389
feat: export type
jxom Oct 22, 2024
72a2d61
chore: version packages (#4361)
github-actions[bot] Oct 22, 2024
83c6d16
fix: MetaMask readonlyRPCMap type (#4362)
EdouardBougon Oct 23, 2024
c14334a
chore: version packages (#4363)
github-actions[bot] Oct 23, 2024
4825ef4
test: up
tmm Oct 23, 2024
0aa1ac7
chore: add sponsor
tmm Nov 1, 2024
9ed174f
docs: bump deps
tmm Nov 4, 2024
cb58b1e
chore(cli): bump chokidar (#4370)
talentlessguy Nov 5, 2024
e42fffa
chore: version packages (#4378)
github-actions[bot] Nov 5, 2024
2b0d4c3
chore: add sponsor
tmm Nov 5, 2024
b6861a4
fix: Safe connector not working in some Vite apps (#4371)
iceanddust Nov 5, 2024
d0d0963
fix: waitForTransactionReceipt proper eth_call usage (#4339)
AndriyAntonenko Nov 5, 2024
01e28e6
docs(cli/create-wagmi): template selection (#4356)
qbzzt Nov 5, 2024
038388f
chore: snaps
tmm Nov 5, 2024
ecac0ba
fix: #4353
tmm Nov 5, 2024
254f8f7
docs: close #4344
tmm Nov 5, 2024
19230c5
chore: snaps
tmm Nov 6, 2024
dcb2236
chore: version packages (#4380)
github-actions[bot] Nov 6, 2024
afb2483
docs: rpc
tmm Nov 6, 2024
cb7dd2e
fix: #4310
tmm Nov 6, 2024
7fe78f2
fix: #4367
tmm Nov 6, 2024
7361082
chore: version packages (#4383)
github-actions[bot] Nov 6, 2024
ef8d42d
chore: pnpm catalogs
tmm Nov 6, 2024
67bf26e
chore: tweaks
tmm Nov 6, 2024
7558ff3
chore: bump dependencies (#4385)
cb-jake Nov 6, 2024
b34a769
chore: fix types
tmm Nov 7, 2024
a15bbfb
chore: version packages (#4387)
github-actions[bot] Nov 7, 2024
feef3b2
chore: snaps
tmm Nov 7, 2024
e08681c
fix: injected connector throws error after switching to a chain that …
chybisov Nov 7, 2024
5f8ee5f
test: tweaks
tmm Nov 7, 2024
51fa6a0
chore: version packages (#4388)
github-actions[bot] Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@tmm @jxom

/packages/connectors/src/metaMask @ecp4224 @omridan159 @abretonc7s @elefantel @BjornGunnarsson @EdouardBougon
/packages/connectors/src/safe @DaniSomoza @dasanra @mikhailxyz @yagopv
/packages/connectors/src/walletConnect @ganchoradkov @glitch-txs @ignaciosantise @tomiir
55 changes: 47 additions & 8 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<!-- > [!IMPORTANT] -->
<!-- > Wagmi is participating in Gitcoin Grants round 21. Consider <a href="https://explorer.gitcoin.co/#/round/42161/389/74">supporting the project</a>. Thank you. 🙏 -->

<br>

<p align="center">
Expand Down Expand Up @@ -70,14 +73,20 @@ Contributions to Wagmi are greatly appreciated! If you're interested in contribu

If you find Wagmi useful or use it for work, please consider [sponsoring Wagmi](https://github.com/sponsors/wevm?metadata_campaign=gh_readme_support). Thank you 🙏

<a href="https://paradigm.xyz">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-dark.svg">
<img alt="paradigm logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-light.svg" width="auto" height="70">
</picture>
</a>

<br>
<p>
<a href="https://paradigm.xyz">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-dark.svg">
<img alt="paradigm logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-light.svg" width="auto" height="70">
</picture>
</a>
<a href="https://ithaca.xyz">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/ithaca-dark.svg">
<img alt="ithaca logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/ithaca-light.svg" width="auto" height="70">
</picture>
</a>
</p>

<p>
<a href="https://twitter.com/family">
Expand Down Expand Up @@ -194,6 +203,36 @@ If you find Wagmi useful or use it for work, please consider [sponsoring Wagmi](
<img alt="brave logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/brave-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://linea.build">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/linea-dark.svg">
<img alt="linea logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/linea-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://uniswap.org">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/uniswap-dark.svg">
<img alt="uniswap logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/uniswap-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://biconomy.io">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/b0276d897be98a4c94ad1d1c72ce99a1020eeb58/content/sponsors/biconomy-dark.svg">
<img alt="biconomy logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/biconomy-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://thirdweb.com">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/thirdweb-dark.svg">
<img alt="thirdweb logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/thirdweb-light.svg" width="auto" height="50">
</picture>
</a>
<a href="https://uxuy.com">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/uxuy-dark.svg">
<img alt="uxuy logo" src="https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/uxuy-light.svg" width="auto" height="50">
</picture>
</a>
</p>

[Sponsor Wagmi](https://github.com/sponsors/wevm?metadata_campaign=gh_readme_support_bottom)
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
workflow_dispatch:

jobs:
lint:
name: Lint
check:
name: Check
permissions:
contents: write
runs-on: ubuntu-latest
Expand All @@ -14,15 +14,17 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PTOKEN }}

- name: Install dependencies
uses: wevm/actions/.github/actions/pnpm@main

- name: Lint repo
run: pnpm lint:repo
- name: Check repo
run: pnpm check:repo

- name: Lint code
run: pnpm lint
- name: Check code
run: pnpm check

- name: Update package versions
run: pnpm version:update
Expand All @@ -37,7 +39,7 @@ jobs:

build:
name: Build
needs: lint
needs: check
runs-on: ubuntu-latest
timeout-minutes: 5

Expand All @@ -59,13 +61,13 @@ jobs:

types:
name: Types
needs: lint
needs: check
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
typescript-version: ['5.0.4', '5.1.6', '5.2.2', '5.3.3', '5.4.5', '5.5.2']
viem-version: ['2.17.0', 'latest']
viem-version: ['2.21.28', 'latest']

steps:
- name: Clone repository
Expand All @@ -80,9 +82,9 @@ jobs:
run: pnpm preconstruct

- name: Check types
run: pnpm typecheck
run: pnpm check:types

# Redundant with `pnpm typecheck`
# Redundant with `pnpm check:types`
# If Vitest adds special features in the future, e.g. type coverage, can add this back!
# - name: Test types
# run: pnpm test:typecheck
Expand Down
14 changes: 1 addition & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,7 @@
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"[javascript][javascriptreact][json][typescript][typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[vue]": {
Expand Down
59 changes: 32 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@
"dev:react": "pnpm --filter vite-react dev",
"dev:vue": "pnpm --filter vite-vue dev",
"docs:dev": "pnpm --filter site dev",
"check": "biome check --write",
"check:repo": "sherif -i viem",
"check:types": "pnpm run --r --parallel check:types && tsc --noEmit",
"check:unused": "pnpm clean && knip",
"format": "biome format --write",
"lint": "biome check --write",
"lint:repo": "sherif",
"lint:unused": "pnpm clean && knip",
"postinstall": "pnpm preconstruct",
"preconstruct": "bun scripts/preconstruct.ts",
"preinstall": "pnpx only-allow pnpm",
"prepare": "pnpm simple-git-hooks",
"test": "vitest",
"test:build": "pnpm run --r --parallel test:build",
"test:build": "bun scripts/generateProxyPackages.ts && pnpm run --r --parallel test:build",
"test:cli": "vitest --project @wagmi/cli",
"test:core": "vitest --project @wagmi/core",
"test:create-wagmi": "vitest --project create-wagmi",
Expand All @@ -36,32 +37,31 @@
"test:update": "vitest --update",
"test:ui": "vitest --ui",
"test:vue": "vitest --project @wagmi/vue",
"typecheck": "pnpm run --r --parallel typecheck && tsc --noEmit",
"version:update": "bun scripts/updateVersion.ts",
"version:update:viem": "bun scripts/updateViemVersion.ts"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@biomejs/biome": "^1.8.0",
"@arethetypeswrong/cli": "^0.16.4",
"@biomejs/biome": "^1.9.4",
"@changesets/changelog-github": "0.4.6",
"@changesets/cli": "^2.27.1",
"@types/bun": "^1.1.1",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@changesets/cli": "^2.27.8",
"@types/bun": "^1.1.10",
"@vitest/coverage-v8": "^2.1.1",
"@vitest/ui": "^2.1.1",
"@wagmi/test": "workspace:*",
"bun": "^1.1.7",
"glob": "^10.3.12",
"happy-dom": "^12.2.1",
"knip": "^5.13.0",
"prool": "^0.0.11",
"publint": "^0.2.7",
"sherif": "^0.8.4",
"bun": "^1.1.29",
"glob": "^10.4.5",
"happy-dom": "^15.7.4",
"knip": "^5.30.6",
"prool": "^0.0.16",
"publint": "^0.2.11",
"sherif": "^1.0.0",
"simple-git-hooks": "^2.11.1",
"typescript": "5.5.2",
"viem": "2.17.0",
"vitest": "^1.6.0"
"typescript": "5.5.4",
"viem": "2.21.28",
"vitest": "^2.1.1"
},
"packageManager": "pnpm@9.4.0",
"packageManager": "pnpm@9.11.0",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
Expand All @@ -76,7 +76,7 @@
"node": "22.x"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint"
"pre-commit": "pnpm check"
},
"knip": {
"ignore": ["**/templates/**", "**/hardhat.config.js"],
Expand All @@ -99,8 +99,7 @@
"ignore": ["test/{constants,setup,utils}.ts"]
},
"packages/connectors": {
"entry": "src/exports/index.ts!",
"ignoreDependencies": ["@walletconnect/modal"]
"entry": "src/exports/index.ts!"
},
"packages/core": {
"entry": "src/exports/{actions,chains,codegen,experimental,index,internal,query}.ts!",
Expand All @@ -111,7 +110,10 @@
"entry": "src/cli.ts!"
},
"packages/react": {
"entry": "src/exports/{actions,chains,codegen,connectors,experimental,index,query}.ts!",
"entry": [
"src/exports/{actions,chains,codegen,connectors,experimental,index,query}.ts!",
"src/exports/actions/experimental.ts!"
],
"ignore": ["test/setup.ts"]
},
"packages/test": {
Expand All @@ -121,7 +123,10 @@
]
},
"packages/vue": {
"entry": "src/exports/{actions,chains,connectors,index,nuxt,query}.ts!",
"entry": [
"src/exports/{actions,chains,connectors,index,nuxt,query}.ts!",
"src/exports/actions/experimental.ts!"
],
"ignore": ["src/nuxt/runtime/*", "test/setup.ts"],
"ignoreDependencies": ["nuxt"]
},
Expand Down
12 changes: 12 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @wagmi/cli

## 2.1.17

### Patch Changes

- [#4370](https://github.com/wevm/wagmi/pull/4370) [`cb58b1ea3ad40e77210f24eb598f9d2306db998c`](https://github.com/wevm/wagmi/commit/cb58b1ea3ad40e77210f24eb598f9d2306db998c) Thanks [@talentlessguy](https://github.com/talentlessguy)! - Bumped internal dependencies.

## 2.1.16

### Patch Changes

- [#4224](https://github.com/wevm/wagmi/pull/4224) [`b0eb89c2a0781bb3434996fa53ee7ceb3bb44db9`](https://github.com/wevm/wagmi/commit/b0eb89c2a0781bb3434996fa53ee7ceb3bb44db9) Thanks [@roderik](https://github.com/roderik)! - Fixed package detection for Bun.

## 2.1.15

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@wagmi/cli",
"description": "Manage and generate code from Ethereum ABIs",
"version": "2.1.15",
"version": "2.1.17",
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -11,10 +11,10 @@
"scripts": {
"build": "pnpm run clean && pnpm run build:esm+types",
"build:esm+types": "tsc --project tsconfig.build.json --outDir ./dist/esm --declaration --declarationMap --declarationDir ./dist/types",
"check:types": "tsc --noEmit",
"clean": "rm -rf dist tsconfig.tsbuildinfo config plugins",
"dev": "bun src/cli.ts",
"test:build": "publint --strict && attw --pack --ignore-rules cjs-resolves-to-esm",
"typecheck": "tsc --noEmit"
"test:build": "publint --strict && attw --pack --ignore-rules cjs-resolves-to-esm"
},
"files": [
"dist/**",
Expand Down Expand Up @@ -67,7 +67,7 @@
"bundle-require": "^4.0.2",
"cac": "^6.7.14",
"change-case": "^5.4.4",
"chokidar": "^3.5.3",
"chokidar": "4.0.1",
"dedent": "^0.7.0",
"dotenv": "^16.3.1",
"dotenv-expand": "^10.0.0",
Expand All @@ -89,7 +89,7 @@
"@types/fs-extra": "^11.0.4",
"@types/node": "^20.12.10",
"fixturez": "^1.1.0",
"msw": "^2.2.14"
"msw": "^2.4.9"
},
"contributors": ["awkweb.eth <t@wevm.dev>", "jxom.eth <j@wevm.dev>"],
"funding": "https://github.com/sponsors/wevm",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/commands/generate.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Abi } from 'abitype'
import { Abi as AbiSchema } from 'abitype/zod'
import { camelCase } from 'change-case'
import type { FSWatcher, WatchOptions } from 'chokidar'
import type { ChokidarOptions, FSWatcher } from 'chokidar'
import { watch } from 'chokidar'
import { default as dedent } from 'dedent'
import { default as fs } from 'fs-extra'
Expand Down Expand Up @@ -53,7 +53,7 @@ export async function generate(options: Generate = {}) {
type Watcher = FSWatcher & { config?: Watch }
const watchers: Watcher[] = []
const watchWriteDelay = 100
const watchOptions: WatchOptions = {
const watchOptions: ChokidarOptions = {
atomic: true,
// awaitWriteFinish: true,
ignoreInitial: true,
Expand Down
2 changes: 2 additions & 0 deletions packages/cli/src/exports/plugins.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ test('exports', () => {
"etherscan",
"fetch",
"foundry",
"foundryDefaultExcludes",
"hardhat",
"hardhatDefaultExcludes",
"react",
"sourcify",
]
Expand Down
12 changes: 10 additions & 2 deletions packages/cli/src/exports/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,17 @@ export { etherscan, type EtherscanConfig } from '../plugins/etherscan.js'

export { fetch, type FetchConfig } from '../plugins/fetch.js'

export { foundry, type FoundryConfig } from '../plugins/foundry.js'
export {
foundry,
foundryDefaultExcludes,
type FoundryConfig,
} from '../plugins/foundry.js'

export { hardhat, type HardhatConfig } from '../plugins/hardhat.js'
export {
hardhat,
hardhatDefaultExcludes,
type HardhatConfig,
} from '../plugins/hardhat.js'

export { react, type ReactConfig } from '../plugins/react.js'

Expand Down
Loading