-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix: fix api spec multichain bump issues #27669
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@open-rpc/schema-utils-js@2.0.3 |
❌ API Spec Test Failed. View the report here. |
❌ API Spec Test Failed. View the report here. |
❌ API Spec Test Failed. View the report here. |
…text around multichain
❌ API Spec Test Failed. View the report here. |
@@ -74,7 +74,7 @@ export class MultichainAuthorizationConfirmationErrors implements Rule { | |||
if (isMethodAllowed) { | |||
if (method.errors) { | |||
method.errors.forEach((err) => { | |||
const unsupportedErrorCodes = [5000, 5300, 5301]; | |||
const unsupportedErrorCodes = [5000, 5100, 5101, 5102, 5300, 5301]; |
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.
we should update the spec to remove these errors. Or if we are adding them as warnings we should be able to write a new Rule
to test for that based on the errors in the spec.
// 'wallet_getSession', | ||
// 'wallet_revokeSession' |
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.
these no longer throw now. may require API specs update though
Quality Gate passedIssues Measures |
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.
Looks good!
Description
Remove unused error codes and skip wallet_getSession and revokeSession for now. bump schema-utils-js with a couple bug fixes. Fixed parsing ordering.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist