diff --git a/package.json b/package.json index bbee602f18..5069a36d68 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "263.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 75bde730aa..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", @@ -51,12 +51,12 @@ "@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", "@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/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 dabcc688cc..96ec49ce15 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -51,12 +51,12 @@ "@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": { "@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 ce88371bc8..5701412dea 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -49,12 +49,12 @@ "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": { "@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/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..6a312ede66 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", @@ -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/signature-controller/src/utils/decoding-api.test.ts b/packages/signature-controller/src/utils/decoding-api.test.ts index e8ee61d31c..ddde232b56 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_v3 or eth_signTypedData_v4', 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..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', @@ -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}`, { @@ -29,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); } 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..4b0d475851 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", @@ -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/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..3d790d952f 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", @@ -66,8 +66,8 @@ "@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/transaction-controller": "^41.1.0", + "@metamask/network-controller": "^22.1.1", + "@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..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" @@ -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 @@ -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: @@ -3115,12 +3115,12 @@ __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" "@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" @@ -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,10 +3420,10 @@ __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.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" @@ -3525,9 +3525,9 @@ __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.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" @@ -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" @@ -3701,14 +3701,14 @@ __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 -"@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: @@ -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,11 +3774,11 @@ __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" - "@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