We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.1.10
window.ethereum
toSigner
signTypedData
any
EthereumProvider
No response
src/sdk/account/utils/toSigner.ts
src/sdk/account/types.ts
Currently, developers are forced to:
as any
The text was updated successfully, but these errors were encountered:
joepegler
No branches or pull requests
Is there an existing issue for this?
Package Version
0.1.10
Current Behavior
window.ethereum
as a signer totoSigner
functionsignTypedData
requiresany
type casting to workEthereumProvider
type definition is incomplete and doesn't properly match window.ethereum's shapeExpected Behavior
window.ethereum
should be accepted as a valid signer type without TypeScript errorssignTypedData
should work without any type castingEthereumProvider
type should accurately reflect the shape of window.ethereumSteps To Reproduce
Package.json (or lockfile) content
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
Related Files
src/sdk/account/utils/toSigner.ts
src/sdk/account/types.ts
Impact
Workarounds
Currently, developers are forced to:
as any
)The text was updated successfully, but these errors were encountered: