-
Notifications
You must be signed in to change notification settings - Fork 205
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
wip: debugging #148
wip: debugging #148
Conversation
messageOptions?: FrameMessageOptions, | ||
): Promise<FrameValidationResponse> { | ||
// Skip validation only when allowed and when receiving a debug request | ||
if (messageOptions?.allowDebug) { |
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.
if this is a boolean, we should either use has
or is
as prefix.
so maybe isMockRequest: boolean
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.
In this case, not every request is necessarily a mock request. I think it's most clear as is: if set, it will allow mock requests to pass through, otherwise it will reject them.
@@ -3179,6 +3191,7 @@ __metadata: | |||
version: 0.0.0-use.local | |||
resolution: "framegear@workspace:." | |||
dependencies: | |||
"@coinbase/onchainkit": "portal:./.." |
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.
Inteeeeerestinggggggggg
What the heck which magic is this?
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.
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.
Once we finalize probably want to specify the exact version, but this is great for dev
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.
Portal Protocol 🤯
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.
Now you're thinking with portals
What changed? Why?
Notes to reviewers
How has it been tested?