-
-
Notifications
You must be signed in to change notification settings - Fork 256
refactor: migrate RateLimitController to @metamask/messenger
#6503
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
Changes from all commits
b4e2db0
b5c8520
880f3f7
d950e40
dec9891
f30eacf
0e3f83b
b0aab99
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,6 +48,7 @@ | |
| }, | ||
| "dependencies": { | ||
| "@metamask/base-controller": "^8.4.2", | ||
| "@metamask/messenger": "^0.3.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Incorrect Dependency Update LocationThe PR discussion indicates this line should be updated in the tsconfig.build.json file, not in package.json. The dependency on |
||
| "@metamask/rpc-errors": "^7.0.2", | ||
| "@metamask/utils": "^11.8.1" | ||
| }, | ||
|
|
||
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.
Bug: JSDoc Returns Tag Added Without Warning Threshold
Based on the PR discussion, the ESLint warning thresholds for "jsdoc/require-returns" and "jsdoc/tag-lines" were removed from
packages/rate-limit-controller/src/RateLimitController.ts. However, looking at the code changes inRateLimitController.ts, a@returnstag was added to thecallmethod's JSDoc (line 165), which means the "jsdoc/require-returns" warning threshold should still be 1 rather than being removed entirely. This was identified in the PR discussion where a reviewer asked if this should be updated.