Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Releases: MetaMask/json-rpc-middleware-stream

5.0.1

27 Sep 14:45
c1b5c43
Compare
Choose a tag to compare

Changed

  • Upgrade typescript version to 4.8.4 (#68)

5.0.0

13 Sep 20:25
c89194d
Compare
Choose a tag to compare

Changed

  • BREAKING: Increase minimum Node.js version to 16 (#59)
  • BREAKING: Update readable-stream from ^2.3.3 to ^3.6.2 (#55)
  • BREAKING: Switch from legacy json-rpc-engine@^6.1.0 to @metamask/json-rpc-engine@^7.1.1 (#54)
  • Add dependency @metamask/utils (#54)

4.2.3

12 Sep 10:39
0cdd96a
Compare
Choose a tag to compare

Fixed

  • Moved json-rpc-engine from devDependencies to dependencies (#56)

4.2.2

14 Jun 23:03
dca53dc
Compare
Choose a tag to compare

Changed

  • Bump @metamask/safe-event-emitter from 2.0.0 to 3.0.0 (#44)

Fixed

  • Fix race condition in createStreamMiddleware (#47)
    • Previously this middleware would fail to process synchronous responses on initialized streams

4.2.1

16 Nov 00:18
39bfae3
Compare
Choose a tag to compare

Fixed

  • Add early return in createStreamMiddleware.processsResponse method if JSON RPC request is not found (#35)

4.2.0

02 Nov 13:42
bc533e8
Compare
Choose a tag to compare

Changed

  • Change error throw when response is seen for unknown request into warning displayed in console (#32)

4.1.0

28 Oct 12:07
b8d72b4
Compare
Choose a tag to compare

Changed

  • Added retry limit of 3 to requests (#30)

4.0.0

05 Oct 05:49
c7d4a1a
Compare
Choose a tag to compare

Changed

  • BREAKING: Add Node 12 as minimum required version #15
  • Retry pending requests when notification to reconnect is received (#27)

Security

  • Add @lavamoat/allow-scripts to make dependency install scripts opt-in (#25)