Skip to content

Commit dbb8093

Browse files
committed
chore: bump mm sdk
1 parent 9b37b85 commit dbb8093

19 files changed

+586
-541
lines changed

.changeset/config.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": [
4+
"@svitejs/changesets-changelog-github-compact",
5+
{ "repo": "wevm/wagmi" }
6+
],
7+
"commit": false,
38
"access": "public",
9+
"fixed": [],
10+
"linked": [],
411
"baseBranch": "main",
5-
"changelog": ["@changesets/changelog-github", { "repo": "wevm/wagmi" }],
6-
"commit": false,
12+
"updateInternalDependencies": "minor",
713
"ignore": [
814
"*-register",
915
"@wagmi/test",
1016
"site",
1117
"next-app",
1218
"nuxt-app",
1319
"vite-*"
14-
],
15-
"updateInternalDependencies": "patch",
16-
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
17-
"onlyUpdatePeerDependentsWhenOutOfRange": true
18-
}
20+
]
1921
}

.changeset/two-spies-beam.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@wagmi/connectors": patch
3+
---
4+
5+
Bumped MetaMask SDK version in accordance with [security advisory](https://github.com/advisories/GHSA-qj3p-xc97-xw74).

.github/workflows/changesets.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ jobs:
1818
changesets:
1919
name: Publish
2020
needs: verify
21+
# prevents this action from running on forks
22+
if: github.repository == 'wevm/wagmi'
2123
permissions:
22-
contents: write
23-
id-token: write
24-
pull-requests: write
24+
contents: write # to create release (changesets/action)
25+
id-token: write # OpenID Connect token needed for provenance
26+
pull-requests: write # to create pull request (changesets/action)
2527
runs-on: ubuntu-latest
2628
timeout-minutes: 5
2729

@@ -34,6 +36,8 @@ jobs:
3436

3537
- name: Install dependencies
3638
uses: wevm/actions/.github/actions/pnpm@main
39+
with:
40+
node-version: 24.5
3741

3842
- name: PR or publish
3943
uses: changesets/action@06245a4e0a36c064a573d4150030f5ec548e4fcc

.github/workflows/pull-request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929

3030
- name: Install dependencies
3131
uses: wevm/actions/.github/actions/pnpm@main
32+
with:
33+
node-version: 24.5
3234

3335
- name: Report build size
3436
uses: preactjs/compressed-size-action@v2

.github/workflows/snapshot.yml

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

.github/workflows/verify.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919

2020
- name: Install dependencies
2121
uses: wevm/actions/.github/actions/pnpm@main
22+
with:
23+
node-version: 24.5
2224

2325
- name: Check repo
2426
run: pnpm check:repo
@@ -51,6 +53,8 @@ jobs:
5153

5254
- name: Install dependencies
5355
uses: wevm/actions/.github/actions/pnpm@main
56+
with:
57+
node-version: 24.5
5458

5559
- name: Build
5660
run: pnpm build
@@ -79,6 +83,8 @@ jobs:
7983

8084
- name: Install dependencies
8185
uses: wevm/actions/.github/actions/pnpm@main
86+
with:
87+
node-version: 24.5
8288

8389
- run: pnpm add -D -w typescript@${{ matrix.typescript-version }} viem@${{ matrix.viem-version }}
8490

@@ -111,6 +117,8 @@ jobs:
111117

112118
- name: Install dependencies
113119
uses: wevm/actions/.github/actions/pnpm@main
120+
with:
121+
node-version: 24.5
114122

115123
- name: Set up foundry
116124
uses: foundry-rs/foundry-toolchain@v1

.npmrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
auto-install-peers=false
22
enable-pre-post-scripts=true
33
link-workspace-packages=deep
4-
provenance=true
54
strict-peer-dependencies=false

package.json

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"scripts": {
55
"build": "pnpm run --r --filter \"./packages/**\" build",
6-
"changeset:prepublish": "pnpm version:update && pnpm build && bun scripts/formatPackageJson.ts && bun scripts/generateProxyPackages.ts",
6+
"changeset:prepublish": "pnpm version:update && pnpm build && node scripts/formatPackageJson.ts && node scripts/generateProxyPackages.ts",
77
"changeset:publish": "pnpm changeset:prepublish && changeset publish",
88
"changeset:version": "changeset version && pnpm version:update && pnpm format",
99
"check": "biome check --write",
@@ -23,11 +23,11 @@
2323
"docs:dev": "pnpm --filter site dev",
2424
"format": "biome format --write",
2525
"postinstall": "pnpm preconstruct",
26-
"preconstruct": "bun scripts/preconstruct.ts",
26+
"preconstruct": "node scripts/preconstruct.ts",
2727
"preinstall": "pnpx only-allow pnpm",
2828
"prepare": "pnpm simple-git-hooks",
2929
"test": "vitest",
30-
"test:build": "bun scripts/generateProxyPackages.ts && pnpm run --r --parallel test:build",
30+
"test:build": "node scripts/generateProxyPackages.ts && pnpm run --r --parallel test:build",
3131
"test:cli": "vitest --project @wagmi/cli",
3232
"test:connectors": "vitest --project @wagmi/connectors",
3333
"test:core": "vitest --project @wagmi/core",
@@ -37,20 +37,19 @@
3737
"test:typecheck": "vitest typecheck",
3838
"test:update": "vitest --update",
3939
"test:vue": "vitest --project @wagmi/vue",
40-
"version:update": "bun scripts/updateVersion.ts",
41-
"version:update:viem": "bun scripts/updateViemVersion.ts"
40+
"version:update": "node scripts/updateVersion.ts",
41+
"version:update:viem": "node scripts/updateViemVersion.ts"
4242
},
4343
"devDependencies": {
4444
"@arethetypeswrong/cli": "^0.16.4",
4545
"@biomejs/biome": "^2.0.6",
46-
"@changesets/changelog-github": "0.4.6",
47-
"@changesets/cli": "^2.27.8",
48-
"@types/bun": "^1.1.10",
46+
"@changesets/cli": "^3.0.0-next.0",
47+
"@svitejs/changesets-changelog-github-compact": "^1.2.0",
4948
"@vitejs/plugin-react": "catalog:",
5049
"@vitest/browser": "^3.2.4",
5150
"@vitest/coverage-v8": "^3.2.4",
5251
"@wagmi/test": "workspace:*",
53-
"bun": "^1.1.29",
52+
"glob": "^11.0.3",
5453
"happy-dom": "^18.0.1",
5554
"knip": "^5.30.6",
5655
"playwright": "1.54.1",
@@ -66,6 +65,13 @@
6665
"vitest-browser-react": "^2.0.0-beta.1"
6766
},
6867
"packageManager": "[email protected]",
68+
"devEngines": {
69+
"runtime": {
70+
"name": "node",
71+
"version": "^24.5.1",
72+
"onFail": "download"
73+
}
74+
},
6975
"pnpm": {
7076
"peerDependencyRules": {
7177
"ignoreMissing": [
@@ -79,9 +85,6 @@
7985
"prool": "patches/prool.patch"
8086
}
8187
},
82-
"engines": {
83-
"node": "22.x"
84-
},
8588
"simple-git-hooks": {
8689
"pre-commit": "pnpm check"
8790
},

packages/connectors/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@base-org/account": "1.1.1",
4949
"@coinbase/wallet-sdk": "4.3.6",
5050
"@gemini-wallet/core": "0.2.0",
51-
"@metamask/sdk": "0.32.0",
51+
"@metamask/sdk": "0.33.1",
5252
"@safe-global/safe-apps-provider": "0.18.6",
5353
"@safe-global/safe-apps-sdk": "9.1.0",
5454
"@walletconnect/ethereum-provider": "2.21.1",

0 commit comments

Comments
 (0)