Skip to content

Commit b118ce5

Browse files
authored
Revert "Release/574.0.0" (#6689)
Reverts #6680, which was created in errors and has no changes.
1 parent a8e82ba commit b118ce5

File tree

6 files changed

+44
-67
lines changed

6 files changed

+44
-67
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/core-monorepo",
3-
"version": "574.0.0",
3+
"version": "573.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/bridge-controller/CHANGELOG.md

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

88
## [Unreleased]
99

10-
## [45.0.0]
11-
12-
### Uncategorized
13-
14-
- Release/574.0.0 ([#6680](https://github.com/MetaMask/core/pull/6680))
15-
16-
### Added
17-
18-
- Add support for Bitcoin bridge transactions ([#6454](https://github.com/MetaMask/core/pull/6454))
19-
- Handle Bitcoin PSBT (Partially Signed Bitcoin Transaction) format in trade data
20-
- Add `BitcoinTradeDataSchema` and `BitcoinQuoteResponseSchema` validators
21-
- Support Bitcoin chain ID (`ChainId.BTC = 20000000000001`) and CAIP format (`bip122:000000000019d6689c085ae165831e93`)
22-
- Export `isNonEvmChainId` utility function to check for non-EVM chains (Solana, Bitcoin) ([#6454](https://github.com/MetaMask/core/pull/6454))
23-
24-
### Changed
25-
26-
- **BREAKING:** Rename fee handling for non-EVM chains ([#6454](https://github.com/MetaMask/core/pull/6454))
27-
- Replace `SolanaFees` type with `NonEvmFees` type
28-
- Replace `solanaFeesInLamports` field with `nonEvmFeesInNative` field
29-
- Update `#appendSolanaFees` to `#appendNonEvmFees` to support all non-EVM chains
30-
- The `nonEvmFeesInNative` field stores fees in the smallest units for each chain (lamports for Solana, satoshis for Bitcoin)
31-
- Update Snap methods to use new unified interface for non-EVM chains ([#6454](https://github.com/MetaMask/core/pull/6454))
32-
- Replace `getFeeForTransaction` with `computeFee` method that returns fees in native token units
33-
- Update fee calculation to handle different unit conversions per chain
34-
- Support fee computation for Bitcoin and Solana chains
35-
- Update quote validation to support Bitcoin-specific trade data format ([#6454](https://github.com/MetaMask/core/pull/6454))
36-
- Add separate validation for Bitcoin quotes that include `unsignedPsbtBase64` field
37-
- Update selectors and utilities to use `isNonEvmChainId` instead of `isSolanaChainId` for generic non-EVM handling ([#6454](https://github.com/MetaMask/core/pull/6454))
38-
39-
### Removed
40-
41-
- **BREAKING:** Remove deprecated `SolanaFees` type - use `NonEvmFees` type instead ([#6454](https://github.com/MetaMask/core/pull/6454))
42-
- **BREAKING:** Remove `solanaFeesInLamports` field from quotes - use `nonEvmFeesInNative` field instead ([#6454](https://github.com/MetaMask/core/pull/6454))
43-
4410
## [44.0.0]
4511

4612
### Changed
@@ -63,6 +29,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6329

6430
### Added
6531

32+
- Add support for Bitcoin bridge transactions ([#6454](https://github.com/MetaMask/core/pull/6454))
33+
- Handle Bitcoin PSBT (Partially Signed Bitcoin Transaction) format in trade data
34+
- Add `BitcoinTradeDataSchema` and `BitcoinQuoteResponseSchema` validators
35+
- Support Bitcoin chain ID (`ChainId.BTC = 20000000000001`) and CAIP format (`bip122:000000000019d6689c085ae165831e93`)
36+
- Export `isNonEvmChainId` utility function to check for non-EVM chains (Solana, Bitcoin) ([#6454](https://github.com/MetaMask/core/pull/6454))
6637
- Add `selectDefaultSlippagePercentage` that returns the default slippage for a chain and token combination ([#6616](https://github.com/MetaMask/core/pull/6616))
6738
- Return `0.5` if requesting a bridge quote
6839
- Return `undefined` (auto) if requesting a Solana swap
@@ -72,9 +43,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7243

7344
### Changed
7445

46+
- **BREAKING:** Rename fee handling for non-EVM chains ([#6454](https://github.com/MetaMask/core/pull/6454))
47+
- Replace `SolanaFees` type with `NonEvmFees` type
48+
- Replace `solanaFeesInLamports` field with `nonEvmFeesInNative` field
49+
- Update `#appendSolanaFees` to `#appendNonEvmFees` to support all non-EVM chains
50+
- The `nonEvmFeesInNative` field stores fees in the smallest units for each chain (lamports for Solana, satoshis for Bitcoin)
51+
- Update Snap methods to use new unified interface for non-EVM chains ([#6454](https://github.com/MetaMask/core/pull/6454))
52+
- Replace `getFeeForTransaction` with `computeFee` method that returns fees in native token units
53+
- Update fee calculation to handle different unit conversions per chain
54+
- Support fee computation for Bitcoin and Solana chains
55+
- Update quote validation to support Bitcoin-specific trade data format ([#6454](https://github.com/MetaMask/core/pull/6454))
56+
- Add separate validation for Bitcoin quotes that include `unsignedPsbtBase64` field
57+
- Update selectors and utilities to use `isNonEvmChainId` instead of `isSolanaChainId` for generic non-EVM handling ([#6454](https://github.com/MetaMask/core/pull/6454))
7558
- Bump `@metamask/controller-utils` from `^11.12.0` to `^11.14.0` ([#6620](https://github.com/MetaMask/core/pull/6620), [#6629](https://github.com/MetaMask/core/pull/6629))
7659
- Bump `@metamask/base-controller` from `^8.3.0` to `^8.4.0` ([#6632](https://github.com/MetaMask/core/pull/6632))
7760

61+
### Removed
62+
63+
- **BREAKING:** Remove deprecated `SolanaFees` type - use `NonEvmFees` type instead ([#6454](https://github.com/MetaMask/core/pull/6454))
64+
- **BREAKING:** Remove `solanaFeesInLamports` field from quotes - use `nonEvmFeesInNative` field instead ([#6454](https://github.com/MetaMask/core/pull/6454))
65+
7866
## [43.0.0]
7967

8068
### Added
@@ -637,8 +625,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
637625

638626
- Initial release ([#5317](https://github.com/MetaMask/core/pull/5317))
639627

640-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
641-
[45.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
628+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
642629
[44.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
643630
[43.2.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
644631
[43.2.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/bridge-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/bridge-controller",
3-
"version": "45.0.0",
3+
"version": "44.0.0",
44
"description": "Manages bridge-related quote fetching functionality for MetaMask",
55
"keywords": [
66
"MetaMask",

packages/bridge-status-controller/CHANGELOG.md

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

88
## [Unreleased]
99

10-
## [45.0.0]
10+
### Changed
11+
12+
- Refactor `handleLineaDelay` to `handleApprovalDelay` for improved abstraction and add support for Base chain by using an array and `includes` for chain ID checks ([#6674](https://github.com/MetaMask/core/pull/6674))
13+
14+
## [44.0.0]
1115

12-
### Uncategorized
16+
### Changed
1317

14-
- Release/574.0.0 ([#6680](https://github.com/MetaMask/core/pull/6680))
18+
- **BREAKING:** Bump peer dependency `@metamask/bridge-controller` from `^43.0.0` to `^44.0.0` ([#6652](https://github.com/MetaMask/core/pull/6652), [#6676](https://github.com/MetaMask/core/pull/6676))
19+
20+
## [43.1.0]
1521

1622
### Added
1723

@@ -20,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2026
- Support Bitcoin transaction submission through unified Snap interface
2127
- Add Bitcoin-specific transaction handling in `#handleNonEvmTx` method
2228
- Support extraction of `unsignedPsbtBase64` from trade data for Bitcoin transactions
29+
- Add new controller metadata properties to `BridgeStatusController` ([#6589](https://github.com/MetaMask/core/pull/6589))
2330

2431
### Changed
2532

@@ -42,29 +49,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4249
- Use `formatChainIdToCaip` to get proper scope for each chain
4350
- Extract transaction data from either string or PSBT object format
4451
- Remove dependency on `@metamask/keyring-api` ([#6454](https://github.com/MetaMask/core/pull/6454))
45-
- Refactor `handleLineaDelay` to `handleApprovalDelay` for improved abstraction and add support for Base chain by using an array and `includes` for chain ID checks ([#6674](https://github.com/MetaMask/core/pull/6674))
52+
- Bump `@metamask/controller-utils` from `^11.12.0` to `^11.14.0` ([#6620](https://github.com/MetaMask/core/pull/6620), [#6629](https://github.com/MetaMask/core/pull/6629))
53+
- Bump `@metamask/base-controller` from `^8.3.0` to `^8.4.0` ([#6632](https://github.com/MetaMask/core/pull/6632))
4654

4755
### Removed
4856

4957
- Remove direct dependency on `@metamask/keyring-api` - no longer needed with unified Snap interface ([#6454](https://github.com/MetaMask/core/pull/6454))
5058

51-
## [44.0.0]
52-
53-
### Changed
54-
55-
- **BREAKING:** Bump peer dependency `@metamask/bridge-controller` from `^43.0.0` to `^44.0.0` ([#6652](https://github.com/MetaMask/core/pull/6652), [#6676](https://github.com/MetaMask/core/pull/6676))
56-
57-
## [43.1.0]
58-
59-
### Added
60-
61-
- Add new controller metadata properties to `BridgeStatusController` ([#6589](https://github.com/MetaMask/core/pull/6589))
62-
63-
### Changed
64-
65-
- Bump `@metamask/controller-utils` from `^11.12.0` to `^11.14.0` ([#6620](https://github.com/MetaMask/core/pull/6620), [#6629](https://github.com/MetaMask/core/pull/6629))
66-
- Bump `@metamask/base-controller` from `^8.3.0` to `^8.4.0` ([#6632](https://github.com/MetaMask/core/pull/6632))
67-
6859
## [43.0.0]
6960

7061
### Changed
@@ -599,8 +590,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
599590

600591
- Initial release ([#5317](https://github.com/MetaMask/core/pull/5317))
601592

602-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
603-
[45.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
593+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
604594
[44.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
605595
[43.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
606596
[43.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/bridge-status-controller/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/bridge-status-controller",
3-
"version": "45.0.0",
3+
"version": "44.0.0",
44
"description": "Manages bridge-related status fetching functionality for MetaMask",
55
"keywords": [
66
"MetaMask",
@@ -59,7 +59,7 @@
5959
"devDependencies": {
6060
"@metamask/accounts-controller": "^33.1.0",
6161
"@metamask/auto-changelog": "^3.4.4",
62-
"@metamask/bridge-controller": "^45.0.0",
62+
"@metamask/bridge-controller": "^44.0.0",
6363
"@metamask/gas-fee-controller": "^24.0.0",
6464
"@metamask/network-controller": "^24.2.0",
6565
"@metamask/snaps-controllers": "^14.0.1",
@@ -77,7 +77,7 @@
7777
},
7878
"peerDependencies": {
7979
"@metamask/accounts-controller": "^33.0.0",
80-
"@metamask/bridge-controller": "^45.0.0",
80+
"@metamask/bridge-controller": "^44.0.0",
8181
"@metamask/gas-fee-controller": "^24.0.0",
8282
"@metamask/network-controller": "^24.0.0",
8383
"@metamask/snaps-controllers": "^14.0.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2723,7 +2723,7 @@ __metadata:
27232723
languageName: unknown
27242724
linkType: soft
27252725

2726-
"@metamask/bridge-controller@npm:^45.0.0, @metamask/bridge-controller@workspace:packages/bridge-controller":
2726+
"@metamask/bridge-controller@npm:^44.0.0, @metamask/bridge-controller@workspace:packages/bridge-controller":
27272727
version: 0.0.0-use.local
27282728
resolution: "@metamask/bridge-controller@workspace:packages/bridge-controller"
27292729
dependencies:
@@ -2779,7 +2779,7 @@ __metadata:
27792779
"@metamask/accounts-controller": "npm:^33.1.0"
27802780
"@metamask/auto-changelog": "npm:^3.4.4"
27812781
"@metamask/base-controller": "npm:^8.4.0"
2782-
"@metamask/bridge-controller": "npm:^45.0.0"
2782+
"@metamask/bridge-controller": "npm:^44.0.0"
27832783
"@metamask/controller-utils": "npm:^11.14.0"
27842784
"@metamask/gas-fee-controller": "npm:^24.0.0"
27852785
"@metamask/keyring-api": "npm:^21.0.0"
@@ -2803,7 +2803,7 @@ __metadata:
28032803
uuid: "npm:^8.3.2"
28042804
peerDependencies:
28052805
"@metamask/accounts-controller": ^33.0.0
2806-
"@metamask/bridge-controller": ^45.0.0
2806+
"@metamask/bridge-controller": ^44.0.0
28072807
"@metamask/gas-fee-controller": ^24.0.0
28082808
"@metamask/network-controller": ^24.0.0
28092809
"@metamask/snaps-controllers": ^14.0.0

0 commit comments

Comments
 (0)