From fa916d649f1e744af8a37252b99820ef3ad06ca8 Mon Sep 17 00:00:00 2001 From: Salah-Eddine Saakoun Date: Thu, 5 Dec 2024 15:31:14 +0100 Subject: [PATCH] chore: bump @metamask/ppom-validator to 0.36.0 --- ...ask-ppom-validator-npm-0.32.0-f677deea54.patch | 15 --------------- package.json | 3 +-- yarn.lock | 12 ++++++------ 3 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 .yarn/patches/@metamask-ppom-validator-npm-0.32.0-f677deea54.patch diff --git a/.yarn/patches/@metamask-ppom-validator-npm-0.32.0-f677deea54.patch b/.yarn/patches/@metamask-ppom-validator-npm-0.32.0-f677deea54.patch deleted file mode 100644 index d996c0bdd022..000000000000 --- a/.yarn/patches/@metamask-ppom-validator-npm-0.32.0-f677deea54.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/dist/ppom-controller.js b/dist/ppom-controller.js -index 9cf1502efabec00b25ad381bf2001200ccc9f34f..bfe55b6e68989f794deab069e8b80fc8d719ec25 100644 ---- a/dist/ppom-controller.js -+++ b/dist/ppom-controller.js -@@ -203,7 +203,9 @@ async function _PPOMController_initialisePPOM() { - console.error(`Error in deleting files: ${error.message}`); - }); - }, _PPOMController_onNetworkChange = function _PPOMController_onNetworkChange(networkControllerState) { -- const id = (0, util_1.addHexPrefix)(networkControllerState.providerConfig.chainId); -+ const selectedNetworkClient = this.messagingSystem.call('NetworkController:getNetworkClientById', networkControllerState.selectedNetworkClientId); -+ const { chainId } = selectedNetworkClient.configuration; -+ const id = (0, util_1.addHexPrefix)(chainId); - if (id === __classPrivateFieldGet(this, _PPOMController_chainId, "f")) { - return; - } diff --git a/package.json b/package.json index d5d55fc295e5..9d45fc840453 100644 --- a/package.json +++ b/package.json @@ -242,7 +242,6 @@ "@expo/config-plugins/glob": "^10.3.10", "@solana/web3.js/rpc-websockets": "^8.0.1", "@metamask/nonce-tracker@npm:^5.0.0": "patch:@metamask/nonce-tracker@npm%3A5.0.0#~/.yarn/patches/@metamask-nonce-tracker-npm-5.0.0-d81478218e.patch", - "@metamask/network-controller@npm:^21.0.0": "patch:@metamask/network-controller@npm%3A22.0.2#~/.yarn/patches/@metamask-network-controller-npm-22.0.2-6fc65c500a.patch", "@metamask/network-controller@npm:^22.0.0": "patch:@metamask/network-controller@npm%3A22.1.0#~/.yarn/patches/@metamask-network-controller-npm-22.1.0-621c281f70.patch", "path-to-regexp": "1.9.0", "@ledgerhq/cryptoassets-evm-signatures/axios": "^0.28.0", @@ -330,7 +329,7 @@ "@metamask/phishing-controller": "^12.3.0", "@metamask/polling-controller": "^12.0.1", "@metamask/post-message-stream": "^8.0.0", - "@metamask/ppom-validator": "0.35.1", + "@metamask/ppom-validator": "0.36.0", "@metamask/preinstalled-example-snap": "^0.2.0", "@metamask/profile-sync-controller": "^2.0.0", "@metamask/providers": "^18.2.0", diff --git a/yarn.lock b/yarn.lock index 4433f04769b4..cf1a584b443e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5936,9 +5936,9 @@ __metadata: languageName: node linkType: hard -"@metamask/ppom-validator@npm:0.35.1": - version: 0.35.1 - resolution: "@metamask/ppom-validator@npm:0.35.1" +"@metamask/ppom-validator@npm:0.36.0": + version: 0.36.0 + resolution: "@metamask/ppom-validator@npm:0.36.0" dependencies: "@metamask/base-controller": "npm:^7.0.1" "@metamask/controller-utils": "npm:^11.3.0" @@ -5949,8 +5949,8 @@ __metadata: eslint-plugin-n: "npm:^16.6.2" json-rpc-random-id: "npm:^1.0.1" peerDependencies: - "@metamask/network-controller": ^21.0.0 - checksum: 10/3dd37ced473a78e4b7847c61b6c6fb1e2ae4865dee67de9574462fd618dc5ea7be46874f12ff18383702c46c9c07c32dbac00be2e6ad26cb45a3dcc4ffa09ab7 + "@metamask/network-controller": ^22.0.0 + checksum: 10/6819ed45e9fadaa2078db37fc9c50bcedfd8564cd955a97c4dbcde6516210380e3a215c2740ebb8b24b24d9bd92e52e036b80037443a96b7f2f12b4932af34cc languageName: node linkType: hard @@ -26466,7 +26466,7 @@ __metadata: "@metamask/phishing-warning": "npm:^4.1.0" "@metamask/polling-controller": "npm:^12.0.1" "@metamask/post-message-stream": "npm:^8.0.0" - "@metamask/ppom-validator": "npm:0.35.1" + "@metamask/ppom-validator": "npm:0.36.0" "@metamask/preferences-controller": "npm:^14.0.0" "@metamask/preinstalled-example-snap": "npm:^0.2.0" "@metamask/profile-sync-controller": "npm:^2.0.0"