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
5 changes: 5 additions & 0 deletions typescript/.changeset/migrate-siwe-to-eif.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@x402/extensions': patch
---

Migrate SIWE dependency from `siwe` (Spruce) to `@signinwithethereum/siwe` (Ethereum Identity Foundation). The new package is the official successor, supports viem natively as a peer dependency, and maintains the same `SiweMessage` API.
2 changes: 1 addition & 1 deletion typescript/packages/extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@x402/core": "workspace:~",
"ajv": "^8.17.1",
"jose": "^5.9.6",
"siwe": "^2.3.2",
"@signinwithethereum/siwe": "^4.1.0",
"tweetnacl": "^1.0.3",
"viem": "^2.43.5",
"zod": "^3.24.2"
Expand Down
2 changes: 1 addition & 1 deletion typescript/packages/extensions/src/sign-in-with-x/evm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { verifyMessage } from "viem";
import { SiweMessage } from "siwe";
import { SiweMessage } from "@signinwithethereum/siwe";
import type { EVMMessageVerifier } from "./types";
import type { CompleteSIWxInfo } from "./client";
import type { SIWxSigner } from "./sign";
Expand Down
103 changes: 42 additions & 61 deletions typescript/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading