Skip to content

Commit

Permalink
chore: bump @metamask/{keyring-api,eth-snap-keyring,snaps-*} (#4948)
Browse files Browse the repository at this point in the history
## Explanation

Updating accounts related packages. We do skip 1 major for the
`keyring-api` which is ok:
- 9.0.0 was about Bitcoin changes (renaming the only BTC method we
support)
- 10.1.0:
* bumps the `@metamask/providers` to the same version than the one
expected by `snaps-*` packages and the `eth-snap-keyring`
  * adds basic Solana support

## References

N/A

## Changelog

### `@metamask/accounts-controller`

- **CHANGED**: Bump `keyring-api` to `^10.1.0`
- **CHANGED**: Bump `eth-snap-keyring` to `^5.0.1`
- **CHANGED**: Bump `snaps-utils` to `^8.3.0`
- **CHANGED**: Bump `snaps-sdk` to `^6.7.0`
- **CHANGED**: Bump peer dependency `snaps-controllers` to `^9.10.0`

### `@metamask/assets-controllers`

- **CHANGED**: Bump `keyring-api` to `^10.1.0`

### `@metamask/chain-controller`

- **CHANGED**: Bump `keyring-api` to `^10.1.0`
- **CHANGED**: Bump `snaps-utils` to `^8.3.0`
- **CHANGED**: Bump `snaps-sdk` to `^6.7.0`
- **CHANGED**: Bump `snaps-controllers` to `^9.10.0`

### `@metamask/keyring-controller`

- **CHANGED**: Bump `keyring-api` to `^10.1.0`

### `@metamask/profile-sync-controller`

- **CHANGED**: Bump `keyring-api` to `^10.1.0`
- **CHANGED**: Bump `snaps-utils` to `^8.3.0`
- **CHANGED**: Bump `snaps-sdk` to `^6.7.0`
- **CHANGED**: Bump peer dependency `snaps-controllers` to `^9.10.0`

### `@metamask/transaction-controller`

- **CHANGED**: Bump `keyring-api` to `^10.1.0`

## Checklist

- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've highlighted breaking changes using the "BREAKING" category
above as appropriate
- [x] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes
  • Loading branch information
ccharly authored Nov 20, 2024
1 parent a32578e commit 6f85ae6
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 171 deletions.
12 changes: 6 additions & 6 deletions packages/accounts-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"dependencies": {
"@ethereumjs/util": "^8.1.0",
"@metamask/base-controller": "^7.0.2",
"@metamask/eth-snap-keyring": "^4.3.6",
"@metamask/keyring-api": "^8.1.3",
"@metamask/snaps-sdk": "^6.5.0",
"@metamask/snaps-utils": "^8.1.1",
"@metamask/eth-snap-keyring": "^5.0.1",
"@metamask/keyring-api": "^10.1.0",
"@metamask/snaps-sdk": "^6.7.0",
"@metamask/snaps-utils": "^8.3.0",
"@metamask/utils": "^10.0.0",
"deepmerge": "^4.2.2",
"ethereum-cryptography": "^2.1.2",
Expand All @@ -62,7 +62,7 @@
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-controller": "^18.0.0",
"@metamask/snaps-controllers": "^9.7.0",
"@metamask/snaps-controllers": "^9.10.0",
"@types/jest": "^27.4.1",
"@types/readable-stream": "^2.3.0",
"jest": "^27.5.1",
Expand All @@ -73,7 +73,7 @@
},
"peerDependencies": {
"@metamask/keyring-controller": "^18.0.0",
"@metamask/snaps-controllers": "^9.7.0"
"@metamask/snaps-controllers": "^9.10.0"
},
"engines": {
"node": "^18.18 || >=20"
Expand Down
2 changes: 1 addition & 1 deletion packages/accounts-controller/src/tests/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const createMockInternalAccount = ({
];
break;
case BtcAccountType.P2wpkh:
methods = [BtcMethod.SendMany];
methods = [BtcMethod.SendBitcoin];
break;
default:
throw new Error(`Unknown account type: ${type as string}`);
Expand Down
2 changes: 1 addition & 1 deletion packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@metamask/approval-controller": "^7.1.1",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/ethjs-provider-http": "^0.3.0",
"@metamask/keyring-api": "^8.1.3",
"@metamask/keyring-api": "^10.1.0",
"@metamask/keyring-controller": "^18.0.0",
"@metamask/network-controller": "^22.0.2",
"@metamask/preferences-controller": "^14.0.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/chain-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"dependencies": {
"@metamask/base-controller": "^7.0.2",
"@metamask/chain-api": "^0.1.0",
"@metamask/keyring-api": "^8.1.3",
"@metamask/snaps-controllers": "^9.7.0",
"@metamask/snaps-sdk": "^6.5.0",
"@metamask/snaps-utils": "^8.1.1",
"@metamask/keyring-api": "^10.1.0",
"@metamask/snaps-controllers": "^9.10.0",
"@metamask/snaps-sdk": "^6.7.0",
"@metamask/snaps-utils": "^8.3.0",
"@metamask/utils": "^10.0.0",
"uuid": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/keyring-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@metamask/eth-hd-keyring": "^7.0.4",
"@metamask/eth-sig-util": "^8.0.0",
"@metamask/eth-simple-keyring": "^6.0.5",
"@metamask/keyring-api": "^8.1.3",
"@metamask/keyring-api": "^10.1.0",
"@metamask/message-manager": "^11.0.1",
"@metamask/utils": "^10.0.0",
"async-mutex": "^0.5.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/profile-sync-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@
},
"dependencies": {
"@metamask/base-controller": "^7.0.2",
"@metamask/keyring-api": "^8.1.3",
"@metamask/keyring-api": "^10.1.0",
"@metamask/keyring-controller": "^18.0.0",
"@metamask/network-controller": "^22.0.2",
"@metamask/snaps-sdk": "^6.5.0",
"@metamask/snaps-utils": "^8.1.1",
"@metamask/snaps-sdk": "^6.7.0",
"@metamask/snaps-utils": "^8.3.0",
"@noble/ciphers": "^0.5.2",
"@noble/hashes": "^1.4.0",
"immer": "^9.0.6",
Expand All @@ -116,7 +116,7 @@
"@lavamoat/allow-scripts": "^3.0.4",
"@metamask/accounts-controller": "^19.0.0",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/snaps-controllers": "^9.7.0",
"@metamask/snaps-controllers": "^9.10.0",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
"ethers": "^6.12.0",
Expand All @@ -132,7 +132,7 @@
"@metamask/accounts-controller": "^19.0.0",
"@metamask/keyring-controller": "^18.0.0",
"@metamask/network-controller": "^22.0.0",
"@metamask/snaps-controllers": "^9.7.0"
"@metamask/snaps-controllers": "^9.10.0"
},
"engines": {
"node": "^18.18 || >=20"
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@metamask/eth-json-rpc-provider": "^4.1.6",
"@metamask/ethjs-provider-http": "^0.3.0",
"@metamask/gas-fee-controller": "^22.0.1",
"@metamask/keyring-api": "^8.1.3",
"@metamask/keyring-api": "^10.1.0",
"@metamask/network-controller": "^22.0.2",
"@types/bn.js": "^5.1.5",
"@types/jest": "^27.4.1",
Expand Down
Loading

0 comments on commit 6f85ae6

Please sign in to comment.