-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: upgrade @metamask/providers to v22.1.0 #15073
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
base: main
Are you sure you want to change the base?
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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15073 +/- ##
=======================================
Coverage 67.77% 67.77%
=======================================
Files 2344 2344
Lines 50621 50620 -1
Branches 7484 7484
=======================================
+ Hits 34306 34307 +1
+ Misses 14135 14133 -2
Partials 2180 2180 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…hannel name to METAMASK_EIP_1193_PROVIDER Updated streams.js to use 'pipeline' from 'readable-stream' instead of 'pump' for better stream handling. Renamed the provider channel constant in provider.js to METAMASK_EIP_1193_PROVIDER for clarity and compliance with EIP-1193 standards. Adjusted related stream setup and forwarding logic to reflect the new channel name.
|
Description
This pull request upgrades
@metamask/providers
from v18.3.1 to v22.1.0, aligning with the MetaMask extension's latest provider package. The update adopts ES modules, modern streaming patterns withreadable-stream
v3.6.2, and replaces the deprecatedpump
with the standardpipeline
function.Improvement/Solution:
@metamask/providers
to v22.1.0 andreadable-stream
to v3.6.2.@metamask/object-multiplex
and other dependencies.pump
withpipeline
for stream handling inscripts/inpage-bridge/src/provider.js
.Pre-merge reviewer checklist