Skip to content

Commit

Permalink
Update controller packages to match core v42
Browse files Browse the repository at this point in the history
Most controller packages have been updated to the versions included in
the core monorepo v42 release. The keyring controller was the only
package held back, due to the BigInt incompatibility.

The breaking change for most of these updates was related to the
removal of the `isomorphic-fetch` package. That package would polyfill
the `fetch` API if it wasn't present. It's not a breaking change for
mobile because mobile already includes its own polyfill for the `fetch`
API.

The only other breaking change is to the gas fee controller, which has
made a constructor parameter required rather than optional. This does
not affect mobile because mobile already sets that parameter..

See here for the release notes for each updated controller: https://github.com/MetaMask/core/releases/tag/v42.0.0

This progresses MetaMask/mobile-planning#798
  • Loading branch information
Gudahtt committed May 8, 2023
1 parent 5a6488a commit 5553673
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 119 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"test:e2e": "yarn test:e2e:ios && yarn test:e2e:android",
"test:e2e:ios": "detox build -c ios.sim.release && detox test -c ios.sim.release",
"test:e2e:ios:debug": "detox build -c ios.sim.debug && detox test -c ios.sim.debug",
"test:e2e:ios:debug:single":"detox test -c ios.sim.debug",
"test:e2e:ios:debug:single": "detox test -c ios.sim.debug",
"test:e2e:android": "detox build -c android.emu.release && detox test -c android.emu.release --record-videos failing",
"test:e2e:android:qa": "detox build -c android.emu.release.qa && detox test -c android.emu.release.qa --record-videos failing",
"test:wdio:ios": "yarn wdio ./wdio/config/ios.config.debug.js",
Expand Down Expand Up @@ -142,26 +142,26 @@
"@keystonehq/bc-ur-registry-eth": "^0.7.7",
"@keystonehq/metamask-airgapped-keyring": "^0.3.0",
"@keystonehq/ur-decoder": "^0.6.1",
"@metamask/address-book-controller": "^1.1.0",
"@metamask/approval-controller": "^1.1.0",
"@metamask/assets-controllers": "^4.0.1",
"@metamask/base-controller": "^1.1.2",
"@metamask/composable-controller": "^1.0.2",
"@metamask/address-book-controller": "^2.0.0",
"@metamask/approval-controller": "~2.0.0",
"@metamask/assets-controllers": "5.0.0",
"@metamask/base-controller": "^2.0.0",
"@metamask/composable-controller": "^2.0.0",
"@metamask/contract-metadata": "^2.1.0",
"@metamask/controller-utils": "^2.0.0",
"@metamask/controller-utils": "~3.0.0",
"@metamask/design-tokens": "^1.11.1",
"@metamask/eth-sig-util": "^4.0.1",
"@metamask/etherscan-link": "^2.0.0",
"@metamask/gas-fee-controller": "^3.0.0",
"@metamask/gas-fee-controller": "4.0.0",
"@metamask/keyring-controller": "^1.0.1",
"@metamask/message-manager": "^1.0.2",
"@metamask/network-controller": "^4.0.0",
"@metamask/permission-controller": "^2.0.0",
"@metamask/phishing-controller": "^2.0.0",
"@metamask/message-manager": "^2.0.0",
"@metamask/network-controller": "^5.0.0",
"@metamask/permission-controller": "~3.0.0",
"@metamask/phishing-controller": "^3.0.0",
"@metamask/preferences-controller": "^2.1.0",
"@metamask/sdk-communication-layer": "0.2.2",
"@metamask/swaps-controller": "^6.8.0",
"@metamask/transaction-controller": "^3.0.0",
"@metamask/transaction-controller": "4.0.0",
"@ngraveio/bc-ur": "^1.1.6",
"@react-native-async-storage/async-storage": "1.17.10",
"@react-native-clipboard/clipboard": "^1.8.4",
Expand Down
Loading

0 comments on commit 5553673

Please sign in to comment.