Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
},
"packageManager": "pnpm@9.4.0",
"lint-staged": {
"**/*.{js,jsx,ts,tsx,json,css,scss,md}": ["biome check --write"]
"**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"biome check --write"
]
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.4",
Expand All @@ -37,7 +39,11 @@
"image-size@>=1.1.0 <1.2.1": ">=1.2.1",
"elliptic@<6.6.0": ">=6.6.0",
"on-headers@<1.1.0": ">=1.1.0",
"tmp@<=0.2.3": ">=0.2.4"
"tmp@<=0.2.3": ">=0.2.4",
"axios@<=1.13.5": "1.13.5",
"lodash@<=4.17.23": "4.17.23",
"js-yaml@<=3.14.2": "3.14.2",
"hono@<=4.11.10": "4.11.10"
}
}
}
22 changes: 16 additions & 6 deletions packages/agw-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,22 @@
},
"typesVersions": {
"*": {
"connectors": ["dist/types/exports/connectors.d.ts"],
"privy": ["dist/types/exports/privy.d.ts"],
"thirdweb": ["dist/types/exports/thirdweb.d.ts"]
"connectors": [
"dist/types/exports/connectors.d.ts"
],
"privy": [
"dist/types/exports/privy.d.ts"
],
"thirdweb": [
"dist/types/exports/thirdweb.d.ts"
]
}
},
"files": ["dist", "src", "package.json"],
"files": [
"dist",
"src",
"package.json"
],
"dependencies": {
"@abstract-foundation/agw-client": "workspace:*"
},
Expand All @@ -61,8 +71,8 @@
"@tanstack/react-query": "^5",
"react": ">=18",
"secp256k1": ">=5.0.1",
"typescript": ">=5.0.4",
"thirdweb": "^5.72.0",
"typescript": ">=5.0.4",
"viem": "^2.37.0",
"wagmi": "^2.17.5"
},
Expand All @@ -78,7 +88,7 @@
"@wagmi/core": "2.22.1",
"react": ">=18.3.1",
"react-dom": ">=18.3.1",
"thirdweb": "^5.68.0",
"thirdweb": "5.93.5-nightly-b51157c0ff17e9535029fc8790cfa8538d1c995f-20250326000337",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nightly thirdweb may break published types

Medium Severity

@abstract-foundation/agw-react now builds/tests against a pinned prerelease thirdweb (5.93.5-nightly-...) while advertising a stable peerDependencies range (thirdweb: ^5.72.0). This can generate dist typings/JS that rely on nightly-only APIs, causing consumer breakage even when their installed thirdweb satisfies the peer range.

Fix in Cursor Fix in Web

"viem": "^2.37.0"
},
"peerDependenciesMeta": {
Expand Down
Loading
Loading