MetaMask / snaps

Extend the functionality of MetaMask using Snaps
https://metamask.io/snaps/
Other
724 stars 557 forks source link

fix: Support parameters in `setTimeout` and `setInterval` #2513

Closed FrederikBolding closed 3 months ago

FrederikBolding commented 3 months ago

Tiny fix to support parameters in setTimeout and setInterval. This increases compatibility with ecosystem code that may use this functionality and was an oversight to not support initially.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.39%. Comparing base (8ab64ec) to head (7bcc577).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2513 +/- ## ======================================= Coverage 94.38% 94.39% ======================================= Files 441 441 Lines 9106 9109 +3 Branches 1405 1405 ======================================= + Hits 8595 8598 +3 Misses 511 511 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.