@metamask-previews/json-rpc-middleware-stream 6.0.1-preview.fa529884 → 6.0.2-preview.0dea691a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
+
|
|
2
3
|
All notable changes to this project will be documented in this file.
|
|
3
4
|
|
|
4
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
@@ -6,67 +7,100 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
7
|
|
|
7
8
|
## [Unreleased]
|
|
8
9
|
|
|
10
|
+
## [6.0.2]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump `@metamask/utils` to `^8.3.0` ([#3769](https://github.com/MetaMask/core/pull/3769))
|
|
15
|
+
- Bump `@metamask/json-rpc-engine` to `^7.3.2` ([#3821](https://github.com/MetaMask/core/pull/3821))
|
|
16
|
+
|
|
9
17
|
## [6.0.1]
|
|
18
|
+
|
|
10
19
|
### Changed
|
|
20
|
+
|
|
11
21
|
- Bump `@metamask/json-rpc-engine` to `^7.3.1` ([#3695](https://github.com/MetaMask/core/pull/3695))
|
|
12
22
|
|
|
13
23
|
## [6.0.0]
|
|
24
|
+
|
|
14
25
|
### Added
|
|
26
|
+
|
|
15
27
|
- Migrate `@metamask/json-rpc-engine` into the core monorepo ([#1762](https://github.com/MetaMask/core/pull/1762))
|
|
16
28
|
|
|
17
29
|
## Changed
|
|
30
|
+
|
|
18
31
|
- **BREAKING**: Rename package from `json-rpc-middleware-stream` to `@metamask/json-rpc-middleware-stream` ([#1762](https://github.com/MetaMask/core/pull/1762))
|
|
19
32
|
- Bump `@metamask/json-rpc-engine` from `^7.1.0` to `^7.2.0` ([#1762](https://github.com/MetaMask/core/pull/1762))
|
|
20
33
|
- Bump `@metamask/utils` from `^8.1.0` to `^8.2.0` ([#1762](https://github.com/MetaMask/core/pull/1762))
|
|
21
34
|
|
|
22
35
|
## [5.0.1]
|
|
36
|
+
|
|
23
37
|
### Changed
|
|
38
|
+
|
|
24
39
|
- Upgrade typescript version to 4.8.4 ([#68](https://github.com/MetaMask/json-rpc-middleware-stream/pull/68))
|
|
25
40
|
|
|
26
41
|
## [5.0.0]
|
|
42
|
+
|
|
27
43
|
### Changed
|
|
44
|
+
|
|
28
45
|
- **BREAKING**: Increase minimum Node.js version to 16 ([#59](https://github.com/MetaMask/json-rpc-middleware-stream/pull/59))
|
|
29
46
|
- **BREAKING**: Update `readable-stream` from `^2.3.3` to `^3.6.2` ([#55](https://github.com/MetaMask/json-rpc-middleware-stream/pull/55))
|
|
30
47
|
- **BREAKING**: Switch from legacy `json-rpc-engine`@`^6.1.0` to `@metamask/json-rpc-engine`@`^7.1.1` ([#54](https://github.com/MetaMask/json-rpc-middleware-stream/pull/54))
|
|
31
48
|
- Add dependency `@metamask/utils` ([#54](https://github.com/MetaMask/json-rpc-middleware-stream/pull/54))
|
|
32
49
|
|
|
33
50
|
## [4.2.3]
|
|
51
|
+
|
|
34
52
|
### Fixed
|
|
53
|
+
|
|
35
54
|
- Moved json-rpc-engine from devDependencies to dependencies ([#56](https://github.com/MetaMask/json-rpc-middleware-stream/pull/56))
|
|
36
55
|
|
|
37
56
|
## [4.2.2]
|
|
57
|
+
|
|
38
58
|
### Changed
|
|
59
|
+
|
|
39
60
|
- Bump @metamask/safe-event-emitter from 2.0.0 to 3.0.0 ([#44](https://github.com/MetaMask/json-rpc-middleware-stream/pull/44))
|
|
40
61
|
|
|
41
62
|
### Fixed
|
|
63
|
+
|
|
42
64
|
- Fix race condition in `createStreamMiddleware` ([#47](https://github.com/MetaMask/json-rpc-middleware-stream/pull/47))
|
|
43
65
|
- Previously this middleware would fail to process synchronous responses on initialized streams
|
|
44
66
|
|
|
45
67
|
## [4.2.1]
|
|
68
|
+
|
|
46
69
|
### Fixed
|
|
70
|
+
|
|
47
71
|
- Add early return in createStreamMiddleware.processsResponse method if JSON RPC request is not found ([#35](https://github.com/MetaMask/json-rpc-middleware-stream/pull/35))
|
|
48
72
|
|
|
49
73
|
## [4.2.0]
|
|
74
|
+
|
|
50
75
|
### Changed
|
|
76
|
+
|
|
51
77
|
- Change error throw when response is seen for unknown request into warning displayed in console ([#32](https://github.com/MetaMask/json-rpc-middleware-stream/pull/32))
|
|
52
78
|
|
|
53
79
|
## [4.1.0]
|
|
80
|
+
|
|
54
81
|
### Changed
|
|
82
|
+
|
|
55
83
|
- Added retry limit of 3 to requests ([#30](https://github.com/MetaMask/json-rpc-middleware-stream/pull/30))
|
|
56
84
|
|
|
57
85
|
## [4.0.0] - 2022-10-03
|
|
86
|
+
|
|
58
87
|
### Changed
|
|
88
|
+
|
|
59
89
|
- BREAKING: Add Node 12 as minimum required version [#15](https://github.com/MetaMask/json-rpc-middleware-stream/pull/15)
|
|
60
90
|
- Retry pending requests when notification to reconnect is received ([#27](https://github.com/MetaMask/json-rpc-middleware-stream/pull/27))
|
|
61
91
|
|
|
62
92
|
### Security
|
|
93
|
+
|
|
63
94
|
- Add `@lavamoat/allow-scripts` to make dependency install scripts opt-in ([#25](https://github.com/MetaMask/json-rpc-middleware-stream/pull/25))
|
|
64
95
|
|
|
65
96
|
## [3.0.0] - 2020-12-08
|
|
97
|
+
|
|
66
98
|
### Added
|
|
99
|
+
|
|
67
100
|
- TypeScript typings ([#11](https://github.com/MetaMask/json-rpc-middleware-stream/pull/11))
|
|
68
101
|
|
|
69
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@6.0.
|
|
102
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@6.0.2...HEAD
|
|
103
|
+
[6.0.2]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@6.0.1...@metamask/json-rpc-middleware-stream@6.0.2
|
|
70
104
|
[6.0.1]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@6.0.0...@metamask/json-rpc-middleware-stream@6.0.1
|
|
71
105
|
[6.0.0]: https://github.com/MetaMask/core/compare/json-rpc-middleware-stream@5.0.1...@metamask/json-rpc-middleware-stream@6.0.0
|
|
72
106
|
[5.0.1]: https://github.com/MetaMask/core/compare/json-rpc-middleware-stream@5.0.0...json-rpc-middleware-stream@5.0.1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/json-rpc-middleware-stream",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.2-preview.0dea691a",
|
|
4
4
|
"description": "A small toolset for streaming JSON-RPC data and matching requests and responses",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"test:watch": "jest --watch"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@metamask/json-rpc-engine": "^7.3.
|
|
34
|
+
"@metamask/json-rpc-engine": "^7.3.2",
|
|
35
35
|
"@metamask/safe-event-emitter": "^3.0.0",
|
|
36
|
-
"@metamask/utils": "^8.
|
|
36
|
+
"@metamask/utils": "^8.3.0",
|
|
37
37
|
"readable-stream": "^3.6.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@types/jest": "^27.4.1",
|
|
42
42
|
"@types/readable-stream": "^2.3.0",
|
|
43
43
|
"deepmerge": "^4.2.2",
|
|
44
|
-
"extension-port-stream": "^
|
|
44
|
+
"extension-port-stream": "^3.0.0",
|
|
45
45
|
"jest": "^27.5.1",
|
|
46
46
|
"jest-it-up": "^2.0.2",
|
|
47
47
|
"ts-jest": "^27.1.4",
|