Skip to content

fix: explicit license & drop siwe package#30

Merged
paolodamico merged 2 commits into
mainfrom
fix-license
May 14, 2026
Merged

fix: explicit license & drop siwe package#30
paolodamico merged 2 commits into
mainfrom
fix-license

Conversation

@paolodamico
Copy link
Copy Markdown
Contributor

  • We don't need the SIWE package, viem already ships with that functionality. This lets us drop all the ethers peer deps.
  • Adds explicit license information to all packages.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b80e537ff8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread core/src/evm.ts
issuedAt: info.issuedAt,
expirationTime: info.expirationTime,
notBefore: info.notBefore,
issuedAt: new Date(info.issuedAt),
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve SIWE timestamp strings when rebuilding message

Do not coerce SIWE timestamp fields through Date here: new Date(info.issuedAt) (and the optional fields below) normalizes the original text, so the reconstructed SIWE message can differ from what the client signed (for example when issuedAt is a plain string without timezone). This commit makes that mismatch possible because isAgentkitExtension only enforces that issuedAt is a string (x402/src/client.ts), not a canonical RFC3339 value, and signature verification depends on byte-for-byte message equality.

Useful? React with 👍 / 👎.

@paolodamico paolodamico merged commit e213ff6 into main May 14, 2026
11 checks passed
@paolodamico paolodamico deleted the fix-license branch May 14, 2026 00:17
Copy link
Copy Markdown
Contributor

@Takaros999 Takaros999 left a comment

Choose a reason for hiding this comment

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

please sanity check PR comment by Codex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants