Skip to content

Commit 7b9b63e

Browse files
committed
changelog
1 parent 1fca9d5 commit 7b9b63e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/connect-evm/CHANGELOG.md

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

88
## [Unreleased]
99

10+
### Changed
11+
12+
- `connect()` now always returns `chainId`, previously it could undefined ([#53](https://github.com/MetaMask/connect-monorepo/pull/53))
13+
1014
### Added
1115

16+
- Added `connectWith()` method which makes a request for the method to be paired together with a connection request ([#53](https://github.com/MetaMask/connect-monorepo/pull/53))
17+
- This method expects param options `method`, `params`, `chainId`, and `account`
18+
- `params` can be a function or a plain value. When it is a function, it will be called with the selected account as the first param and must return a value that will be used as the actual params for the request.
19+
- Added `eventHandlers.connectAndSign` handler which is called on successful `connectAndSign` request with an object including the `accounts`, `chainId`, and `signResponse` ([#53](https://github.com/MetaMask/connect-monorepo/pull/53))
20+
- Added `eventHandlers.connectWith` handler which is called on successful `connectWith` request with an object including the `accounts`, `chainId`, and `connectWithResponse` ([#53](https://github.com/MetaMask/connect-monorepo/pull/53))
1221
- Added analytics tracking of request handling ([#46](https://github.com/MetaMask/connect-monorepo/pull/46))
1322
- Initial release ([#21](https://github.com/MetaMask/connect-monorepo/pull/21))
1423

0 commit comments

Comments
 (0)