1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Update @metamask/address-book-controller to v3 (#19345)

The `@metamask/address-book-controller` package has been updated to v3.
This version was part of the [core monorepo v53](https://github.com/MetaMask/core/pull/1385)
release. The remaining packages released as part of v53 will be updated
in later PRs.

This release included a number of breaking changes relating to the
`chainId` format change from `string` to `Hex`. However these changes
don't affect the extension because it was already using `Hex` chain IDs
for all address book interactions.

Relates to #19271
This commit is contained in:
Mark Stacey 2023-05-31 19:32:08 -02:30 committed by GitHub
parent 000c1f2ef4
commit 58c0ac8b53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 104 deletions

View File

@ -789,30 +789,8 @@
},
"@metamask/address-book-controller": {
"packages": {
"@metamask/address-book-controller>@metamask/base-controller": true,
"@metamask/address-book-controller>@metamask/controller-utils": true
}
},
"@metamask/address-book-controller>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/address-book-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
"@metamask/base-controller": true,
"@metamask/controller-utils": true
}
},
"@metamask/announcement-controller": {

View File

@ -789,30 +789,8 @@
},
"@metamask/address-book-controller": {
"packages": {
"@metamask/address-book-controller>@metamask/base-controller": true,
"@metamask/address-book-controller>@metamask/controller-utils": true
}
},
"@metamask/address-book-controller>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/address-book-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
"@metamask/base-controller": true,
"@metamask/controller-utils": true
}
},
"@metamask/announcement-controller": {

View File

@ -789,30 +789,8 @@
},
"@metamask/address-book-controller": {
"packages": {
"@metamask/address-book-controller>@metamask/base-controller": true,
"@metamask/address-book-controller>@metamask/controller-utils": true
}
},
"@metamask/address-book-controller>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/address-book-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
"@metamask/base-controller": true,
"@metamask/controller-utils": true
}
},
"@metamask/announcement-controller": {

View File

@ -789,30 +789,8 @@
},
"@metamask/address-book-controller": {
"packages": {
"@metamask/address-book-controller>@metamask/base-controller": true,
"@metamask/address-book-controller>@metamask/controller-utils": true
}
},
"@metamask/address-book-controller>@metamask/base-controller": {
"packages": {
"immer": true
}
},
"@metamask/address-book-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
"@metamask/base-controller": true,
"@metamask/controller-utils": true
}
},
"@metamask/announcement-controller": {

View File

@ -223,7 +223,7 @@
"@metamask-institutional/portfolio-dashboard": "^1.1.3",
"@metamask-institutional/sdk": "^0.1.17",
"@metamask-institutional/transaction-update": "^0.1.21",
"@metamask/address-book-controller": "^2.0.0",
"@metamask/address-book-controller": "^3.0.0",
"@metamask/announcement-controller": "^4.0.0",
"@metamask/approval-controller": "^2.1.0",
"@metamask/assets-controllers": "^7.0.0",

View File

@ -3867,13 +3867,14 @@ __metadata:
languageName: node
linkType: hard
"@metamask/address-book-controller@npm:^2.0.0":
version: 2.0.0
resolution: "@metamask/address-book-controller@npm:2.0.0"
"@metamask/address-book-controller@npm:^3.0.0":
version: 3.0.0
resolution: "@metamask/address-book-controller@npm:3.0.0"
dependencies:
"@metamask/base-controller": ^2.0.0
"@metamask/controller-utils": ^3.0.0
checksum: 7f0c091a2d95a398900b6126ca2331772a65531aa8750e2270f72a806c2ea2e0a26bd2836ab81f13efb550f240309b254395e8fb16b087b6897beb162e175c33
"@metamask/base-controller": ^3.0.0
"@metamask/controller-utils": ^4.0.0
"@metamask/utils": ^5.0.2
checksum: 3ed2f225d7e4f2d88d8139afc7e296a5cde761ec1c9e996ea6c24e4f34d2bea4b3467c9fd3a126b48f534611ca1e7135f77a76d7c5334ab2a8406271b56b1cc8
languageName: node
linkType: hard
@ -23967,7 +23968,7 @@ __metadata:
"@metamask-institutional/portfolio-dashboard": ^1.1.3
"@metamask-institutional/sdk": ^0.1.17
"@metamask-institutional/transaction-update": ^0.1.21
"@metamask/address-book-controller": ^2.0.0
"@metamask/address-book-controller": ^3.0.0
"@metamask/announcement-controller": ^4.0.0
"@metamask/approval-controller": ^2.1.0
"@metamask/assets-controllers": ^7.0.0