Skip to content

Commit

Permalink
chore: Upgrade address-book-controller (#9805)
Browse files Browse the repository at this point in the history
## **Description**

Updating the `address-book-controller` from v3.0.0 to 4.0.1

## **Related issues**

Fixes: [#1778
](https://github.com/orgs/MetaMask/projects/60/views/3?pane=issue&itemId=63012540)

## **Manual testing steps**

1. Go to address, click on edit
2. Insert nickname (label) for the address
3. Make sure that the label shows up when you try sending to said
address

## **Screenshots/Recordings**

No changes (videos show identical functionality)

### **Before**


https://github.com/MetaMask/metamask-mobile/assets/6249205/40b162d9-844b-454c-bcdd-d19f12eb88fa

### **After**


https://github.com/MetaMask/metamask-mobile/assets/6249205/67702d6e-0af4-473f-bc4e-cc0f8ab92b37

## **Pre-merge author checklist**

- [X] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [X] I've completed the PR template to the best of my ability
- [X] I’ve included tests if applicable
- [X] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [X] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **Pre-merge reviewer checklist**

- [X] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [X] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.

Co-authored-by: sethkfman <[email protected]>
  • Loading branch information
kylanhurt and sethkfman authored Jun 3, 2024
1 parent b9b3b58 commit 9e45292
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 30 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"@keystonehq/ur-decoder": "^0.12.2",
"@ledgerhq/react-native-hw-transport-ble": "^6.32.3",
"@metamask/accounts-controller": "^11.0.0",
"@metamask/address-book-controller": "^3.0.0",
"@metamask/address-book-controller": "^4.0.1",
"@metamask/approval-controller": "^3.5.2",
"@metamask/assets-controllers": "^26.0.0",
"@metamask/base-controller": "^5.0.0",
Expand Down
37 changes: 8 additions & 29 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3633,14 +3633,14 @@
immer "^9.0.6"
uuid "^8.3.2"

"@metamask/address-book-controller@^3.0.0":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@metamask/address-book-controller/-/address-book-controller-3.1.5.tgz#3816aebf0dc25cb79cfb752c9717faa20731c892"
integrity sha512-QYCfHwx64pgAWLQwTwVcDSwIMOTsCOt5nvxZ79aFpmWpsCWcXUMfLWtfEjYBi3R6nCktBY2orJw/wgnFFn+6Rw==
"@metamask/address-book-controller@^4.0.1":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@metamask/address-book-controller/-/address-book-controller-4.0.1.tgz#78a841e97b7db0058e6796590eb07444c750d13f"
integrity sha512-ooQRuPP5Tm/vLvajwhZdmEoAGEx9/z2UyjvAZwY0AgEe1XK2ry6XbNHV/NH/9l559G+dwMXtM/oybt6d7yiy9Q==
dependencies:
"@metamask/base-controller" "^4.0.0"
"@metamask/controller-utils" "^6.0.0"
"@metamask/utils" "^8.2.0"
"@metamask/base-controller" "^5.0.1"
"@metamask/controller-utils" "^9.0.1"
"@metamask/utils" "^8.3.0"

"@metamask/approval-controller@^3.5.2":
version "3.5.2"
Expand Down Expand Up @@ -3715,7 +3715,7 @@
"@metamask/utils" "^8.1.0"
immer "^9.0.6"

"@metamask/base-controller@^4.0.0", "@metamask/base-controller@^4.0.1", "@metamask/base-controller@^4.1.0", "@metamask/base-controller@^4.1.1":
"@metamask/base-controller@^4.0.1", "@metamask/base-controller@^4.1.0", "@metamask/base-controller@^4.1.1":
version "4.1.1"
resolved "https://registry.yarnpkg.com/@metamask/base-controller/-/base-controller-4.1.1.tgz#9b411adf4822de7382fe69d07bb6b3fc3e738923"
integrity sha512-sJdsd/XlyOa0kRJ16qbM+xeQ8peV1yZcYumJmHCClPK09MkAlxq7EzsrahVZXUCFwcxtSucf244pbttnVqNthw==
Expand Down Expand Up @@ -3778,19 +3778,6 @@
ethjs-unit "^0.1.6"
fast-deep-equal "^3.1.3"

"@metamask/controller-utils@^6.0.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@metamask/controller-utils/-/controller-utils-6.1.0.tgz#12edf2e1d65f60da2d9332747cc1bd37d0ca4372"
integrity sha512-R5OFZhbeztXN6eZ43e3KHkmrunzClPHhJVPNqV0zk0sDG6TvEw90RyqTEG+VB4HNl4dfXmca1X4iYaiYLFwB+w==
dependencies:
"@metamask/eth-query" "^4.0.0"
"@metamask/ethjs-unit" "^0.2.1"
"@metamask/utils" "^8.2.0"
"@spruceid/siwe-parser" "1.1.3"
eth-ens-namehash "^2.0.8"
ethereumjs-util "^7.0.10"
fast-deep-equal "^3.1.3"

"@metamask/controller-utils@^8.0.1", "@metamask/controller-utils@^8.0.2", "@metamask/controller-utils@^8.0.4":
version "8.0.4"
resolved "https://registry.yarnpkg.com/@metamask/controller-utils/-/controller-utils-8.0.4.tgz#78a952301ff4b2a501b31865ab0de434c6ea3cd2"
Expand Down Expand Up @@ -4102,14 +4089,6 @@
dependencies:
promise-to-callback "^1.0.0"

"@metamask/ethjs-unit@^0.2.1":
version "0.2.1"
resolved "https://registry.yarnpkg.com/@metamask/ethjs-unit/-/ethjs-unit-0.2.1.tgz#168d93d11ff6381c35fb44915252dbb425ebe4dd"
integrity sha512-4wjjaXN/yIHeZDWuExoZ/fapL9vP6+mOZJTuqsresx35zf2Rh0IAM5hbr54bhHY+9TFejCms2vTiIWatK0TzYw==
dependencies:
bn.js "4.11.6"
number-to-bn "1.7.0"

"@metamask/ethjs-unit@^0.3.0":
version "0.3.0"
resolved "https://registry.yarnpkg.com/@metamask/ethjs-unit/-/ethjs-unit-0.3.0.tgz#d44d21d3b4ad443fb0cdd0362ea07c6f51e68ec4"
Expand Down

0 comments on commit 9e45292

Please sign in to comment.