fix(wallets): remove browser environment check from createServerSigner#1900
fix(wallets): remove browser environment check from createServerSigner#1900guilleasz-crossmint wants to merge 1 commit into
Conversation
Co-Authored-By: Guille <guille.a@paella.dev>
Original prompt from Guille
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
🦋 Changeset detectedLatest commit: 704841f The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
|
Appreciate the cold-blooded vigilance 🦎, but this concern doesn't hold up on closer inspection. The Splitting into an address-only helper would mean re-exporting the low-level |
Description
Removes the
typeof window !== "undefined"guard fromcreateServerSigner. The check prevented calling the function from browser context, but the console app needs to derive server signer addresses client-side (e.g. in the create wallet modal). The "server" in "server signer" refers to where the keys are stored, not where the derivation runs.Test plan
Package updates
@crossmint/wallets-sdk: patch (changeset added)Link to Devin session: https://crossmint.devinenterprise.com/sessions/ad482efc604a499cbc47a8690419621c
Requested by: @guilleasz-crossmint