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

chore: fix window.ethereum #150

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Conversation

joepegler
Copy link
Collaborator

@joepegler joepegler commented Dec 10, 2024

PR-Codex overview

This PR updates the method of retrieving the address from the walletClient in the toSigner.ts file. It adds error handling to ensure that an address is found before proceeding.

Detailed summary

  • Introduced addressFromWalletClient to fetch the address from walletClient.
  • Added a check to throw an error if addressFromWalletClient is not found.
  • Updated the return statement to use addressFromWalletClient instead of the previous direct access.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@joepegler joepegler force-pushed the fix/window_ethereum_support branch from 234bfba to 443ab9c Compare December 10, 2024 15:49
Copy link

size-limit report 📦

Path Size
core (esm) 14.36 KB (+0.4% 🔺)
core (cjs) 20.16 KB (0%)
bundler (tree-shaking) 543 B (0%)
paymaster (tree-shaking) 123 B (0%)

@joepegler joepegler merged commit bb2684f into develop Dec 10, 2024
5 checks passed
@joepegler joepegler deleted the fix/window_ethereum_support branch December 10, 2024 15:55
joepegler added a commit that referenced this pull request Dec 10, 2024
joepegler added a commit that referenced this pull request Dec 10, 2024
joepegler added a commit that referenced this pull request Dec 11, 2024
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.

1 participant