Skip to content

Commit 4ec9fe1

Browse files
authored
Release 14.0.0 (#78)
1 parent e247ff6 commit 4ec9fe1

8 files changed

Lines changed: 1803 additions & 1505 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobile-wallet-protocol",
3-
"version": "13.0.0",
3+
"version": "14.0.0",
44
"private": true,
55
"type": "module",
66
"workspaces": [

packages/core/CHANGELOG.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.4.0]
11+
1012
### Added
1113

12-
- `isValidConnectionMode()` and `CONNECTION_MODES` for runtime validation of connection mode values
14+
- `isValidConnectionMode()` and `CONNECTION_MODES` for runtime validation of connection mode values ([#75](https://github.com/MetaMask/mobile-wallet-protocol/pull/75))
1315

1416
### Changed
1517

1618
- Add `validatePeerKey` method to `IKeyManager` interface for peer public key validation at handshake and resume time ([#70](https://github.com/MetaMask/mobile-wallet-protocol/pull/70))
19+
- Pin `eciesjs` to exact version 0.4.17 ([#77](https://github.com/MetaMask/mobile-wallet-protocol/pull/77))
1720
- **BREAKING:** `SessionStore` constructor is now private; use `await SessionStore.create(kvstore)` ([#71](https://github.com/MetaMask/mobile-wallet-protocol/pull/71))
21+
- **BREAKING:** Drop Node 18 support, require Node 20+ ([#76](https://github.com/MetaMask/mobile-wallet-protocol/pull/76))
1822

1923
### Fixed
2024

21-
- Reject inbound messages on expired sessions instead of processing them
25+
- Reject inbound messages on expired sessions instead of processing them ([#72](https://github.com/MetaMask/mobile-wallet-protocol/pull/72))
2226
- Fix `SessionStore` race conditions and fire-and-forget garbage collection ([#71](https://github.com/MetaMask/mobile-wallet-protocol/pull/71))
2327
- Guard against `NaN` in session expiry timestamps ([#70](https://github.com/MetaMask/mobile-wallet-protocol/pull/70))
28+
- Use timing-safe comparison for OTP verification ([#74](https://github.com/MetaMask/mobile-wallet-protocol/pull/74))
2429

2530
## [0.3.1]
2631

@@ -71,7 +76,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7176

7277
- Initial release of the package ([#35](https://github.com/MetaMask/mobile-wallet-protocol/pull/35))
7378

74-
[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-core@0.3.1...HEAD
79+
[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-core@0.4.0...HEAD
80+
[0.4.0]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-core@0.3.1...@metamask/mobile-wallet-protocol-core@0.4.0
7581
[0.3.1]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-core@0.3.0...@metamask/mobile-wallet-protocol-core@0.3.1
7682
[0.3.0]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-core@0.2.0...@metamask/mobile-wallet-protocol-core@0.3.0
7783
[0.2.0]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-core@0.1.1...@metamask/mobile-wallet-protocol-core@0.2.0

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/mobile-wallet-protocol-core",
3-
"version": "0.3.1",
3+
"version": "0.4.0",
44
"homepage": "https://github.com/MetaMask/mobile-wallet-protocol/tree/main/packages/core#readme",
55
"bugs": {
66
"url": "https://github.com/MetaMask/mobile-wallet-protocol/issues"

packages/dapp-client/CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.0]
11+
1012
### Changed
1113

1214
- Validate peer public keys during handshake in both trusted and untrusted connection flows ([#70](https://github.com/MetaMask/mobile-wallet-protocol/pull/70))
15+
- Validate connection mode at client construction time ([#75](https://github.com/MetaMask/mobile-wallet-protocol/pull/75))
16+
- **BREAKING:** Drop Node 18 support, require Node 20+ ([#76](https://github.com/MetaMask/mobile-wallet-protocol/pull/76))
1317

1418
### Fixed
1519

16-
- Use constant-time comparison for OTP verification to prevent timing side-channel attacks
20+
- Use constant-time comparison for OTP verification to prevent timing side-channel attacks ([#74](https://github.com/MetaMask/mobile-wallet-protocol/pull/74))
1721

1822
## [0.2.2]
1923

@@ -55,7 +59,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5559

5660
- Initial release of the package ([#35](https://github.com/MetaMask/mobile-wallet-protocol/pull/35))
5761

58-
[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-dapp-client@0.2.2...HEAD
62+
[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-dapp-client@0.3.0...HEAD
63+
[0.3.0]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-dapp-client@0.2.2...@metamask/mobile-wallet-protocol-dapp-client@0.3.0
5964
[0.2.2]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-dapp-client@0.2.1...@metamask/mobile-wallet-protocol-dapp-client@0.2.2
6065
[0.2.1]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-dapp-client@0.2.0...@metamask/mobile-wallet-protocol-dapp-client@0.2.1
6166
[0.2.0]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-dapp-client@0.1.1...@metamask/mobile-wallet-protocol-dapp-client@0.2.0

packages/dapp-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/mobile-wallet-protocol-dapp-client",
3-
"version": "0.2.2",
3+
"version": "0.3.0",
44
"homepage": "https://github.com/MetaMask/mobile-wallet-protocol/tree/main/packages/dapp-client#readme",
55
"bugs": {
66
"url": "https://github.com/MetaMask/mobile-wallet-protocol/issues"

packages/wallet-client/CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.0]
11+
12+
### Changed
13+
14+
- Validate connection mode at client construction time ([#75](https://github.com/MetaMask/mobile-wallet-protocol/pull/75))
15+
- **BREAKING:** Drop Node 18 support, require Node 20+ ([#76](https://github.com/MetaMask/mobile-wallet-protocol/pull/76))
16+
1017
### Fixed
1118

12-
- Replace `Math.random()` with `crypto.getRandomValues()` for OTP generation
19+
- Replace `Math.random()` with `crypto.getRandomValues()` for OTP generation ([#73](https://github.com/MetaMask/mobile-wallet-protocol/pull/73))
1320
- Validate peer public keys during session creation ([#70](https://github.com/MetaMask/mobile-wallet-protocol/pull/70))
1421
- Fix client stuck in CONNECTING state when session creation fails ([#70](https://github.com/MetaMask/mobile-wallet-protocol/pull/70))
1522

@@ -53,7 +60,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5360

5461
- Initial release of the package ([#35](https://github.com/MetaMask/mobile-wallet-protocol/pull/35))
5562

56-
[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-wallet-client@0.2.2...HEAD
63+
[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-wallet-client@0.3.0...HEAD
64+
[0.3.0]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-wallet-client@0.2.2...@metamask/mobile-wallet-protocol-wallet-client@0.3.0
5765
[0.2.2]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-wallet-client@0.2.1...@metamask/mobile-wallet-protocol-wallet-client@0.2.2
5866
[0.2.1]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-wallet-client@0.2.0...@metamask/mobile-wallet-protocol-wallet-client@0.2.1
5967
[0.2.0]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-wallet-client@0.1.1...@metamask/mobile-wallet-protocol-wallet-client@0.2.0

packages/wallet-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/mobile-wallet-protocol-wallet-client",
3-
"version": "0.2.2",
3+
"version": "0.3.0",
44
"homepage": "https://github.com/MetaMask/mobile-wallet-protocol/tree/main/packages/wallet-client#readme",
55
"bugs": {
66
"url": "https://github.com/MetaMask/mobile-wallet-protocol/issues"

0 commit comments

Comments
 (0)