Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobile-wallet-protocol",
"version": "13.0.0",
"version": "14.0.0",
"private": true,
"type": "module",
"workspaces": [
Expand Down
12 changes: 9 additions & 3 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.0]

### Added

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

### Changed

- 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))
- Pin `eciesjs` to exact version 0.4.17 ([#77](https://github.com/MetaMask/mobile-wallet-protocol/pull/77))
- **BREAKING:** `SessionStore` constructor is now private; use `await SessionStore.create(kvstore)` ([#71](https://github.com/MetaMask/mobile-wallet-protocol/pull/71))
- **BREAKING:** Drop Node 18 support, require Node 20+ ([#76](https://github.com/MetaMask/mobile-wallet-protocol/pull/76))

### Fixed

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

## [0.3.1]

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

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

[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-core@0.3.1...HEAD
[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-core@0.4.0...HEAD
[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
[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
[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
[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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/mobile-wallet-protocol-core",
"version": "0.3.1",
"version": "0.4.0",
"homepage": "https://github.com/MetaMask/mobile-wallet-protocol/tree/main/packages/core#readme",
"bugs": {
"url": "https://github.com/MetaMask/mobile-wallet-protocol/issues"
Expand Down
9 changes: 7 additions & 2 deletions packages/dapp-client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.0]

### Changed

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

### Fixed

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

## [0.2.2]

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

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

[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-dapp-client@0.2.2...HEAD
[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-dapp-client@0.3.0...HEAD
[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
[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
[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
[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
Expand Down
2 changes: 1 addition & 1 deletion packages/dapp-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/mobile-wallet-protocol-dapp-client",
"version": "0.2.2",
"version": "0.3.0",
"homepage": "https://github.com/MetaMask/mobile-wallet-protocol/tree/main/packages/dapp-client#readme",
"bugs": {
"url": "https://github.com/MetaMask/mobile-wallet-protocol/issues"
Expand Down
12 changes: 10 additions & 2 deletions packages/wallet-client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.0]

### Changed

- Validate connection mode at client construction time ([#75](https://github.com/MetaMask/mobile-wallet-protocol/pull/75))
- **BREAKING:** Drop Node 18 support, require Node 20+ ([#76](https://github.com/MetaMask/mobile-wallet-protocol/pull/76))

### Fixed

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

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

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

[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-wallet-client@0.2.2...HEAD
[Unreleased]: https://github.com/MetaMask/mobile-wallet-protocol/compare/@metamask/mobile-wallet-protocol-wallet-client@0.3.0...HEAD
[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
[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
[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
[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
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/mobile-wallet-protocol-wallet-client",
"version": "0.2.2",
"version": "0.3.0",
"homepage": "https://github.com/MetaMask/mobile-wallet-protocol/tree/main/packages/wallet-client#readme",
"bugs": {
"url": "https://github.com/MetaMask/mobile-wallet-protocol/issues"
Expand Down
Loading