Skip to content
Merged
9 changes: 9 additions & 0 deletions packages/bridge-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- **BREAKING** Make `walletAddress` a required quote request parameter when calling the `updateBridgeQuoteRequestParams` handler ([#6719](https://github.com/MetaMask/core/pull/6719))
- Bump `@metamask/utils` from `^11.8.0` to `^11.8.1` ([#6708](https://github.com/MetaMask/core/pull/6708))

### Removed

- Deprecate the unused `SnapConfirmationViewed` event ([#6719](https://github.com/MetaMask/core/pull/6719))

### Fixed

- Replace `AccountsController:getSelectedMultichainAccount` usages with AccountsController:getAccountByAddress` when retrieving Solana account details for quote metadata ([#6719](https://github.com/MetaMask/core/pull/6719))

## [46.0.0]

### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,32 +164,6 @@ Array [
]
`;

exports[`BridgeController trackUnifiedSwapBridgeEvent bridge-status-controller calls should track the SnapConfirmationViewed event 1`] = `
Array [
Array [
"Unified SwapBridge Snap Confirmation Page Viewed",
Object {
"action_type": "swapbridge-v1",
"chain_id_destination": null,
"chain_id_source": "eip155:1",
"custom_slippage": false,
"gas_included": false,
"gas_included_7702": false,
"is_hardware_wallet": false,
"price_impact": 0,
"provider": "provider_bridge",
"quoted_time_minutes": 0,
"slippage_limit": undefined,
"swap_type": "crosschain",
"token_address_destination": null,
"token_address_source": "eip155:1/slip44:60",
"usd_quoted_gas": 0,
"usd_quoted_return": 0,
},
],
]
`;

exports[`BridgeController trackUnifiedSwapBridgeEvent bridge-status-controller calls should track the StatusValidationFailed event 1`] = `
Array [
Array [
Expand Down Expand Up @@ -393,6 +367,22 @@ Array [
`;

exports[`BridgeController trackUnifiedSwapBridgeEvent client-side calls should track the QuotesReceived event 1`] = `
Array [
Array [
"NetworkController:getState",
],
Array [
"NetworkController:getNetworkClientById",
"selectedNetworkClientId",
],
Array [
"AccountsController:getAccountByAddress",
"0x123",
],
]
`;

exports[`BridgeController trackUnifiedSwapBridgeEvent client-side calls should track the QuotesReceived event 2`] = `
Array [
Array [
"Unified SwapBridge Quotes Received",
Expand Down
Loading
Loading