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

devDeps: typescript@~5.3.3->~5.6.3 #381

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

legobeat
Copy link
Contributor

@legobeat legobeat commented Oct 18, 2024

  • devDeps: typescript@~5.3.3->~5.6.3
  • fix: validate param jsonRpcStreamName

Fix reference to missing src/readable-stream.d.ts.

https://github.com/MetaMask/snaps/actions/runs/11377787197/job/31652511752?pr=2817#step:5:9
MetaMask/snaps#2817

Copy link

socket-security bot commented Oct 18, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/[email protected] None 0 22.4 MB typescript-bot

🚮 Removed packages: npm/[email protected]

View full report↗︎

@legobeat legobeat marked this pull request as ready for review October 18, 2024 06:02
@legobeat legobeat requested a review from a team as a code owner October 18, 2024 06:02
@legobeat legobeat requested a review from a team October 18, 2024 06:05
@legobeat legobeat merged commit f935414 into MetaMask:main Oct 18, 2024
18 checks passed
Gudahtt added a commit that referenced this pull request Nov 27, 2024
The `MetaMaskInpageProvider` type was mistakenly typed to require the
`jsonRpcStreamName` as a constructor parameter, despite the author
clearly intending this to be optional. This type error was fixed.

This type error motivated a different bug, which is that validation for
`jsonRpcStreamName` was added to `initializeInapgeProvider` in #381,
constituting an undocumented breaking change (currently blocking us
from updating this package in `metamask-extension`). This validation
has been removed now that it's no longer needed.

Fixes #389
Gudahtt added a commit that referenced this pull request Nov 27, 2024
* fix: Allow optional `jsonRpcStreamName` for inpage provider

The `MetaMaskInpageProvider` type was mistakenly typed to require the
`jsonRpcStreamName` as a constructor parameter, despite the author
clearly intending this to be optional. This type error was fixed.

This type error motivated a different bug, which is that validation for
`jsonRpcStreamName` was added to `initializeInapgeProvider` in #381,
constituting an undocumented breaking change (currently blocking us
from updating this package in `metamask-extension`). This validation
has been removed now that it's no longer needed.

Fixes #389

* Update test coverage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants