From fe008212b401796707c945aa57b647db9361cb8e Mon Sep 17 00:00:00 2001 From: Matthew Walsh Date: Fri, 6 Dec 2024 10:21:02 +0000 Subject: [PATCH 1/8] Release 264.0.0 (#5032) Major release of `@metamask/transaction-controller` to retrieve incoming transactions from the accounts API. Major release of `@metamask/user-operation-controller` due to dependency. --- package.json | 2 +- packages/transaction-controller/CHANGELOG.md | 6 +++++- packages/transaction-controller/package.json | 2 +- packages/user-operation-controller/CHANGELOG.md | 10 +++++++++- packages/user-operation-controller/package.json | 6 +++--- yarn.lock | 6 +++--- 6 files changed, 22 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index bbee602f18..f52ef8ca27 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "263.0.0", + "version": "264.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index fb4b3c79e9..409f4c6b1e 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [42.0.0] + ### Added - Retrieve incoming transactions using Accounts API ([#4927](https://github.com/MetaMask/core/pull/4927)) @@ -20,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `startIncomingTransactionPolling` - `stopIncomingTransactionPolling` - `updateIncomingTransactions` +- Bump `@metamask/eth-block-tracker` from `^11.0.2` to `^11.0.3` ([#5025](https://github.com/MetaMask/core/pull/5025)) ### Removed @@ -1212,7 +1215,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 All changes listed after this point were applied to this package following the monorepo conversion. -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@41.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@42.0.0...HEAD +[42.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@41.1.0...@metamask/transaction-controller@42.0.0 [41.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@41.0.0...@metamask/transaction-controller@41.1.0 [41.0.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.1.0...@metamask/transaction-controller@41.0.0 [40.1.0]: https://github.com/MetaMask/core/compare/@metamask/transaction-controller@40.0.0...@metamask/transaction-controller@40.1.0 diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 9e4564c813..979d3ff901 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/transaction-controller", - "version": "41.1.0", + "version": "42.0.0", "description": "Stores transactions alongside their periodically updated statuses and manages interactions such as approval and cancellation", "keywords": [ "MetaMask", diff --git a/packages/user-operation-controller/CHANGELOG.md b/packages/user-operation-controller/CHANGELOG.md index 70840897be..6bde499038 100644 --- a/packages/user-operation-controller/CHANGELOG.md +++ b/packages/user-operation-controller/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [21.0.0] + +### Changed + +- **BREAKING:** Bump `@metamask/transaction-controller` peer dependency from `^41.1.0` to `^42.0.0` ([#5032](https://github.com/MetaMask/core/pull/5032)) +- Bump `@metamask/eth-block-tracker` from to `^11.0.2` to `^11.0.3` ([#5025](https://github.com/MetaMask/core/pull/5025)) + ## [20.0.1] ### Changed @@ -300,7 +307,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial Release ([#3749](https://github.com/MetaMask/core/pull/3749)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@20.0.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@21.0.0...HEAD +[21.0.0]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@20.0.1...@metamask/user-operation-controller@21.0.0 [20.0.1]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@20.0.0...@metamask/user-operation-controller@20.0.1 [20.0.0]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@19.0.0...@metamask/user-operation-controller@20.0.0 [19.0.0]: https://github.com/MetaMask/core/compare/@metamask/user-operation-controller@18.0.0...@metamask/user-operation-controller@19.0.0 diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index 66cc0ff28e..7784fe5527 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/user-operation-controller", - "version": "20.0.1", + "version": "21.0.0", "description": "Creates user operations and manages their life cycle", "keywords": [ "MetaMask", @@ -67,7 +67,7 @@ "@metamask/gas-fee-controller": "^22.0.2", "@metamask/keyring-controller": "^19.0.1", "@metamask/network-controller": "^22.1.0", - "@metamask/transaction-controller": "^41.1.0", + "@metamask/transaction-controller": "^42.0.0", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", @@ -82,7 +82,7 @@ "@metamask/gas-fee-controller": "^22.0.0", "@metamask/keyring-controller": "^19.0.0", "@metamask/network-controller": "^22.0.0", - "@metamask/transaction-controller": "^41.0.0" + "@metamask/transaction-controller": "^42.0.0" }, "engines": { "node": "^18.18 || >=20" diff --git a/yarn.lock b/yarn.lock index 379db73e19..6b31313f02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3708,7 +3708,7 @@ __metadata: languageName: node linkType: hard -"@metamask/transaction-controller@npm:^41.1.0, @metamask/transaction-controller@workspace:packages/transaction-controller": +"@metamask/transaction-controller@npm:^42.0.0, @metamask/transaction-controller@workspace:packages/transaction-controller": version: 0.0.0-use.local resolution: "@metamask/transaction-controller@workspace:packages/transaction-controller" dependencies: @@ -3778,7 +3778,7 @@ __metadata: "@metamask/polling-controller": "npm:^12.0.2" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/superstruct": "npm:^3.1.0" - "@metamask/transaction-controller": "npm:^41.1.0" + "@metamask/transaction-controller": "npm:^42.0.0" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" bn.js: "npm:^5.2.1" @@ -3797,7 +3797,7 @@ __metadata: "@metamask/gas-fee-controller": ^22.0.0 "@metamask/keyring-controller": ^19.0.0 "@metamask/network-controller": ^22.0.0 - "@metamask/transaction-controller": ^41.0.0 + "@metamask/transaction-controller": ^42.0.0 languageName: unknown linkType: soft From be9ed442ece69e71dc56c65b38b598f21bd96e70 Mon Sep 17 00:00:00 2001 From: Jyoti Puri Date: Fri, 6 Dec 2024 17:14:21 +0530 Subject: [PATCH 2/8] fix: signature decoding api should be called for typed sign V3 also (#5033) --- .../src/utils/decoding-api.test.ts | 21 +++++++++++++++++-- .../src/utils/decoding-api.ts | 5 ++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/packages/signature-controller/src/utils/decoding-api.test.ts b/packages/signature-controller/src/utils/decoding-api.test.ts index e8ee61d31c..d463048f61 100644 --- a/packages/signature-controller/src/utils/decoding-api.test.ts +++ b/packages/signature-controller/src/utils/decoding-api.test.ts @@ -88,9 +88,26 @@ describe('Decoding api', () => { expect(result.error.type).toBe('DECODING_FAILED_WITH_ERROR'); }); - it('return undefined for request not of method eth_signTypedData_v4', async () => { + it('return data if method is method eth_signTypedData_v3', async () => { + fetchMock = jest.spyOn(global, 'fetch') as jest.MockedFunction< + typeof fetch + >; + mockFetchResponse(MOCK_RESULT); + const result = await decodeSignature( + { + ...PERMIT_REQUEST_MOCK, + method: 'eth_signTypedData_v3', + } as OriginalRequest, + '0x1', + 'https://testdecodingurl.com', + ); + + expect(result.stateChanges).toStrictEqual(MOCK_RESULT.stateChanges); + }); + + it('return undefined for request not of method eth_signTypedData_v1', async () => { const result = await decodeSignature( - { method: 'eth_signTypedData_v3' } as OriginalRequest, + { method: 'eth_signTypedData_v1' } as OriginalRequest, '0x1', 'https://testdecodingurl.com', ); diff --git a/packages/signature-controller/src/utils/decoding-api.ts b/packages/signature-controller/src/utils/decoding-api.ts index fbbfe4518b..447aff99f1 100644 --- a/packages/signature-controller/src/utils/decoding-api.ts +++ b/packages/signature-controller/src/utils/decoding-api.ts @@ -21,7 +21,10 @@ export async function decodeSignature( ) { try { const { method, origin, params } = request; - if (request.method === EthMethod.SignTypedDataV4) { + if ( + request.method === EthMethod.SignTypedDataV3 || + request.method === EthMethod.SignTypedDataV4 + ) { const response = await fetch( `${decodingApiUrl}/signature?chainId=${chainId}`, { From c650b33cfda9e64c1c64ff7c3d10e8491a07ecdc Mon Sep 17 00:00:00 2001 From: Jyoti Puri Date: Fri, 6 Dec 2024 17:40:11 +0530 Subject: [PATCH 3/8] fix: Fixes in signature decoding functionality (#5028) ## Explanation Fix error in normalizing signature params for being passed to signature decoding api ## References Fixes: https://github.com/MetaMask/MetaMask-planning/issues/3757 ## Changelog ### `@metamask/signature-controller` - **change**: Fix error in normalising typed signature request before calling decoding api if params are not string types. ## 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 --- .../src/utils/decoding-api.test.ts | 2 +- .../src/utils/decoding-api.ts | 7 +--- .../src/utils/normalize.test.ts | 32 +++++++++----- .../src/utils/normalize.ts | 42 +++++++++++++++---- 4 files changed, 59 insertions(+), 24 deletions(-) diff --git a/packages/signature-controller/src/utils/decoding-api.test.ts b/packages/signature-controller/src/utils/decoding-api.test.ts index d463048f61..ddde232b56 100644 --- a/packages/signature-controller/src/utils/decoding-api.test.ts +++ b/packages/signature-controller/src/utils/decoding-api.test.ts @@ -105,7 +105,7 @@ describe('Decoding api', () => { expect(result.stateChanges).toStrictEqual(MOCK_RESULT.stateChanges); }); - it('return undefined for request not of method eth_signTypedData_v1', async () => { + it('return undefined for request not of method eth_signTypedData_v3 or eth_signTypedData_v4', async () => { const result = await decodeSignature( { method: 'eth_signTypedData_v1' } as OriginalRequest, '0x1', diff --git a/packages/signature-controller/src/utils/decoding-api.ts b/packages/signature-controller/src/utils/decoding-api.ts index 447aff99f1..fd741b9b5d 100644 --- a/packages/signature-controller/src/utils/decoding-api.ts +++ b/packages/signature-controller/src/utils/decoding-api.ts @@ -1,5 +1,5 @@ import { EthMethod, type OriginalRequest } from '../types'; -import { convertNumericValuesToQuotedString } from './normalize'; +import { normalizeParam } from './normalize'; export const DECODING_API_ERRORS = { UNSUPPORTED_SIGNATURE: 'UNSUPPORTED_SIGNATURE', @@ -32,10 +32,7 @@ export async function decodeSignature( body: JSON.stringify({ method, origin, - params: [ - params[0], - JSON.parse(convertNumericValuesToQuotedString(params[1])), - ], + params: [params[0], normalizeParam(params[1])], }), headers: { 'Content-Type': 'application/json' }, }, diff --git a/packages/signature-controller/src/utils/normalize.test.ts b/packages/signature-controller/src/utils/normalize.test.ts index b8c6d80659..26b930f2d2 100644 --- a/packages/signature-controller/src/utils/normalize.test.ts +++ b/packages/signature-controller/src/utils/normalize.test.ts @@ -2,7 +2,7 @@ import { SignTypedDataVersion } from '@metamask/keyring-controller'; import type { MessageParamsPersonal, MessageParamsTyped } from '../types'; import { - convertNumericValuesToQuotedString, + normalizeParam, normalizePersonalMessageParams, normalizeTypedMessageParams, } from './normalize'; @@ -42,15 +42,27 @@ describe('Normalize Utils', () => { ); }); - describe('convertNumericValuesToQuotedString', () => { - it('wraps numeric value in a json string in quotes', async () => { - expect(convertNumericValuesToQuotedString('{temp:123}')).toBe( - '{temp:"123"}', - ); - expect(convertNumericValuesToQuotedString('{temp:{test:123}}')).toBe( - '{temp:{test:"123"}}', - ); - expect(convertNumericValuesToQuotedString('')).toBe(''); + describe('normalizeParam', () => { + it('convert numeric value in a stringified json to string', async () => { + expect(normalizeParam('{"temp":123}')).toMatchObject({ temp: '123' }); + expect(normalizeParam('{"temp":[123,345,678]}')).toMatchObject({ + temp: ['123', '345', '678'], + }); + expect(normalizeParam('{"temp":{"test":123}}')).toMatchObject({ + temp: { test: '123' }, + }); + expect(normalizeParam('')).toMatchObject({}); + }); + it('convert numeric value in a json to string', async () => { + expect(normalizeParam({ temp: 123 })).toMatchObject({ temp: '123' }); + expect(normalizeParam({ temp: [123, 345, 678] })).toMatchObject({ + temp: ['123', '345', '678'], + }); + expect(normalizeParam({ temp: { test: 123 } })).toMatchObject({ + temp: { test: '123' }, + }); + expect(normalizeParam({ temp: null })).toMatchObject({ temp: '' }); + expect(normalizeParam({})).toMatchObject({}); }); }); }); diff --git a/packages/signature-controller/src/utils/normalize.ts b/packages/signature-controller/src/utils/normalize.ts index 74e95b88f8..fe8cfe895c 100644 --- a/packages/signature-controller/src/utils/normalize.ts +++ b/packages/signature-controller/src/utils/normalize.ts @@ -1,5 +1,5 @@ import { SignTypedDataVersion } from '@metamask/keyring-controller'; -import { add0x, bytesToHex, remove0x } from '@metamask/utils'; +import { add0x, bytesToHex, type Json, remove0x } from '@metamask/utils'; import type { MessageParamsPersonal, MessageParamsTyped } from '../types'; @@ -61,14 +61,40 @@ function normalizePersonalMessageData(data: string) { } /** - * Takes a stringified JSON and replaces all numeric values in it with quoted strings. + * The method will convery all values in a JSON to string. + * Currently decoding api is not able to take numeric values, + * once apiis fixed we can get rid of this normalization. * - * @param str - String of JSON to be fixed. - * @returns String with all numeric values converted to quoted strings. + * @param value - JSON to be normalized. + * @returns JSON with all values converted to string. */ -export function convertNumericValuesToQuotedString(str: string) { - if (!str) { - return ''; +function convertJSONValuesToString(value: Json | unknown): Json | string { + if (Array.isArray(value)) { + return value.map((val) => convertJSONValuesToString(val)); } - return str?.replace(/(?<=:\s*)(-?\d+(\.\d+)?)(?=[,\]}])/gu, '"$1"'); + if (typeof value === 'object' && value !== null) { + for (const key in value) { + if (Object.prototype.hasOwnProperty.call(value, key)) { + (value as Record)[key] = convertJSONValuesToString( + (value as Record)[key], + ); + } + } + return value as Json; + } + return value?.toString() ?? ''; +} + +/** + * Takes a stringified JSON and replaces stringifying all values. + * + * @param param - of JSON to be fixed. + * @returns JSON with all values converted to quoted strings. + */ +export function normalizeParam(param: string | Record) { + if (!param) { + return {}; + } + const parsedParam = typeof param === 'string' ? JSON.parse(param) : param; + return convertJSONValuesToString(parsedParam); } From 1df131f04649a419867d9604a4f97de19cb43606 Mon Sep 17 00:00:00 2001 From: Jyoti Puri Date: Fri, 6 Dec 2024 18:01:28 +0530 Subject: [PATCH 4/8] Release/265.0.0 (#5034) ## Explanation Fixes in signature controller for signature decoding: 1. https://github.com/MetaMask/core/pull/5028 2. https://github.com/MetaMask/core/pull/5033 ## References * Related to: https://github.com/MetaMask/MetaMask-planning/issues/3756 * Related to: https://github.com/MetaMask/MetaMask-planning/issues/3757 ## Changelog NA ## 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 --- package.json | 2 +- packages/signature-controller/CHANGELOG.md | 12 +++++++++++- packages/signature-controller/package.json | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f52ef8ca27..5011c49a20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "264.0.0", + "version": "265.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/signature-controller/CHANGELOG.md b/packages/signature-controller/CHANGELOG.md index 8087d9780a..e2e838232a 100644 --- a/packages/signature-controller/CHANGELOG.md +++ b/packages/signature-controller/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [23.1.0] + +### Changed + +- fix: Fixes in signature decoding functionality ([#5028](https://github.com/MetaMask/core/pull/5028)) +- fix: signature decoding api should be called for typed sign V3 also ([#5033](https://github.com/MetaMask/core/pull/5033)) +- fix: Revert `eth-sig-util` package ([#5027](https://github.com/MetaMask/core/pull/5027)) +- fix: Update `jsonschema` version & `eth-sig-util` ([#4998](https://github.com/MetaMask/core/pull/4998)) + ## [23.0.1] ### Changed @@ -431,7 +440,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#1214](https://github.com/MetaMask/core/pull/1214)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@23.0.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@23.1.0...HEAD +[23.1.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@23.0.1...@metamask/signature-controller@23.1.0 [23.0.1]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@23.0.0...@metamask/signature-controller@23.0.1 [23.0.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@22.0.0...@metamask/signature-controller@23.0.0 [22.0.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@21.1.0...@metamask/signature-controller@22.0.0 diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index 1461ca2e92..f852c9d110 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/signature-controller", - "version": "23.0.1", + "version": "23.1.0", "description": "Processes signing requests in order to sign arbitrary and typed data", "keywords": [ "MetaMask", From 0d06e28adfd9d3b3b6cc9e84911c3112b603ce28 Mon Sep 17 00:00:00 2001 From: Michele Esposito <34438276+mikesposito@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:15:20 +0100 Subject: [PATCH 5/8] chore(deps): bump `swappable-obj-proxy` from `^2.2.0` to `^2.3.0` (#5036) ## Explanation This PR bumps `@metamask/swappable-obj-proxy` by a minor version (to `^2.3.0`) across all packages. ## References ## Changelog ### `@metamask/network-controller` - **CHANGED**: Bump `@metamask/swappable-obj-proxy` from `^2.2.0` to `^2.3.0` ### `@metamask/queued-request-controller` - **CHANGED**: Bump `@metamask/swappable-obj-proxy` from `^2.2.0` to `^2.3.0` ### `@metamask/selected-network-controller` - **CHANGED**: Bump `@metamask/swappable-obj-proxy` from `^2.2.0` to `^2.3.0` ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes --- packages/network-controller/package.json | 2 +- packages/queued-request-controller/package.json | 2 +- packages/selected-network-controller/package.json | 2 +- yarn.lock | 14 +++++++------- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 75bde730aa..13f7b50a04 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -56,7 +56,7 @@ "@metamask/eth-query": "^4.0.0", "@metamask/json-rpc-engine": "^10.0.1", "@metamask/rpc-errors": "^7.0.1", - "@metamask/swappable-obj-proxy": "^2.2.0", + "@metamask/swappable-obj-proxy": "^2.3.0", "@metamask/utils": "^10.0.0", "async-mutex": "^0.5.0", "fast-deep-equal": "^3.1.3", diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index dabcc688cc..e9aeba97e3 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -51,7 +51,7 @@ "@metamask/controller-utils": "^11.4.4", "@metamask/json-rpc-engine": "^10.0.1", "@metamask/rpc-errors": "^7.0.1", - "@metamask/swappable-obj-proxy": "^2.2.0", + "@metamask/swappable-obj-proxy": "^2.3.0", "@metamask/utils": "^10.0.0" }, "devDependencies": { diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index ce88371bc8..738bc1b120 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -49,7 +49,7 @@ "dependencies": { "@metamask/base-controller": "^7.0.2", "@metamask/json-rpc-engine": "^10.0.1", - "@metamask/swappable-obj-proxy": "^2.2.0", + "@metamask/swappable-obj-proxy": "^2.3.0", "@metamask/utils": "^10.0.0" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 6b31313f02..f85ae05bc7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3120,7 +3120,7 @@ __metadata: "@metamask/eth-query": "npm:^4.0.0" "@metamask/json-rpc-engine": "npm:^10.0.1" "@metamask/rpc-errors": "npm:^7.0.1" - "@metamask/swappable-obj-proxy": "npm:^2.2.0" + "@metamask/swappable-obj-proxy": "npm:^2.3.0" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" "@types/jest-when": "npm:^2.7.3" @@ -3423,7 +3423,7 @@ __metadata: "@metamask/network-controller": "npm:^22.1.0" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/selected-network-controller": "npm:^20.0.1" - "@metamask/swappable-obj-proxy": "npm:^2.2.0" + "@metamask/swappable-obj-proxy": "npm:^2.3.0" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -3527,7 +3527,7 @@ __metadata: "@metamask/json-rpc-engine": "npm:^10.0.1" "@metamask/network-controller": "npm:^22.1.0" "@metamask/permission-controller": "npm:^11.0.4" - "@metamask/swappable-obj-proxy": "npm:^2.2.0" + "@metamask/swappable-obj-proxy": "npm:^2.3.0" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -3701,10 +3701,10 @@ __metadata: languageName: node linkType: hard -"@metamask/swappable-obj-proxy@npm:^2.2.0": - version: 2.2.0 - resolution: "@metamask/swappable-obj-proxy@npm:2.2.0" - checksum: 10/bc7a1f496d06327f1db84fe2ed75637b6f2f5db0806d3927f250d5abab9cc70a26ff37283ea7f2db7987e48d2540f6821091d1f3000d6771f29c4d91c402f724 +"@metamask/swappable-obj-proxy@npm:^2.3.0": + version: 2.3.0 + resolution: "@metamask/swappable-obj-proxy@npm:2.3.0" + checksum: 10/1255c599de9237f06df2390719d6dfcb1f168873df61bbaad5ce376efbc057e2030260b94855569313faeb412b7df9b062d209f4b0b163a3dc02f29d42139e1f languageName: node linkType: hard From a4b99231ff2ed406862938d38790611dcc8af37b Mon Sep 17 00:00:00 2001 From: Michele Esposito <34438276+mikesposito@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:35:35 +0100 Subject: [PATCH 6/8] chore(deps): bump `@metamask/eth-json-rpc-middleware` to `^15.0.1` (#5037) ## Explanation Bumping `@metamask/eth-json-rpc-middleware` from `^15.0.0` to `^15.0.1` ``` ### Changed - Bump `@metamask/eth-block-tracker` from `^11.0.1` to `^11.0.3` ([#347](https://github.com/MetaMask/eth-json-rpc-middleware/pull/347)) ``` ## References * Related to https://github.com/MetaMask/metamask-extension/issues/17040 ## Changelog ### `@metamask/network-controller` - **CHANGED**: Bump `@metamask/eth-json-rpc-middleware` from `^15.0.0` to `^15.0.1` ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes --- packages/network-controller/package.json | 2 +- yarn.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 13f7b50a04..00adc26fb7 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -51,7 +51,7 @@ "@metamask/controller-utils": "^11.4.4", "@metamask/eth-block-tracker": "^11.0.3", "@metamask/eth-json-rpc-infura": "^10.0.0", - "@metamask/eth-json-rpc-middleware": "^15.0.0", + "@metamask/eth-json-rpc-middleware": "^15.0.1", "@metamask/eth-json-rpc-provider": "^4.1.6", "@metamask/eth-query": "^4.0.0", "@metamask/json-rpc-engine": "^10.0.1", diff --git a/yarn.lock b/yarn.lock index f85ae05bc7..10a21f6f7d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2526,7 +2526,7 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-block-tracker@npm:^11.0.1, @metamask/eth-block-tracker@npm:^11.0.3": +"@metamask/eth-block-tracker@npm:^11.0.3": version: 11.0.3 resolution: "@metamask/eth-block-tracker@npm:11.0.3" dependencies: @@ -2577,11 +2577,11 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-json-rpc-middleware@npm:^15.0.0": - version: 15.0.0 - resolution: "@metamask/eth-json-rpc-middleware@npm:15.0.0" +"@metamask/eth-json-rpc-middleware@npm:^15.0.1": + version: 15.0.1 + resolution: "@metamask/eth-json-rpc-middleware@npm:15.0.1" dependencies: - "@metamask/eth-block-tracker": "npm:^11.0.1" + "@metamask/eth-block-tracker": "npm:^11.0.3" "@metamask/eth-json-rpc-provider": "npm:^4.1.5" "@metamask/eth-sig-util": "npm:^7.0.3" "@metamask/json-rpc-engine": "npm:^10.0.0" @@ -2592,7 +2592,7 @@ __metadata: klona: "npm:^2.0.6" pify: "npm:^5.0.0" safe-stable-stringify: "npm:^2.4.3" - checksum: 10/3c48d34264c695535f2b4e819fb602d835b6ed37309116a06d04d1b706a7335e0205cd4ccdbf1d3e9dc15ebf40d88954a9a2dc18a91f223dcd6d6392e026a5e9 + checksum: 10/9777fca31440bf0076f5d2c24e2ddb4848ecd9d41b0a5d6114c27339567e60bfcb9057d6bfa81f18f5ca0ffa848ecf9603c765f606b8de206d3e34dba519c501 languageName: node linkType: hard @@ -3115,7 +3115,7 @@ __metadata: "@metamask/controller-utils": "npm:^11.4.4" "@metamask/eth-block-tracker": "npm:^11.0.3" "@metamask/eth-json-rpc-infura": "npm:^10.0.0" - "@metamask/eth-json-rpc-middleware": "npm:^15.0.0" + "@metamask/eth-json-rpc-middleware": "npm:^15.0.1" "@metamask/eth-json-rpc-provider": "npm:^4.1.6" "@metamask/eth-query": "npm:^4.0.0" "@metamask/json-rpc-engine": "npm:^10.0.1" From 2fa588d9a228d58e3244cac6033e24da2bd71183 Mon Sep 17 00:00:00 2001 From: Michele Esposito <34438276+mikesposito@users.noreply.github.com> Date: Fri, 6 Dec 2024 17:43:43 +0100 Subject: [PATCH 7/8] Release 266.0.0 (#5038) Patch release of `@metamask/network-controller` to update: - `@metamask/eth-block-tracker` - `@metamask/eth-json-rpc-middleware` - `@metamask/swappable-obj-proxy` --- package.json | 2 +- packages/assets-controllers/package.json | 2 +- packages/ens-controller/package.json | 2 +- packages/gas-fee-controller/package.json | 2 +- packages/multichain/package.json | 2 +- packages/network-controller/CHANGELOG.md | 11 ++++++++- packages/network-controller/package.json | 2 +- packages/polling-controller/package.json | 2 +- packages/profile-sync-controller/package.json | 2 +- .../queued-request-controller/package.json | 2 +- .../selected-network-controller/package.json | 2 +- packages/signature-controller/package.json | 2 +- packages/transaction-controller/package.json | 2 +- .../user-operation-controller/package.json | 2 +- yarn.lock | 24 +++++++++---------- 15 files changed, 35 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 5011c49a20..5069a36d68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "265.0.0", + "version": "266.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 47b1172f8d..cffcd780ad 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -81,7 +81,7 @@ "@metamask/ethjs-provider-http": "^0.3.0", "@metamask/keyring-api": "^10.1.0", "@metamask/keyring-controller": "^19.0.1", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@metamask/preferences-controller": "^15.0.1", "@metamask/providers": "^18.1.1", "@types/jest": "^27.4.1", diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index 4caffb1df8..38b282c8f1 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -55,7 +55,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index 9de01a2c8d..06bb62777f 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -61,7 +61,7 @@ "devDependencies": { "@babel/runtime": "^7.23.9", "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@types/jest": "^27.4.1", "@types/jest-when": "^2.7.3", "deepmerge": "^4.2.2", diff --git a/packages/multichain/package.json b/packages/multichain/package.json index 27bfe91f2e..3c39128495 100644 --- a/packages/multichain/package.json +++ b/packages/multichain/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@metamask/permission-controller": "^11.0.4", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", diff --git a/packages/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index d51a1c169d..0307f62b01 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/network-controller/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [22.1.1] + +### Changed + +- Bump `@metamask/eth-json-rpc-middleware` from `^15.0.0` to `^15.0.1` ([#5037](https://github.com/MetaMask/core/pull/5037)) +- Bump `swappable-obj-proxy` from `^2.2.0` to `^2.3.0` ([#5036](https://github.com/MetaMask/core/pull/5036)) +- Bump `@metamask/eth-block-tracker` from `^11.0.2` to `^11.0.3` ([#5025](https://github.com/MetaMask/core/pull/5025)) + ## [22.1.0] ### Added @@ -686,7 +694,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 All changes listed after this point were applied to this package following the monorepo conversion. -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@22.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@22.1.1...HEAD +[22.1.1]: https://github.com/MetaMask/core/compare/@metamask/network-controller@22.1.0...@metamask/network-controller@22.1.1 [22.1.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@22.0.2...@metamask/network-controller@22.1.0 [22.0.2]: https://github.com/MetaMask/core/compare/@metamask/network-controller@22.0.1...@metamask/network-controller@22.0.2 [22.0.1]: https://github.com/MetaMask/core/compare/@metamask/network-controller@22.0.0...@metamask/network-controller@22.0.1 diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 00adc26fb7..7d4838306c 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/network-controller", - "version": "22.1.0", + "version": "22.1.1", "description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object", "keywords": [ "MetaMask", diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index 98ee02b566..373a912982 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/packages/profile-sync-controller/package.json b/packages/profile-sync-controller/package.json index ab9a811da3..00560e1c3c 100644 --- a/packages/profile-sync-controller/package.json +++ b/packages/profile-sync-controller/package.json @@ -103,7 +103,7 @@ "@metamask/base-controller": "^7.0.2", "@metamask/keyring-api": "^10.1.0", "@metamask/keyring-controller": "^19.0.1", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@metamask/snaps-sdk": "^6.7.0", "@metamask/snaps-utils": "^8.3.0", "@noble/ciphers": "^0.5.2", diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index e9aeba97e3..96ec49ce15 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -56,7 +56,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@metamask/selected-network-controller": "^20.0.1", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index 738bc1b120..5701412dea 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -54,7 +54,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@metamask/permission-controller": "^11.0.4", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index f852c9d110..6a312ede66 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -60,7 +60,7 @@ "@metamask/auto-changelog": "^3.4.4", "@metamask/keyring-controller": "^19.0.1", "@metamask/logging-controller": "^6.0.3", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 979d3ff901..4b0d475851 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -76,7 +76,7 @@ "@metamask/eth-json-rpc-provider": "^4.1.6", "@metamask/ethjs-provider-http": "^0.3.0", "@metamask/gas-fee-controller": "^22.0.2", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@types/bn.js": "^5.1.5", "@types/jest": "^27.4.1", "@types/node": "^16.18.54", diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index 7784fe5527..3d790d952f 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -66,7 +66,7 @@ "@metamask/eth-block-tracker": "^11.0.3", "@metamask/gas-fee-controller": "^22.0.2", "@metamask/keyring-controller": "^19.0.1", - "@metamask/network-controller": "^22.1.0", + "@metamask/network-controller": "^22.1.1", "@metamask/transaction-controller": "^42.0.0", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", diff --git a/yarn.lock b/yarn.lock index 10a21f6f7d..0f6a3d6acc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2164,7 +2164,7 @@ __metadata: "@metamask/keyring-api": "npm:^10.1.0" "@metamask/keyring-controller": "npm:^19.0.1" "@metamask/metamask-eth-abis": "npm:^3.1.1" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/polling-controller": "npm:^12.0.2" "@metamask/preferences-controller": "npm:^15.0.1" "@metamask/providers": "npm:^18.1.1" @@ -2461,7 +2461,7 @@ __metadata: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" "@metamask/controller-utils": "npm:^11.4.4" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -2863,7 +2863,7 @@ __metadata: "@metamask/controller-utils": "npm:^11.4.4" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-unit": "npm:^0.3.0" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/polling-controller": "npm:^12.0.2" "@metamask/utils": "npm:^10.0.0" "@types/bn.js": "npm:^5.1.5" @@ -3068,7 +3068,7 @@ __metadata: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/controller-utils": "npm:^11.4.4" "@metamask/eth-json-rpc-filters": "npm:^7.0.0" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/permission-controller": "npm:^11.0.4" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/utils": "npm:^10.0.0" @@ -3105,7 +3105,7 @@ __metadata: languageName: unknown linkType: soft -"@metamask/network-controller@npm:^22.1.0, @metamask/network-controller@workspace:packages/network-controller": +"@metamask/network-controller@npm:^22.1.1, @metamask/network-controller@workspace:packages/network-controller": version: 0.0.0-use.local resolution: "@metamask/network-controller@workspace:packages/network-controller" dependencies: @@ -3300,7 +3300,7 @@ __metadata: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" "@metamask/controller-utils": "npm:^11.4.4" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" "@types/uuid": "npm:^8.3.0" @@ -3360,7 +3360,7 @@ __metadata: "@metamask/base-controller": "npm:^7.0.2" "@metamask/keyring-api": "npm:^10.1.0" "@metamask/keyring-controller": "npm:^19.0.1" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/providers": "npm:^18.1.1" "@metamask/snaps-controllers": "npm:^9.10.0" "@metamask/snaps-sdk": "npm:^6.7.0" @@ -3420,7 +3420,7 @@ __metadata: "@metamask/base-controller": "npm:^7.0.2" "@metamask/controller-utils": "npm:^11.4.4" "@metamask/json-rpc-engine": "npm:^10.0.1" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/selected-network-controller": "npm:^20.0.1" "@metamask/swappable-obj-proxy": "npm:^2.3.0" @@ -3525,7 +3525,7 @@ __metadata: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" "@metamask/json-rpc-engine": "npm:^10.0.1" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/permission-controller": "npm:^11.0.4" "@metamask/swappable-obj-proxy": "npm:^2.3.0" "@metamask/utils": "npm:^10.0.0" @@ -3557,7 +3557,7 @@ __metadata: "@metamask/eth-sig-util": "npm:^8.0.0" "@metamask/keyring-controller": "npm:^19.0.1" "@metamask/logging-controller": "npm:^6.0.3" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -3730,7 +3730,7 @@ __metadata: "@metamask/ethjs-provider-http": "npm:^0.3.0" "@metamask/gas-fee-controller": "npm:^22.0.2" "@metamask/metamask-eth-abis": "npm:^3.1.1" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/nonce-tracker": "npm:^6.0.0" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/utils": "npm:^10.0.0" @@ -3774,7 +3774,7 @@ __metadata: "@metamask/eth-query": "npm:^4.0.0" "@metamask/gas-fee-controller": "npm:^22.0.2" "@metamask/keyring-controller": "npm:^19.0.1" - "@metamask/network-controller": "npm:^22.1.0" + "@metamask/network-controller": "npm:^22.1.1" "@metamask/polling-controller": "npm:^12.0.2" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/superstruct": "npm:^3.1.0" From 6899b1e22119f68756d3b0169c7e04ee8619d9c7 Mon Sep 17 00:00:00 2001 From: jiexi Date: Fri, 6 Dec 2024 15:19:34 -0800 Subject: [PATCH 8/8] chore: bump `@metamask/eth-json-rpc-filters` to `^9.0.0` in the `multichain` package (#5040) ## Explanation Bumps `@metamask/eth-json-rpc-filters` to `^9.0.0` in the `multichain` package ## References ## Changelog ### `@metamask/multichain` - **CHANGED**: Bump `@metamask/eth-json-rpc-filters` to `^9.0.0` ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes --- packages/multichain/package.json | 2 +- yarn.lock | 35 +++++++------------------------- 2 files changed, 8 insertions(+), 29 deletions(-) diff --git a/packages/multichain/package.json b/packages/multichain/package.json index 3c39128495..c7014cbe9b 100644 --- a/packages/multichain/package.json +++ b/packages/multichain/package.json @@ -49,7 +49,7 @@ "dependencies": { "@metamask/api-specs": "^0.10.12", "@metamask/controller-utils": "^11.4.4", - "@metamask/eth-json-rpc-filters": "^7.0.0", + "@metamask/eth-json-rpc-filters": "^9.0.0", "@metamask/rpc-errors": "^7.0.1", "@metamask/utils": "^10.0.0", "lodash": "^4.17.21" diff --git a/yarn.lock b/yarn.lock index 0f6a3d6acc..625b48a106 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2552,16 +2552,16 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-json-rpc-filters@npm:^7.0.0": - version: 7.0.1 - resolution: "@metamask/eth-json-rpc-filters@npm:7.0.1" +"@metamask/eth-json-rpc-filters@npm:^9.0.0": + version: 9.0.0 + resolution: "@metamask/eth-json-rpc-filters@npm:9.0.0" dependencies: "@metamask/eth-query": "npm:^4.0.0" - "@metamask/json-rpc-engine": "npm:^8.0.2" + "@metamask/json-rpc-engine": "npm:^10.0.0" "@metamask/safe-event-emitter": "npm:^3.0.0" async-mutex: "npm:^0.5.0" pify: "npm:^5.0.0" - checksum: 10/5200f75cee48dfd79deba5e4f1b16ff6827e606da617891f5cb7b59c43ae4ac8420cb9a6a9ca31705c47d2c3d32a3754e052b30f61fd293cc37f009c4fe20c12 + checksum: 10/12095db69902e267d568d67b4241677502558159691d47216f82701f8e2875a051636b8ff483351d17e01d090b7a1eb8d5dec4cc17a9e47c99aa6d2ec0a073b4 languageName: node linkType: hard @@ -2907,17 +2907,6 @@ __metadata: languageName: unknown linkType: soft -"@metamask/json-rpc-engine@npm:^8.0.2": - version: 8.0.2 - resolution: "@metamask/json-rpc-engine@npm:8.0.2" - dependencies: - "@metamask/rpc-errors": "npm:^6.2.1" - "@metamask/safe-event-emitter": "npm:^3.0.0" - "@metamask/utils": "npm:^8.3.0" - checksum: 10/f088f4b648b9b55875b56e8237853e7282f13302a9db6a1f9bba06314dfd6cd0a23b3d27f8fde05a157b97ebb03b67bc2699ba455c99553dfb2ecccd73ab3474 - languageName: node - linkType: hard - "@metamask/json-rpc-middleware-stream@npm:^8.0.5, @metamask/json-rpc-middleware-stream@workspace:packages/json-rpc-middleware-stream": version: 0.0.0-use.local resolution: "@metamask/json-rpc-middleware-stream@workspace:packages/json-rpc-middleware-stream" @@ -3067,7 +3056,7 @@ __metadata: "@metamask/api-specs": "npm:^0.10.12" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/controller-utils": "npm:^11.4.4" - "@metamask/eth-json-rpc-filters": "npm:^7.0.0" + "@metamask/eth-json-rpc-filters": "npm:^9.0.0" "@metamask/network-controller": "npm:^22.1.1" "@metamask/permission-controller": "npm:^11.0.4" "@metamask/rpc-errors": "npm:^7.0.1" @@ -3481,16 +3470,6 @@ __metadata: languageName: unknown linkType: soft -"@metamask/rpc-errors@npm:^6.2.1": - version: 6.3.1 - resolution: "@metamask/rpc-errors@npm:6.3.1" - dependencies: - "@metamask/utils": "npm:^9.0.0" - fast-safe-stringify: "npm:^2.0.6" - checksum: 10/f968fb490b13b632c2ad4770a144d67cecdff8d539cb8b489c732b08dab7a62fae65d7a2908ce8c5b77260317aa618948a52463f093fa8d9f84aee1c5f6f5daf - languageName: node - linkType: hard - "@metamask/rpc-errors@npm:^7.0.0, @metamask/rpc-errors@npm:^7.0.1": version: 7.0.1 resolution: "@metamask/rpc-errors@npm:7.0.1" @@ -3818,7 +3797,7 @@ __metadata: languageName: node linkType: hard -"@metamask/utils@npm:^8.2.0, @metamask/utils@npm:^8.3.0": +"@metamask/utils@npm:^8.2.0": version: 8.5.0 resolution: "@metamask/utils@npm:8.5.0" dependencies: