You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: make MultichainCore's dapp name and url properties mandatory (#56)
* mark dapp's name and url property as non-optional
* update changelog
* simplify getDappId to use url first then fallback to name
* Make dapp.url optional. Overwrite value if browser
* throw if dapp name missing
* fix type
* changelog
* changelog validation
* changelog format fix
---------
Co-authored-by: Jiexi Luan <jiexiluan@gmail.com>
Co-authored-by: Alex Donesky <adonesky@gmail.com>
Copy file name to clipboardExpand all lines: packages/connect-evm/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
20
20
### Changed
21
21
22
+
-**BREAKING** Make the `dapp.name` and `dapp.url` properties required in `createMetamaskConnectEVM()` ([#56](https://github.com/MetaMask/connect-monorepo/pull/56))
23
+
- The `dapp.url` property is now always overwritten with the value of the page's url when MetaMask Connect is running in a browser context ([#56](https://github.com/MetaMask/connect-monorepo/pull/56))
22
24
-`connect()` now always returns `chainId`, previously it could undefined ([#53](https://github.com/MetaMask/connect-monorepo/pull/53))
Copy file name to clipboardExpand all lines: packages/connect-multichain/CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Changed
11
+
12
+
-**BREAKING** Make the `dapp.name` and `dapp.url` properties required in `createMetamaskConnect()` ([#56](https://github.com/MetaMask/connect-monorepo/pull/56))
13
+
- The `dapp.url` property is now always overwritten with the value of the page's url when MetaMask Connect is running in a browser context ([#56](https://github.com/MetaMask/connect-monorepo/pull/56))
14
+
10
15
### Fixed
11
16
12
17
- Fixed mobile deeplink bug that occurred when `MultichainSDK.connect()` was called and the transport was already connected ([#57](https://github.com/MetaMask/connect-monorepo/pull/57))
0 commit comments