Skip to content
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

@metamask/[email protected] #66

Merged
merged 3 commits into from
Aug 31, 2021
Merged

@metamask/[email protected] #66

merged 3 commits into from
Aug 31, 2021

Conversation

rekmarks
Copy link
Member

Adds the latest @metamask/controllers. This version adds the controller messenger type as a generic to BaseControllerV2, so the PluginController had to be updated to be made compatible.

As a follow-up, we should also do #65.

@rekmarks rekmarks requested a review from shanejonas August 31, 2021 05:22
"@metamask/object-multiplex": "^1.1.0",
"@metamask/obs-store": "^6.0.2",
"@metamask/post-message-stream": "4.0.0",
"@metamask/safe-event-emitter": "^2.0.0",
"@mm-snap/workers": "^0.0.6",
"eth-rpc-errors": "^4.0.2",
"immer": "^8.0.4",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the version used by @metamask/controllers.

@rekmarks rekmarks merged commit 3c461ef into main Aug 31, 2021
@rekmarks rekmarks deleted the @metamask/[email protected] branch August 31, 2021 05:27
rekmarks added a commit that referenced this pull request Sep 7, 2021
We exorcised the demons from our `eslint` config, and how this is a temple of clean and syntactical code once again. 🙏 

- Remove the MetaMask TypeScript eslint rules
  - TIL this breaks eslint for JavaScript
- Update eslint config for our different globals and environments
- Remove TypeScript and `jest`-related eslint dependencies and configs
- Fix a lot of eslint errors
- Fix a lot of `async`/`await` syntax errors
  - These were concealed by the eslint demons. Fixing them sometimes involved wrapping `await`:ed expressions in `async` functions.
- Fix `createWriteStream` import (it's not part of `fs.promises`)
- Remove `.npmignore`, add `files` property to package.json
- Update `.gitignore`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant