From 0482ab6f56d8262f3ca15daccdf215d00b90d7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Regadas?= Date: Tue, 3 Oct 2023 14:26:46 +0100 Subject: [PATCH] [MMI] - Updates the mmi packages, containing a small fix (#21164) Updates the MMI packages, specifically the SDK one that contains a fix regarding the content-type header of a client api being set wrongly. ## Pre-merge author checklist - [x] I've clearly explained: - [x] What problem this PR is solving - [x] How this problem was solved - [x] How reviewers can test my changes - [x] Sufficient automated test coverage has been added ## Pre-merge reviewer checklist - [x] Manual testing (e.g. pull and build branch, run in browser, test code being changed) - [ ] **IF** this PR fixes a bug in the release milestone, add this PR to the release milestone If further QA is required (e.g. new feature, complex testing steps, large refactor), add the `Extension QA Board` label. In this case, a QA Engineer approval will be be required. --- app/_locales/en/messages.json | 3 + package.json | 12 ++-- yarn.lock | 111 ++++++++++++++++------------------ 3 files changed, 61 insertions(+), 65 deletions(-) diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index 79a76e98dbdf..9243f745c25b 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -632,6 +632,9 @@ "busy": { "message": "Busy" }, + "buy": { + "message": "Buy" + }, "buyAndSell": { "message": "Buy & Sell" }, diff --git a/package.json b/package.json index 4ff01e9f53aa..e923b3e7cd5c 100644 --- a/package.json +++ b/package.json @@ -226,14 +226,14 @@ "@keystonehq/metamask-airgapped-keyring": "^0.13.1", "@lavamoat/snow": "^1.5.0", "@material-ui/core": "^4.11.0", - "@metamask-institutional/custody-controller": "^0.2.12", - "@metamask-institutional/custody-keyring": "^1.0.2", - "@metamask-institutional/extension": "^0.3.5", - "@metamask-institutional/institutional-features": "^1.2.4", + "@metamask-institutional/custody-controller": "^0.2.14", + "@metamask-institutional/custody-keyring": "^1.0.3", + "@metamask-institutional/extension": "^0.3.7", + "@metamask-institutional/institutional-features": "^1.2.6", "@metamask-institutional/portfolio-dashboard": "^1.4.0", "@metamask-institutional/rpc-allowlist": "^1.0.0", - "@metamask-institutional/sdk": "^0.1.18", - "@metamask-institutional/transaction-update": "^0.1.27", + "@metamask-institutional/sdk": "^0.1.19", + "@metamask-institutional/transaction-update": "^0.1.29", "@metamask/address-book-controller": "^3.0.0", "@metamask/announcement-controller": "^4.0.0", "@metamask/approval-controller": "^3.4.0", diff --git a/yarn.lock b/yarn.lock index 946c6b676e34..b948612ea10d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3628,59 +3628,59 @@ __metadata: languageName: node linkType: hard -"@metamask-institutional/custody-controller@npm:^0.2.12": - version: 0.2.12 - resolution: "@metamask-institutional/custody-controller@npm:0.2.12" +"@metamask-institutional/custody-controller@npm:^0.2.14": + version: 0.2.14 + resolution: "@metamask-institutional/custody-controller@npm:0.2.14" dependencies: "@ethereumjs/util": "npm:^8.0.5" - "@metamask-institutional/custody-keyring": "npm:^1.0.1" - "@metamask-institutional/sdk": "npm:^0.1.18" + "@metamask-institutional/custody-keyring": "npm:^1.0.3" + "@metamask-institutional/sdk": "npm:^0.1.19" "@metamask-institutional/types": "npm:^1.0.3" "@metamask/obs-store": "npm:^8.0.0" - checksum: 62d54cf12b5ff00d8038261de835d07f654077c39a66081fb88d4c79d37227ef6671dfef437e2af925cf72576abd523013a0fa652845960d937c6e58afff796b + checksum: 75979ba8bc4fa122a886b23525733ec81188cf6b2064f44786e4f32223f225a41ba2ebf1c31ebdf7eafcad5e1efefa2e9d93a1beb3e4ff64a7824f543377baaf languageName: node linkType: hard -"@metamask-institutional/custody-keyring@npm:^1.0.1, @metamask-institutional/custody-keyring@npm:^1.0.2": - version: 1.0.2 - resolution: "@metamask-institutional/custody-keyring@npm:1.0.2" +"@metamask-institutional/custody-keyring@npm:^1.0.3": + version: 1.0.3 + resolution: "@metamask-institutional/custody-keyring@npm:1.0.3" dependencies: "@ethereumjs/tx": "npm:^4.1.1" "@ethereumjs/util": "npm:^8.0.5" "@metamask-institutional/configuration-client": "npm:^2.0.0" - "@metamask-institutional/sdk": "npm:^0.1.18" + "@metamask-institutional/sdk": "npm:^0.1.19" "@metamask-institutional/types": "npm:^1.0.3" "@metamask/obs-store": "npm:^8.0.0" crypto: "npm:^1.0.1" lodash.clonedeep: "npm:^4.5.0" - checksum: eff487de17a9d7ea889a953f9874ee0a55b568928c97bf93a90c33af52acfc8958d708d8fb4e4cd909ec0e57757409ac86476b6ab89b72b72b4f6559eab3b06b + checksum: 102accc2b807182f181fa9ed8839289b8f1582bbd267f39aa6fa1313080045e1074c2bc58145e0462e80f05ab8a24fdf1f9e6a7bb58653c8ec38606e3d8ef60f languageName: node linkType: hard -"@metamask-institutional/extension@npm:^0.3.5": - version: 0.3.5 - resolution: "@metamask-institutional/extension@npm:0.3.5" +"@metamask-institutional/extension@npm:^0.3.7": + version: 0.3.7 + resolution: "@metamask-institutional/extension@npm:0.3.7" dependencies: "@ethereumjs/util": "npm:^8.0.5" - "@metamask-institutional/custody-controller": "npm:^0.2.12" - "@metamask-institutional/custody-keyring": "npm:^1.0.1" + "@metamask-institutional/custody-controller": "npm:^0.2.14" + "@metamask-institutional/custody-keyring": "npm:^1.0.3" "@metamask-institutional/portfolio-dashboard": "npm:^1.4.0" - "@metamask-institutional/sdk": "npm:^0.1.18" - "@metamask-institutional/transaction-update": "npm:^0.1.27" + "@metamask-institutional/sdk": "npm:^0.1.19" + "@metamask-institutional/transaction-update": "npm:^0.1.29" "@metamask-institutional/types": "npm:^1.0.3" jest-create-mock-instance: "npm:^2.0.0" jest-fetch-mock: "npm:3.0.3" - checksum: a8b242d4837abc3812e01c38945428dcde0b29090e6c60d828c259f968378144c2e7e3f4bc3591f72232e0c037e6e3718627a65f45c3d446b96c45752e03eb4c + checksum: 628cbac88c1438bdee59d0cc0431cc1a091dc61e3f2f3aea8ae0d6bdb2d47a835098b39ed87bf77cb05066681fdc7636251ffecac7a8122d3ae9ba27a96860c9 languageName: node linkType: hard -"@metamask-institutional/institutional-features@npm:^1.2.4": - version: 1.2.4 - resolution: "@metamask-institutional/institutional-features@npm:1.2.4" +"@metamask-institutional/institutional-features@npm:^1.2.6": + version: 1.2.6 + resolution: "@metamask-institutional/institutional-features@npm:1.2.6" dependencies: - "@metamask-institutional/custody-keyring": "npm:^1.0.1" + "@metamask-institutional/custody-keyring": "npm:^1.0.3" "@metamask/obs-store": "npm:^8.0.0" - checksum: 988dc946563c820951da37a1aba2905b3d4987332c72dc2131cce2a67fcbc6789fd3e73d9240c9c756cb73d1e28953bd8efd6b7c3828d3a90e6bd9ed72243cd7 + checksum: 0a7b97dbfabaaff589172aa63429862c6a58ee8df0883ecd8758e11619de2d3e74e98cb91ce871dffba454eb1841d155ce386aae77789e2080cdcdea2840de19 languageName: node linkType: hard @@ -3698,17 +3698,17 @@ __metadata: languageName: node linkType: hard -"@metamask-institutional/sdk@npm:^0.1.18": - version: 0.1.18 - resolution: "@metamask-institutional/sdk@npm:0.1.18" +"@metamask-institutional/sdk@npm:^0.1.19": + version: 0.1.19 + resolution: "@metamask-institutional/sdk@npm:0.1.19" dependencies: "@metamask-institutional/simplecache": "npm:^1.1.0" "@metamask-institutional/types": "npm:^1.0.3" "@types/jsonwebtoken": "npm:^9.0.1" - "@types/node": "npm:^18.15.11" + "@types/node": "npm:^20.4.2" bignumber.js: "npm:^9.1.1" jsonwebtoken: "npm:^9.0.0" - checksum: a554a2431caa4d9bb396cb19434a68a4a0a87eecfc5e7c0ed57b4d763eb5ac43563f002f90789f503ceec9c12534b727ad62a3d3feae4aea623eb35244be19aa + checksum: a73e77545ee5bfc0a56390184efa01e3f58830bff1bf8b787d0c43b70a382055563fcde313998ea8d18d808d0207228931d3cdc145e20ac9df6ca7abd79abfd3 languageName: node linkType: hard @@ -3719,17 +3719,17 @@ __metadata: languageName: node linkType: hard -"@metamask-institutional/transaction-update@npm:^0.1.27": - version: 0.1.27 - resolution: "@metamask-institutional/transaction-update@npm:0.1.27" +"@metamask-institutional/transaction-update@npm:^0.1.29": + version: 0.1.29 + resolution: "@metamask-institutional/transaction-update@npm:0.1.29" dependencies: - "@metamask-institutional/custody-keyring": "npm:^1.0.1" - "@metamask-institutional/sdk": "npm:^0.1.18" + "@metamask-institutional/custody-keyring": "npm:^1.0.3" + "@metamask-institutional/sdk": "npm:^0.1.19" "@metamask-institutional/types": "npm:^1.0.3" - "@metamask-institutional/websocket-client": "npm:^0.1.29" + "@metamask-institutional/websocket-client": "npm:^0.1.31" "@metamask/obs-store": "npm:^8.0.0" ethereumjs-util: "npm:^7.1.5" - checksum: 1ff8db117aebf1c0131de0d89ca14d9a74ef8757187ad30e6ee7fd25859a2ce22a9a01f49efc33360bd9231ccce22ab89cc1bcea3d6a0ea915b2ee9d76cdc618 + checksum: 30885e530cb29228d5bca5b8b319a8ee6277cd4a4606677f88892f461f21fe26bce8a8a7139fe0b7e9911e4718a9210a5142498f39512379d408724c647504ce languageName: node linkType: hard @@ -3740,15 +3740,15 @@ __metadata: languageName: node linkType: hard -"@metamask-institutional/websocket-client@npm:^0.1.29": - version: 0.1.29 - resolution: "@metamask-institutional/websocket-client@npm:0.1.29" +"@metamask-institutional/websocket-client@npm:^0.1.31": + version: 0.1.31 + resolution: "@metamask-institutional/websocket-client@npm:0.1.31" dependencies: - "@metamask-institutional/custody-keyring": "npm:^1.0.1" - "@metamask-institutional/sdk": "npm:^0.1.18" + "@metamask-institutional/custody-keyring": "npm:^1.0.3" + "@metamask-institutional/sdk": "npm:^0.1.19" "@metamask-institutional/types": "npm:^1.0.3" mock-socket: "npm:^9.2.1" - checksum: 137d8d9c9a0672744022a92b04ed9b65d10cc34bba2bbcdb5b8ac7e7912ca25d6f8fc4d671ff973ee6dafbe58b6cbbad4aad3f35146363b03acdfa5d91d6b961 + checksum: 0776c4a24029eecbf6ca7b4ed1a97b88e0c2643baf819a6182d36654f81851f0ddbf8e29494574a191a0445acf9e9df2cc1225ee7979b1015b2a164ed8199156 languageName: node linkType: hard @@ -7918,10 +7918,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:>=13.7.0": - version: 20.2.5 - resolution: "@types/node@npm:20.2.5" - checksum: 37529473f00ee1042133abef58c9f9e92cd3b28f8d6cae3fabd09696dc86505bb6cdf3329403a5b23ccddbe589b8b7579b0b6d78ddfbeca856114d165af44ce5 +"@types/node@npm:*, @types/node@npm:>=13.7.0, @types/node@npm:^20.4.2": + version: 20.8.2 + resolution: "@types/node@npm:20.8.2" + checksum: 61bd39870625d8afcbb4f21d6a0c3a9681f6d508dc6b06f2497e9ad3ec942092a120bcfdbc1757a8e4017308449bc2a9b9865b2b9840b158878a4e8cc0804a3c languageName: node linkType: hard @@ -7939,13 +7939,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^18.15.11": - version: 18.16.16 - resolution: "@types/node@npm:18.16.16" - checksum: de89394eae62000f2df988b37928cbeefc1407a50060aee8d1ac9c5e11d01be8305c1e14fc26d80f262f352e60c961b82a00bbafca181d3717a7ce52336cb2bd - languageName: node - linkType: hard - "@types/normalize-package-data@npm:^2.4.0": version: 2.4.0 resolution: "@types/normalize-package-data@npm:2.4.0" @@ -23838,14 +23831,14 @@ __metadata: "@lavamoat/lavapack": "npm:^5.2.4" "@lavamoat/snow": "npm:^1.5.0" "@material-ui/core": "npm:^4.11.0" - "@metamask-institutional/custody-controller": "npm:^0.2.12" - "@metamask-institutional/custody-keyring": "npm:^1.0.2" - "@metamask-institutional/extension": "npm:^0.3.5" - "@metamask-institutional/institutional-features": "npm:^1.2.4" + "@metamask-institutional/custody-controller": "npm:^0.2.14" + "@metamask-institutional/custody-keyring": "npm:^1.0.3" + "@metamask-institutional/extension": "npm:^0.3.7" + "@metamask-institutional/institutional-features": "npm:^1.2.6" "@metamask-institutional/portfolio-dashboard": "npm:^1.4.0" "@metamask-institutional/rpc-allowlist": "npm:^1.0.0" - "@metamask-institutional/sdk": "npm:^0.1.18" - "@metamask-institutional/transaction-update": "npm:^0.1.27" + "@metamask-institutional/sdk": "npm:^0.1.19" + "@metamask-institutional/transaction-update": "npm:^0.1.29" "@metamask/address-book-controller": "npm:^3.0.0" "@metamask/announcement-controller": "npm:^4.0.0" "@metamask/approval-controller": "npm:^3.4.0"