Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @metamask/utils to ^11.0.1 and @metamask/rpc-errors to ^7.0.2 #5080

Merged
merged 4 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/example-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"@metamask/base-controller": "^7.1.0",
"@metamask/utils": "^10.0.0"
"@metamask/utils": "^11.0.1"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@metamask/eth-block-tracker": "^11.0.3",
"@metamask/eth-json-rpc-provider": "^4.1.6",
"@metamask/json-rpc-engine": "^10.0.1",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"@ts-bridge/cli": "^0.6.1",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.191",
Expand Down
2 changes: 1 addition & 1 deletion packages/accounts-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@metamask/keyring-internal-api": "^1.0.0",
"@metamask/snaps-sdk": "^6.7.0",
"@metamask/snaps-utils": "^8.3.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"deepmerge": "^4.2.2",
"ethereum-cryptography": "^2.1.2",
"immer": "^9.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/address-book-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"@metamask/base-controller": "^7.1.0",
"@metamask/controller-utils": "^11.4.4",
"@metamask/utils": "^10.0.0"
"@metamask/utils": "^11.0.1"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/approval-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
},
"dependencies": {
"@metamask/base-controller": "^7.1.0",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/utils": "^10.0.0",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/utils": "^11.0.1",
"nanoid": "^3.3.8"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"@metamask/eth-query": "^4.0.0",
"@metamask/metamask-eth-abis": "^3.1.1",
"@metamask/polling-controller": "^12.0.2",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/utils": "^10.0.0",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/utils": "^11.0.1",
"@types/bn.js": "^5.1.5",
"@types/uuid": "^8.3.0",
"async-mutex": "^0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/base-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
},
"dependencies": {
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"immer": "^9.0.6"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/build-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
},
"dependencies": {
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"@types/eslint": "^8.44.7"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/chain-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@metamask/snaps-controllers": "^9.10.0",
"@metamask/snaps-sdk": "^6.7.0",
"@metamask/snaps-utils": "^8.3.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"uuid": "^8.3.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/controller-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@ethereumjs/util": "^8.1.0",
"@metamask/eth-query": "^4.0.0",
"@metamask/ethjs-unit": "^0.3.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"@spruceid/siwe-parser": "2.1.0",
"@types/bn.js": "^5.1.5",
"bignumber.js": "^9.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/ens-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@ethersproject/providers": "^5.7.0",
"@metamask/base-controller": "^7.1.0",
"@metamask/controller-utils": "^11.4.4",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"punycode": "^2.1.1"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/eth-json-rpc-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
},
"dependencies": {
"@metamask/json-rpc-engine": "^10.0.1",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/safe-event-emitter": "^3.0.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"uuid": "^8.3.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gas-fee-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@metamask/eth-query": "^4.0.0",
"@metamask/ethjs-unit": "^0.3.0",
"@metamask/polling-controller": "^12.0.2",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"@types/bn.js": "^5.1.5",
"@types/uuid": "^8.3.0",
"bn.js": "^5.2.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/json-rpc-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
},
"dependencies": {
"@metamask/rpc-errors": "^7.0.1",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/safe-event-emitter": "^3.0.0",
"@metamask/utils": "^10.0.0"
"@metamask/utils": "^11.0.1"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.0.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/json-rpc-middleware-stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"@metamask/json-rpc-engine": "^10.0.1",
"@metamask/safe-event-emitter": "^3.0.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"readable-stream": "^3.6.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/keyring-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@metamask/keyring-api": "^12.0.0",
"@metamask/keyring-internal-api": "^1.0.0",
"@metamask/message-manager": "^11.0.3",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"async-mutex": "^0.5.0",
"ethereumjs-wallet": "^1.0.1",
"immer": "^9.0.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/message-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@metamask/base-controller": "^7.1.0",
"@metamask/controller-utils": "^11.4.4",
"@metamask/eth-sig-util": "^8.0.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"@types/uuid": "^8.3.0",
"jsonschema": "^1.4.1",
"uuid": "^8.3.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/multichain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"@metamask/api-specs": "^0.10.12",
"@metamask/controller-utils": "^11.4.4",
"@metamask/eth-json-rpc-filters": "^9.0.0",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/utils": "^10.0.0",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/utils": "^11.0.1",
"lodash": "^4.17.21"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/multichain/src/scope/constants.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ describe('KnownRpcMethods', () => {
"eth_syncing",
"eth_uninstallFilter",
],
"solana": Array [],
}
`);
});
Expand Down
4 changes: 4 additions & 0 deletions packages/multichain/src/scope/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const CaipReferenceRegexes: Record<NonWalletKnownCaipNamespace, RegExp> =
{
eip155: /^(0|[1-9][0-9]*)$/u,
bip122: /.*/u,
solana: /.*/u,
};

/**
Expand All @@ -42,6 +43,7 @@ const Eip155Methods = MetaMaskOpenRPCDocument.methods
export const KnownRpcMethods: Record<NonWalletKnownCaipNamespace, string[]> = {
eip155: Eip155Methods,
bip122: [],
solana: [],
};

/**
Expand All @@ -53,6 +55,7 @@ export const KnownWalletNamespaceRpcMethods: Record<
> = {
eip155: WalletEip155Methods,
bip122: [],
solana: [],
};

/**
Expand All @@ -62,4 +65,5 @@ export const KnownNotifications: Record<NonWalletKnownCaipNamespace, string[]> =
{
eip155: ['eth_subscription'],
bip122: [],
solana: [],
};
2 changes: 1 addition & 1 deletion packages/name-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"dependencies": {
"@metamask/base-controller": "^7.1.0",
"@metamask/controller-utils": "^11.4.4",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"async-mutex": "^0.5.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
"@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/rpc-errors": "^7.0.2",
"@metamask/swappable-obj-proxy": "^2.3.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"async-mutex": "^0.5.0",
"fast-deep-equal": "^3.1.3",
"immer": "^9.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/notification-services-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"@contentful/rich-text-html-renderer": "^16.5.2",
"@metamask/base-controller": "^7.1.0",
"@metamask/controller-utils": "^11.4.4",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"bignumber.js": "^9.1.2",
"firebase": "^10.11.0",
"loglevel": "^1.8.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/permission-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"@metamask/base-controller": "^7.1.0",
"@metamask/controller-utils": "^11.4.4",
"@metamask/json-rpc-engine": "^10.0.1",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/utils": "^10.0.0",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/utils": "^11.0.1",
"@types/deep-freeze-strict": "^1.1.0",
"deep-freeze-strict": "^1.1.1",
"immer": "^9.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/permission-log-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"@metamask/base-controller": "^7.1.0",
"@metamask/json-rpc-engine": "^10.0.1",
"@metamask/utils": "^10.0.0"
"@metamask/utils": "^11.0.1"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/polling-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"dependencies": {
"@metamask/base-controller": "^7.1.0",
"@metamask/controller-utils": "^11.4.4",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"@types/uuid": "^8.3.0",
"fast-json-stable-stringify": "^2.1.0",
"uuid": "^8.3.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/queued-request-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
"@metamask/base-controller": "^7.1.0",
"@metamask/controller-utils": "^11.4.4",
"@metamask/json-rpc-engine": "^10.0.1",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/swappable-obj-proxy": "^2.3.0",
"@metamask/utils": "^10.0.0"
"@metamask/utils": "^11.0.1"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/rate-limit-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
},
"dependencies": {
"@metamask/base-controller": "^7.1.0",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/utils": "^10.0.0"
"@metamask/rpc-errors": "^7.0.2",
"@metamask/utils": "^11.0.1"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/remote-feature-flag-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"@metamask/base-controller": "^7.1.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"cockatiel": "^3.1.2",
"uuid": "^8.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/selected-network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@metamask/base-controller": "^7.1.0",
"@metamask/json-rpc-engine": "^10.0.1",
"@metamask/swappable-obj-proxy": "^2.3.0",
"@metamask/utils": "^10.0.0"
"@metamask/utils": "^11.0.1"
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/signature-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@metamask/base-controller": "^7.1.0",
"@metamask/controller-utils": "^11.4.4",
"@metamask/eth-sig-util": "^8.0.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"jsonschema": "^1.4.1",
"lodash": "^4.17.21",
"uuid": "^8.3.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/transaction-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"@metamask/eth-query": "^4.0.0",
"@metamask/metamask-eth-abis": "^3.1.1",
"@metamask/nonce-tracker": "^6.0.0",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/utils": "^10.0.0",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/utils": "^11.0.1",
"async-mutex": "^0.5.0",
"bn.js": "^5.2.1",
"eth-method-registry": "^4.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/user-operation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"@metamask/controller-utils": "^11.4.4",
"@metamask/eth-query": "^4.0.0",
"@metamask/polling-controller": "^12.0.2",
"@metamask/rpc-errors": "^7.0.1",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/superstruct": "^3.1.0",
"@metamask/utils": "^10.0.0",
"@metamask/utils": "^11.0.1",
"bn.js": "^5.2.1",
"immer": "^9.0.6",
"lodash": "^4.17.21",
Expand Down
Loading
Loading