-
Notifications
You must be signed in to change notification settings - Fork 100
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
feat: expose onSignature callbacks for eth_signTypedData_v4 requests #537
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -325,6 +331,7 @@ export function useFrame< | |||
homeframeUrl, | |||
signerState.hasSigner, | |||
signerState.signer, | |||
onErrorRef, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
got a eslint warning here about missing dep, since it is ref it should be fine to be included.
3aac19c
to
c9c52a5
Compare
@@ -12,20 +12,224 @@ import { SignerStateInstance } from "@frames.js/render"; | |||
import type { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a direct copy paste of the module, in the doc it is very out dated
8cc49fd
to
0fa5f34
Compare
0fa5f34
to
f048495
Compare
f048495
to
b4aa15d
Compare
Change Summary
onSignatureXXX callbacks will be triggered when the frame server request for signing for typed data (
eth_signTypedData_v4
).However previous these callbacks are not exposed via
useFrame()
Merge Checklist