0) {
+ if (Object.keys(newCaveatValue).length > 0) {
dispatch(
updateCaveat(
connectedOrigin,
diff --git a/ui/selectors/institutional/selectors.js b/ui/selectors/institutional/selectors.js
index a4777714bdf6..6649b06188b7 100644
--- a/ui/selectors/institutional/selectors.js
+++ b/ui/selectors/institutional/selectors.js
@@ -44,7 +44,7 @@ export function getCustodianIconForAddress(state, address) {
const { custodianName } =
state.metamask.custodyAccountDetails[checksummedAddress];
custodianIcon = state.metamask.mmiConfiguration?.custodians?.find(
- (custodian) => custodian.name === custodianName,
+ (custodian) => custodian.envName === custodianName,
)?.iconUrl;
}
@@ -116,7 +116,7 @@ export function getIsNoteToTraderSupported(state, fromChecksumHexAddress) {
}
const foundCustodian = mmiConfiguration?.custodians?.find(
- (custodian) => custodian.name === accountDetails.custodianName,
+ (custodian) => custodian.envName === accountDetails.custodianName,
);
return foundCustodian ? foundCustodian.isNoteToTraderSupported : false;
diff --git a/ui/selectors/institutional/selectors.test.js b/ui/selectors/institutional/selectors.test.js
index 7401df666478..20cdd9fe58fa 100644
--- a/ui/selectors/institutional/selectors.test.js
+++ b/ui/selectors/institutional/selectors.test.js
@@ -25,7 +25,7 @@ function buildState(overrides = {}) {
},
identities: {
'0x5Ab19e7091dD208F352F8E727B6DCC6F8aBB6275': {
- name: 'Custody Account A',
+ envName: 'Custody Account A',
address: '0x5Ab19e7091dD208F352F8E727B6DCC6F8aBB6275',
},
},
@@ -57,7 +57,7 @@ function buildState(overrides = {}) {
custodians: [
{
type: 'saturn',
- name: 'saturn',
+ envName: 'saturn',
apiUrl: 'https://saturn-custody.dev.metamask-institutional.io',
iconUrl: 'images/saturn.svg',
displayName: 'Saturn Custody',
@@ -566,7 +566,7 @@ describe('Institutional selectors', () => {
mmiConfiguration: {
custodians: [
{
- name: 'custodian1',
+ envName: 'custodian1',
isNoteToTraderSupported: true,
},
],
@@ -590,7 +590,7 @@ describe('Institutional selectors', () => {
mmiConfiguration: {
custodians: [
{
- name: 'custodian1',
+ envName: 'custodian1',
isNoteToTraderSupported: false,
},
],
@@ -610,7 +610,7 @@ describe('Institutional selectors', () => {
mmiConfiguration: {
custodians: [
{
- name: 'custodian1',
+ envName: 'custodian1',
isNoteToTraderSupported: true,
},
],
@@ -632,7 +632,7 @@ describe('Institutional selectors', () => {
mmiConfiguration: {
custodians: [
{
- name: 'custodian1',
+ envName: 'custodian1',
isNoteToTraderSupported: true,
},
],
@@ -656,7 +656,7 @@ describe('Institutional selectors', () => {
mmiConfiguration: {
custodians: [
{
- name: 'custodian1',
+ envName: 'custodian1',
isNoteToTraderSupported: true,
},
],
diff --git a/yarn.lock b/yarn.lock
index d036e8f745c1..4d894f59bdf0 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -458,7 +458,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/parser@npm:^7.0.0, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.10.1, @babel/parser@npm:^7.12.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.13.9, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.4, @babel/parser@npm:^7.21.5, @babel/parser@npm:^7.21.8, @babel/parser@npm:~7.21.2":
+"@babel/parser@npm:^7.0.0, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.12.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.13.9, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.4, @babel/parser@npm:^7.21.5, @babel/parser@npm:^7.21.8, @babel/parser@npm:~7.21.2":
version: 7.21.8
resolution: "@babel/parser@npm:7.21.8"
bin:
@@ -1569,7 +1569,7 @@ __metadata:
languageName: node
linkType: hard
-"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.10.1, @babel/traverse@npm:^7.12.5, @babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.21.5, @babel/traverse@npm:^7.7.2, @babel/traverse@npm:~7.21.2":
+"@babel/traverse@npm:^7.1.6, @babel/traverse@npm:^7.12.5, @babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.21.5, @babel/traverse@npm:^7.7.2, @babel/traverse@npm:~7.21.2":
version: 7.21.5
resolution: "@babel/traverse@npm:7.21.5"
dependencies:
@@ -1857,10 +1857,10 @@ __metadata:
languageName: node
linkType: hard
-"@endo/env-options@npm:^0.1.3":
- version: 0.1.3
- resolution: "@endo/env-options@npm:0.1.3"
- checksum: dbaa1c6edf2de712b0af76c991f2ffd29e52a27d3adca2292531dbbf42ef0541c03daa4d7f2de3efb223d0cacf303c82fe88c19d44a0f5535dce9ccbe5f66138
+"@endo/env-options@npm:^0.1.4":
+ version: 0.1.4
+ resolution: "@endo/env-options@npm:0.1.4"
+ checksum: 0d6b82bdf07602dfc373a475234a206b61e9d0ab6ea886fdcbd111a37d9ce4e55ead5dbc1c7af52cf67a11a7185b40e7b30c3367da3928897082502d7e1274f1
languageName: node
linkType: hard
@@ -3448,14 +3448,14 @@ __metadata:
languageName: node
linkType: hard
-"@lavamoat/aa@npm:^3.1.0, @lavamoat/aa@npm:^3.1.1":
- version: 3.1.2
- resolution: "@lavamoat/aa@npm:3.1.2"
+"@lavamoat/aa@npm:^3.1.1, @lavamoat/aa@npm:^3.1.5":
+ version: 3.1.5
+ resolution: "@lavamoat/aa@npm:3.1.5"
dependencies:
- resolve: "npm:^1.20.0"
+ resolve: "npm:^1.22.3"
bin:
lavamoat-ls: src/cli.js
- checksum: 2441758d334d1c80bdcc8631ae79103bc6e5a0e5eb254c9d98e9320dfbd265cbe00296d03a7f9dbb0c7aec3e11e28e2267e29f4983e526968ccf1a4bd88b108f
+ checksum: 35e186fb0aaed5a2494dca4b8d353ead3123ff8a4964d502bdfe8ac369a774499a9ed2c45d04621b33f3c3fbf26ae8255fe4c3a4686f8a5dcb5a8da516be723a
languageName: node
linkType: hard
@@ -3474,19 +3474,19 @@ __metadata:
languageName: node
linkType: hard
-"@lavamoat/lavapack@npm:^5.2.0":
- version: 5.2.0
- resolution: "@lavamoat/lavapack@npm:5.2.0"
+"@lavamoat/lavapack@npm:^5.2.4, @lavamoat/lavapack@npm:^5.4.1":
+ version: 5.4.1
+ resolution: "@lavamoat/lavapack@npm:5.4.1"
dependencies:
JSONStream: "npm:^1.3.5"
combine-source-map: "npm:^0.8.0"
convert-source-map: "npm:^2.0.0"
json-stable-stringify: "npm:^1.0.2"
- lavamoat-core: "npm:^14.2.0"
+ lavamoat-core: "npm:^14.4.1"
readable-stream: "npm:^3.6.0"
through2: "npm:^4.0.2"
umd: "npm:^3.0.3"
- checksum: 2e71813fc5c4845ce025963bc3db21e25895f5b3b86291228f5e68ecaf95a0c301edca2f9a0d6fc6d5b0177b41c133610a9f7d699e22137b6e25e0914d72cc75
+ checksum: 63a3d947d6438149acb06349cc4160367f522040b9b87c43df8e617424634aa67f9f31058b0c6a0b02f2eac4c9dd6b16fe39f9ecf9c8fd4a4a5f3b31cfa4fb8f
languageName: node
linkType: hard
@@ -3641,9 +3641,9 @@ __metadata:
languageName: node
linkType: hard
-"@metamask-institutional/custody-keyring@npm:^1.0.1":
- version: 1.0.1
- resolution: "@metamask-institutional/custody-keyring@npm:1.0.1"
+"@metamask-institutional/custody-keyring@npm:^1.0.1, @metamask-institutional/custody-keyring@npm:^1.0.2":
+ version: 1.0.2
+ resolution: "@metamask-institutional/custody-keyring@npm:1.0.2"
dependencies:
"@ethereumjs/tx": "npm:^4.1.1"
"@ethereumjs/util": "npm:^8.0.5"
@@ -3653,7 +3653,7 @@ __metadata:
"@metamask/obs-store": "npm:^8.0.0"
crypto: "npm:^1.0.1"
lodash.clonedeep: "npm:^4.5.0"
- checksum: c9c763bd8416bd4434f4ae00d687f3bd33c6f4c6b7c299f0887e772e077b82291f59ecb6eebcac18cce56775887dfa8bc0a1be121d38ba35b5d5650bbb85ddf9
+ checksum: eff487de17a9d7ea889a953f9874ee0a55b568928c97bf93a90c33af52acfc8958d708d8fb4e4cd909ec0e57757409ac86476b6ab89b72b72b4f6559eab3b06b
languageName: node
linkType: hard
@@ -4020,20 +4020,20 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/eth-json-rpc-middleware@npm:^11.0.0":
- version: 11.0.0
- resolution: "@metamask/eth-json-rpc-middleware@npm:11.0.0"
+"@metamask/eth-json-rpc-middleware@npm:^11.0.0, @metamask/eth-json-rpc-middleware@npm:^11.0.2":
+ version: 11.0.2
+ resolution: "@metamask/eth-json-rpc-middleware@npm:11.0.2"
dependencies:
"@metamask/eth-json-rpc-provider": "npm:^1.0.0"
- "@metamask/eth-sig-util": "npm:^5.0.0"
- "@metamask/utils": "npm:^3.0.3"
+ "@metamask/eth-sig-util": "npm:^6.0.0"
+ "@metamask/utils": "npm:^5.0.1"
clone: "npm:^2.1.1"
- eth-block-tracker: "npm:^7.0.0"
+ eth-block-tracker: "npm:^7.0.1"
eth-rpc-errors: "npm:^4.0.3"
json-rpc-engine: "npm:^6.1.0"
pify: "npm:^3.0.0"
safe-stable-stringify: "npm:^2.3.2"
- checksum: c1bcf11d6e0fc2299e1c807c76a0a2002e18ed9a6d229cd05169d076d2292dcd38f70963676acd29c2797e1960f41effea4f105fb354119a06d3237afcc4eb32
+ checksum: 188d98dce78f85fc6364ea78b6f7e14a95cdcf0791a187177a1da8e79b8588d1b08141110b570239d92afeb021c08432d5f10948f4bba983acd1665a013b8a2c
languageName: node
linkType: hard
@@ -4111,7 +4111,7 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/eth-sig-util@npm:^5.0.0, @metamask/eth-sig-util@npm:^5.0.1, @metamask/eth-sig-util@npm:^5.0.2, @metamask/eth-sig-util@npm:^5.1.0":
+"@metamask/eth-sig-util@npm:^5.0.1, @metamask/eth-sig-util@npm:^5.0.2, @metamask/eth-sig-util@npm:^5.1.0":
version: 5.1.0
resolution: "@metamask/eth-sig-util@npm:5.1.0"
dependencies:
@@ -4325,6 +4325,17 @@ __metadata:
languageName: node
linkType: hard
+"@metamask/logging-controller@npm:^1.0.1":
+ version: 1.0.1
+ resolution: "@metamask/logging-controller@npm:1.0.1"
+ dependencies:
+ "@metamask/base-controller": "npm:^3.2.1"
+ "@metamask/controller-utils": "npm:^4.3.2"
+ uuid: "npm:^8.3.2"
+ checksum: ce70fab9e5345e08c5a361a6ee2ca4095a4ad25939728617b762d0465045f3efb3f87d5b98f2bebe504e2b7d5072b18a2164c90604ee5a00cf5bff51ac1ae205
+ languageName: node
+ linkType: hard
+
"@metamask/logo@npm:^3.1.1":
version: 3.1.1
resolution: "@metamask/logo@npm:3.1.1"
@@ -4391,14 +4402,14 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/network-controller@npm:^12.1.1, @metamask/network-controller@npm:^12.1.2":
- version: 12.1.2
- resolution: "@metamask/network-controller@npm:12.1.2"
+"@metamask/network-controller@npm:^12.1.2, @metamask/network-controller@npm:^12.2.0":
+ version: 12.2.0
+ resolution: "@metamask/network-controller@npm:12.2.0"
dependencies:
"@metamask/base-controller": "npm:^3.2.1"
"@metamask/controller-utils": "npm:^4.3.2"
"@metamask/eth-json-rpc-infura": "npm:^8.1.1"
- "@metamask/eth-json-rpc-middleware": "npm:^11.0.0"
+ "@metamask/eth-json-rpc-middleware": "npm:^11.0.2"
"@metamask/eth-json-rpc-provider": "npm:^1.0.0"
"@metamask/eth-query": "npm:^3.0.1"
"@metamask/swappable-obj-proxy": "npm:^2.1.0"
@@ -4409,7 +4420,7 @@ __metadata:
immer: "npm:^9.0.6"
json-rpc-engine: "npm:^6.1.0"
uuid: "npm:^8.3.2"
- checksum: ec0cd25ac7851ed4b08cc6fb10bc66a83200b2d25efbf4de5a89fc5d9c845e403a59a5f226008460177cc7e2d26a35f38ca139b22e46083c5472bd86239638e5
+ checksum: e5497f00c8a6ed5f00a9a5dccc6ff98cc15cc83ec31493e1387f654e038e244dff6b7954422f753d07461e2d4ef9c9dde2337a6cc4c013e3fae045592278da04
languageName: node
linkType: hard
@@ -4640,20 +4651,20 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/rpc-methods-flask@npm:@metamask/rpc-methods@0.38.2-flask.1, @metamask/rpc-methods@npm:^0.38.2-flask.1":
- version: 0.38.2-flask.1
- resolution: "@metamask/rpc-methods@npm:0.38.2-flask.1"
+"@metamask/rpc-methods-flask@npm:@metamask/rpc-methods@0.38.3-flask.1, @metamask/rpc-methods@npm:^0.38.3-flask.1":
+ version: 0.38.3-flask.1
+ resolution: "@metamask/rpc-methods@npm:0.38.3-flask.1"
dependencies:
"@metamask/key-tree": "npm:^9.0.0"
"@metamask/permission-controller": "npm:^4.1.0"
- "@metamask/snaps-ui": "npm:^0.37.4-flask.1"
- "@metamask/snaps-utils": "npm:^0.38.3-flask.1"
+ "@metamask/snaps-ui": "npm:^0.37.5-flask.1"
+ "@metamask/snaps-utils": "npm:^0.38.4-flask.1"
"@metamask/types": "npm:^1.1.0"
- "@metamask/utils": "npm:^7.1.0"
+ "@metamask/utils": "npm:^8.1.0"
"@noble/hashes": "npm:^1.3.1"
eth-rpc-errors: "npm:^4.0.3"
superstruct: "npm:^1.0.3"
- checksum: a9b49d49df69708cd8805909e25b67b0ff75ec8299035e2cedd1295ae17a68c3cb53cf87788da729c54135e8872e93cc901f27be6ad429db6efd66dd50488a0d
+ checksum: 859b279a9b89a66daeffbf7be67d83582d58b71ac4afec54c61059a5c0cd994e176cc9b4df51ea98f645981c526353ab2f0f93bc3c1e699b445a35ecb0f7d65f
languageName: node
linkType: hard
@@ -4793,20 +4804,20 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/snaps-controllers-flask@npm:@metamask/snaps-controllers@0.38.3-flask.1":
- version: 0.38.3-flask.1
- resolution: "@metamask/snaps-controllers@npm:0.38.3-flask.1"
+"@metamask/snaps-controllers-flask@npm:@metamask/snaps-controllers@0.39.0-flask.1":
+ version: 0.39.0-flask.1
+ resolution: "@metamask/snaps-controllers@npm:0.39.0-flask.1"
dependencies:
"@metamask/approval-controller": "npm:^3.5.0"
"@metamask/base-controller": "npm:^3.2.0"
"@metamask/object-multiplex": "npm:^1.2.0"
"@metamask/permission-controller": "npm:^4.1.0"
"@metamask/post-message-stream": "npm:^7.0.0"
- "@metamask/rpc-methods": "npm:^0.38.2-flask.1"
- "@metamask/snaps-execution-environments": "npm:^0.38.3-flask.1"
- "@metamask/snaps-registry": "npm:^1.2.2"
- "@metamask/snaps-utils": "npm:^0.38.3-flask.1"
- "@metamask/utils": "npm:^7.1.0"
+ "@metamask/rpc-methods": "npm:^0.38.3-flask.1"
+ "@metamask/snaps-execution-environments": "npm:^0.39.0-flask.1"
+ "@metamask/snaps-registry": "npm:^2.0.0"
+ "@metamask/snaps-utils": "npm:^0.38.4-flask.1"
+ "@metamask/utils": "npm:^8.1.0"
"@xstate/fsm": "npm:^2.0.0"
concat-stream: "npm:^2.0.0"
eth-rpc-errors: "npm:^4.0.3"
@@ -4815,10 +4826,9 @@ __metadata:
json-rpc-engine: "npm:^6.1.0"
json-rpc-middleware-stream: "npm:^4.2.0"
nanoid: "npm:^3.1.31"
- pump: "npm:^3.0.0"
readable-web-to-node-stream: "npm:^3.0.2"
tar-stream: "npm:^2.2.0"
- checksum: a6baa56d193d77d89187b461f9865517564c08f8a4b22e6c8a1373d8837816003a1dece1e69a194a022b6207a213236719d78588e925c787d948a90eeffc7a29
+ checksum: 6a4e71fafedd9cb0ef89719d2772d0511473bd6fc474534d36fd09a024a5c1914c69bc61d8db1ab990483abd2d6ebcceef26bb7f7fb73e63ef54e3e81d2aa174
languageName: node
linkType: hard
@@ -4903,22 +4913,21 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/snaps-execution-environments@npm:^0.38.3-flask.1":
- version: 0.38.3-flask.1
- resolution: "@metamask/snaps-execution-environments@npm:0.38.3-flask.1"
+"@metamask/snaps-execution-environments@npm:^0.39.0-flask.1":
+ version: 0.39.0-flask.1
+ resolution: "@metamask/snaps-execution-environments@npm:0.39.0-flask.1"
dependencies:
"@metamask/object-multiplex": "npm:^1.2.0"
"@metamask/post-message-stream": "npm:^7.0.0"
"@metamask/providers": "npm:^11.1.1"
- "@metamask/rpc-methods": "npm:^0.38.2-flask.1"
- "@metamask/snaps-utils": "npm:^0.38.3-flask.1"
- "@metamask/utils": "npm:^7.1.0"
+ "@metamask/rpc-methods": "npm:^0.38.3-flask.1"
+ "@metamask/snaps-utils": "npm:^0.38.4-flask.1"
+ "@metamask/utils": "npm:^8.1.0"
eth-rpc-errors: "npm:^4.0.3"
json-rpc-engine: "npm:^6.1.0"
nanoid: "npm:^3.1.31"
- pump: "npm:^3.0.0"
superstruct: "npm:^1.0.3"
- checksum: 471133c91b04f95aaba0aa4d6357ea58df231d062d7cce4b187e6ded7d7bc9018efe6416aea342e584d6f9d0d82b31fdee4f5dd8f3f4d1cd175229ed2ef903f0
+ checksum: 80aa0fcb299337d1e1e62fcff195123e0b23096d7895818669ba0ab0eb2c816611603665d4463c44b41ae93a03bbc6fd570ffbe2b986b560f4befd50390f72cc
languageName: node
linkType: hard
@@ -4942,7 +4951,7 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/snaps-registry@npm:^1.2.1, @metamask/snaps-registry@npm:^1.2.2":
+"@metamask/snaps-registry@npm:^1.2.1":
version: 1.2.2
resolution: "@metamask/snaps-registry@npm:1.2.2"
dependencies:
@@ -4953,13 +4962,24 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/snaps-ui-flask@npm:@metamask/snaps-ui@0.37.4-flask.1, @metamask/snaps-ui@npm:^0.37.4-flask.1":
- version: 0.37.4-flask.1
- resolution: "@metamask/snaps-ui@npm:0.37.4-flask.1"
+"@metamask/snaps-registry@npm:^2.0.0":
+ version: 2.0.0
+ resolution: "@metamask/snaps-registry@npm:2.0.0"
dependencies:
- "@metamask/utils": "npm:^6.0.1"
+ "@metamask/utils": "npm:^8.1.0"
+ "@noble/secp256k1": "npm:^1.7.1"
superstruct: "npm:^1.0.3"
- checksum: e57ca1e375d0c7860f198143789226552cb449a654e97b639f90a0cb577f9d46387c7c65b5dacc05b7fa613ed8499021df286590b6c633b6f5be8578d4d9f6a9
+ checksum: 99f8777708b6db3b2c12b66bd3d85f44c9e20ec78f04bd814a50c414fdb936a073d590926a494623691dd552592299eb1c3e8bb66382da46ec87c55694f46534
+ languageName: node
+ linkType: hard
+
+"@metamask/snaps-ui-flask@npm:@metamask/snaps-ui@0.37.5-flask.1, @metamask/snaps-ui@npm:^0.37.5-flask.1":
+ version: 0.37.5-flask.1
+ resolution: "@metamask/snaps-ui@npm:0.37.5-flask.1"
+ dependencies:
+ "@metamask/utils": "npm:^8.1.0"
+ superstruct: "npm:^1.0.3"
+ checksum: a0f665df2d758a6d43c556a4b921a930b9e0cbac21195829d4d187428d071b0c53b8c5b0288029074b562272383a931407d80c8a7af5f9792bec1d5354f6d4ad
languageName: node
linkType: hard
@@ -4983,18 +5003,18 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/snaps-utils-flask@npm:@metamask/snaps-utils@0.38.3-flask.1, @metamask/snaps-utils@npm:^0.38.3-flask.1":
- version: 0.38.3-flask.1
- resolution: "@metamask/snaps-utils@npm:0.38.3-flask.1"
+"@metamask/snaps-utils-flask@npm:@metamask/snaps-utils@0.38.4-flask.1, @metamask/snaps-utils@npm:^0.38.4-flask.1":
+ version: 0.38.4-flask.1
+ resolution: "@metamask/snaps-utils@npm:0.38.4-flask.1"
dependencies:
"@babel/core": "npm:^7.20.12"
"@babel/types": "npm:^7.18.7"
"@metamask/base-controller": "npm:^3.2.0"
"@metamask/key-tree": "npm:^9.0.0"
"@metamask/permission-controller": "npm:^4.1.0"
- "@metamask/snaps-registry": "npm:^1.2.2"
- "@metamask/snaps-ui": "npm:^0.37.4-flask.1"
- "@metamask/utils": "npm:^7.1.0"
+ "@metamask/snaps-registry": "npm:^2.0.0"
+ "@metamask/snaps-ui": "npm:^0.37.5-flask.1"
+ "@metamask/utils": "npm:^8.1.0"
"@noble/hashes": "npm:^1.3.1"
"@scure/base": "npm:^1.1.1"
chalk: "npm:^4.1.2"
@@ -5008,7 +5028,7 @@ __metadata:
ses: "npm:^0.18.7"
superstruct: "npm:^1.0.3"
validate-npm-package-name: "npm:^5.0.0"
- checksum: 002a685195b433a3c3e5bb927f9f494271526998f3c44a58cce3737d35fc76f3b5317419048b68404b88508c8435e85fa0da55787ed4a4044ef319c8f1282807
+ checksum: fb1fb14ee3766fe0e0834719ea9ff9bcd8940c538b206fdc8ca9afdbb06515ddd178a20359790781ed6fe86fc3bc5873b67adffb135baf6713ad1db8b3c65581
languageName: node
linkType: hard
@@ -5102,7 +5122,7 @@ __metadata:
languageName: node
linkType: hard
-"@metamask/utils@npm:^3.0.3, @metamask/utils@npm:^3.4.1":
+"@metamask/utils@npm:^3.4.1":
version: 3.6.0
resolution: "@metamask/utils@npm:3.6.0"
dependencies:
@@ -5167,6 +5187,20 @@ __metadata:
languageName: node
linkType: hard
+"@metamask/utils@npm:^8.1.0":
+ version: 8.1.0
+ resolution: "@metamask/utils@npm:8.1.0"
+ dependencies:
+ "@ethereumjs/tx": "npm:^4.1.2"
+ "@noble/hashes": "npm:^1.3.1"
+ "@types/debug": "npm:^4.1.7"
+ debug: "npm:^4.3.4"
+ semver: "npm:^7.5.4"
+ superstruct: "npm:^1.0.3"
+ checksum: 00400538ce635841ee97db6ad27ef9bb1e71a047899aa748789da9cbb21926eac37a91d366fbfaf1d3138b7a8d4bb2b5c23edf532f7896af3e377429d9ae577e
+ languageName: node
+ linkType: hard
+
"@multiformats/base-x@npm:^4.0.1":
version: 4.0.1
resolution: "@multiformats/base-x@npm:4.0.1"
@@ -15911,7 +15945,7 @@ __metadata:
languageName: node
linkType: hard
-"eth-block-tracker@npm:^7.0.0, eth-block-tracker@npm:^7.0.1":
+"eth-block-tracker@npm:^7.0.1":
version: 7.0.1
resolution: "eth-block-tracker@npm:7.0.1"
dependencies:
@@ -22783,106 +22817,93 @@ __metadata:
languageName: node
linkType: hard
-"lavamoat-browserify@npm:^15.7.0":
- version: 15.7.0
- resolution: "lavamoat-browserify@npm:15.7.0"
+"lavamoat-browserify@npm:^15.7.4":
+ version: 15.9.1
+ resolution: "lavamoat-browserify@npm:15.9.1"
dependencies:
- "@lavamoat/aa": "npm:^3.1.0"
- "@lavamoat/lavapack": "npm:^5.2.0"
+ "@lavamoat/aa": "npm:^3.1.5"
+ "@lavamoat/lavapack": "npm:^5.4.1"
browser-resolve: "npm:^2.0.0"
concat-stream: "npm:^2.0.0"
convert-source-map: "npm:^1.9.0"
duplexify: "npm:^4.1.1"
json-stable-stringify: "npm:^1.0.1"
- lavamoat-core: "npm:^14.2.0"
+ lavamoat-core: "npm:^14.4.1"
pify: "npm:^4.0.1"
readable-stream: "npm:^3.6.0"
source-map: "npm:^0.7.4"
through2: "npm:^3.0.0"
- checksum: 74d78a95b22895e9ac094d06b4ab5b5c2bde994f1f61afddb97fe2c055882678f266b3f06248bc592f2853b04c20e5f0ed08291c6b4e68c9e4ce8e6b278b89c0
+ checksum: d462d983c433df0e77dbde7cbc122e81554fc0ffbdb4bee05afbc7e3413b4ae6fafd1985068cded5cf693dbf1a97a1de7c0a219fa181bf9086a9fefd231030a5
languageName: node
linkType: hard
-"lavamoat-core@npm:14.2.0":
- version: 14.2.0
- resolution: "lavamoat-core@npm:14.2.0"
+"lavamoat-core@npm:14.4.1":
+ version: 14.4.1
+ resolution: "lavamoat-core@npm:14.4.1"
dependencies:
json-stable-stringify: "npm:^1.0.2"
- lavamoat-tofu: "npm:^6.0.2"
+ lavamoat-tofu: "npm:^6.2.1"
merge-deep: "npm:^3.0.3"
- checksum: 2222df8c1c3814897267244321e7d9768ac9524d06c0d6e7b1edc04f2a6857e5b6daf1d8ff560e767292f2956bdcc47f7127202b8caec7fc2ea0de5612bf419c
+ checksum: 3ba352e96d728f015f193a671fef28be3c221e486956e693a4ec4690c871aa4b5aa9bd0bfb1bb9b260f1bd7709eb078f839d39c7c065640800d368a55e7e5cc3
languageName: node
linkType: hard
-"lavamoat-core@npm:^10.0.1":
- version: 10.1.2
- resolution: "lavamoat-core@npm:10.1.2"
- dependencies:
- fromentries: "npm:^1.2.0"
- json-stable-stringify: "npm:^1.0.1"
- lavamoat-tofu: "npm:^6.0.0"
- merge-deep: "npm:^3.0.2"
- resolve: "npm:^1.15.1"
- checksum: a98eb0a069fafd57af190cd06a200186719e2659359ecedad1c2813d89e248d944b021261d111dfdf6f3fdea52e05ecb3486767b95337d987636a9ceb9ab2bdf
- languageName: node
- linkType: hard
-
-"lavamoat-core@patch:lavamoat-core@npm%3A14.2.0#./.yarn/patches/lavamoat-core-npm-14.2.0-c453f4f755.patch::locator=metamask-crx%40workspace%3A.":
- version: 14.2.0
- resolution: "lavamoat-core@patch:lavamoat-core@npm%3A14.2.0#./.yarn/patches/lavamoat-core-npm-14.2.0-c453f4f755.patch::version=14.2.0&hash=5307c6&locator=metamask-crx%40workspace%3A."
+"lavamoat-core@patch:lavamoat-core@npm%3A14.4.1#~/.yarn/patches/lavamoat-core-npm-14.4.1-c4e8bbb016.patch":
+ version: 14.4.1
+ resolution: "lavamoat-core@patch:lavamoat-core@npm%3A14.4.1#~/.yarn/patches/lavamoat-core-npm-14.4.1-c4e8bbb016.patch::version=14.4.1&hash=5307c6"
dependencies:
json-stable-stringify: "npm:^1.0.2"
- lavamoat-tofu: "npm:^6.0.2"
+ lavamoat-tofu: "npm:^6.2.1"
merge-deep: "npm:^3.0.3"
- checksum: 9acf7eac2be4f368e67f61e04ad521a4e0f8915b86a9ffcd1212f3172c5140ef7d8ca6885bb482b4758a59e7f1a996bc922081a150b15e0c62c029986c055e5f
+ checksum: 47a7f3863bd7b7ddb59ea6dad15a48859538725b0ed7bc53fd78a1a3f752c86f77b83f554c6b4a27420beb07d088fbfe1fd0847048c4e53174599d526d503fe8
languageName: node
linkType: hard
-"lavamoat-tofu@npm:^6.0.0, lavamoat-tofu@npm:^6.0.2":
- version: 6.0.2
- resolution: "lavamoat-tofu@npm:6.0.2"
+"lavamoat-tofu@npm:^6.2.1":
+ version: 6.2.1
+ resolution: "lavamoat-tofu@npm:6.2.1"
dependencies:
- "@babel/parser": "npm:^7.10.1"
- "@babel/traverse": "npm:^7.10.1"
- checksum: a641d68aa64f7b7a5d19608dd1daf77a7f442f86fb4f31ae3c5085c81891e9e0377ce8cfe9b99a3cb8c77c8efa5e0232e44056d0b04b2b364c1d814cb1215d41
+ "@babel/parser": "npm:^7.21.8"
+ "@babel/traverse": "npm:^7.21.5"
+ checksum: be1fecb988a523c1bcda57e71dc4ce1d57dcb0e01e7f4a72a59e545f96e205e9332f9e24d2f7b24fd8945eff066b7c7c8e515fb870f675a00cb94d132c81ff08
languageName: node
linkType: hard
-"lavamoat-viz@npm:^6.0.9":
- version: 6.0.9
- resolution: "lavamoat-viz@npm:6.0.9"
+"lavamoat-viz@npm:^6.0.11":
+ version: 6.2.1
+ resolution: "lavamoat-viz@npm:6.2.1"
dependencies:
- lavamoat-core: "npm:^10.0.1"
+ lavamoat-core: "npm:^14.4.1"
ncp: "npm:^2.0.0"
open: "npm:^7.0.3"
pify: "npm:^4.0.1"
- serve-handler: "npm:^6.1.3"
+ serve-handler: "npm:^6.1.5"
yargs: "npm:^16.0.0"
bin:
lavamoat-viz: bin/index.js
- checksum: 8dc91c7fbccfbe723e56c6095b35dbe5f6a22533cc5ab3556a5cc64565356eb12e29a76d5db594955024b1b966746bfd9a0c6a69a58f573d79bdd3da3400dfb4
+ checksum: 26ade3b21dd49f4f742e37d2ac52174e792447ed92b470c4618f9ac7397a9bbb51d0c225efb0a6319dfa021a566668acefd5fb07e0e6838e8df7efd508e527a4
languageName: node
linkType: hard
-"lavamoat@npm:^7.1.0":
- version: 7.1.0
- resolution: "lavamoat@npm:7.1.0"
+"lavamoat@npm:^7.1.2":
+ version: 7.3.1
+ resolution: "lavamoat@npm:7.3.1"
dependencies:
"@babel/code-frame": "npm:^7.21.4"
"@babel/highlight": "npm:^7.18.6"
- "@lavamoat/aa": "npm:^3.1.0"
+ "@lavamoat/aa": "npm:^3.1.5"
bindings: "npm:^1.5.0"
htmlescape: "npm:^1.1.1"
json-stable-stringify: "npm:^1.0.2"
- lavamoat-core: "npm:^14.2.0"
- lavamoat-tofu: "npm:^6.0.2"
+ lavamoat-core: "npm:^14.4.1"
+ lavamoat-tofu: "npm:^6.2.1"
node-gyp-build: "npm:^4.6.0"
resolve: "npm:^1.22.3"
yargs: "npm:^17.7.2"
bin:
lavamoat: src/cli.js
lavamoat-run-command: src/run-command.js
- checksum: 3add11f2bfb9d21068d92412f1752c12d7a5eda114467ce8fbbba36072e5cbf0940c0024f5e75d8f0583659181d00f862d404a94a799df40eb7e12e5a803baa3
+ checksum: e2a294e8c1f911f2d7c33315fbe405c2917c2be9ed77f3504a3e5fbc62cf2aaba043e3cd86e0b7164f0930b687196784f440441f3e9fe5731a9cff1c3027cc4c
languageName: node
linkType: hard
@@ -24016,7 +24037,7 @@ __metadata:
languageName: node
linkType: hard
-"merge-deep@npm:^3.0.2, merge-deep@npm:^3.0.3":
+"merge-deep@npm:^3.0.3":
version: 3.0.3
resolution: "merge-deep@npm:3.0.3"
dependencies:
@@ -24102,11 +24123,11 @@ __metadata:
"@keystonehq/bc-ur-registry-eth": "npm:^0.19.1"
"@keystonehq/metamask-airgapped-keyring": "npm:^0.13.1"
"@lavamoat/allow-scripts": "npm:^2.3.1"
- "@lavamoat/lavapack": "npm:^5.2.0"
+ "@lavamoat/lavapack": "npm:^5.2.4"
"@lavamoat/snow": "npm:^1.5.0"
"@material-ui/core": "npm:^4.11.0"
"@metamask-institutional/custody-controller": "npm:^0.2.12"
- "@metamask-institutional/custody-keyring": "npm:^1.0.1"
+ "@metamask-institutional/custody-keyring": "npm:^1.0.2"
"@metamask-institutional/extension": "npm:^0.3.5"
"@metamask-institutional/institutional-features": "npm:^1.2.4"
"@metamask-institutional/portfolio-dashboard": "npm:^1.4.0"
@@ -24141,11 +24162,12 @@ __metadata:
"@metamask/jazzicon": "npm:^2.0.0"
"@metamask/key-tree": "npm:^9.0.0"
"@metamask/keyring-controller": "npm:^7.4.0"
+ "@metamask/logging-controller": "npm:^1.0.1"
"@metamask/logo": "npm:^3.1.1"
"@metamask/message-manager": "npm:^7.3.0"
"@metamask/metamask-eth-abis": "npm:^3.0.0"
"@metamask/name-controller": "npm:^1.0.0"
- "@metamask/network-controller": "npm:^12.1.1"
+ "@metamask/network-controller": "npm:^12.2.0"
"@metamask/notification-controller": "npm:^3.0.0"
"@metamask/obs-store": "npm:^8.1.0"
"@metamask/permission-controller": "npm:^4.0.0"
@@ -24156,7 +24178,7 @@ __metadata:
"@metamask/providers": "npm:^11.1.0"
"@metamask/rate-limit-controller": "npm:^3.0.0"
"@metamask/rpc-methods": "npm:^1.0.2"
- "@metamask/rpc-methods-flask": "npm:@metamask/rpc-methods@0.38.2-flask.1"
+ "@metamask/rpc-methods-flask": "npm:@metamask/rpc-methods@0.38.3-flask.1"
"@metamask/safe-event-emitter": "npm:^2.0.0"
"@metamask/scure-bip39": "npm:^2.0.3"
"@metamask/selected-network-controller": "npm:^1.0.0"
@@ -24164,11 +24186,11 @@ __metadata:
"@metamask/slip44": "npm:^3.0.0"
"@metamask/smart-transactions-controller": "npm:^4.0.0"
"@metamask/snaps-controllers": "npm:^1.0.2"
- "@metamask/snaps-controllers-flask": "npm:@metamask/snaps-controllers@0.38.3-flask.1"
+ "@metamask/snaps-controllers-flask": "npm:@metamask/snaps-controllers@0.39.0-flask.1"
"@metamask/snaps-ui": "npm:^1.0.2"
- "@metamask/snaps-ui-flask": "npm:@metamask/snaps-ui@0.37.4-flask.1"
+ "@metamask/snaps-ui-flask": "npm:@metamask/snaps-ui@0.37.5-flask.1"
"@metamask/snaps-utils": "npm:^1.0.2"
- "@metamask/snaps-utils-flask": "npm:@metamask/snaps-utils@0.38.3-flask.1"
+ "@metamask/snaps-utils-flask": "npm:@metamask/snaps-utils@0.38.4-flask.1"
"@metamask/subject-metadata-controller": "npm:^2.0.0"
"@metamask/test-dapp": "npm:^7.1.0"
"@metamask/utils": "npm:^5.0.0"
@@ -24334,9 +24356,9 @@ __metadata:
junit-report-merger: "npm:^4.0.0"
koa: "npm:^2.7.0"
labeled-stream-splicer: "npm:^2.0.2"
- lavamoat: "npm:^7.1.0"
- lavamoat-browserify: "npm:^15.7.0"
- lavamoat-viz: "npm:^6.0.9"
+ lavamoat: "npm:^7.1.2"
+ lavamoat-browserify: "npm:^15.7.4"
+ lavamoat-viz: "npm:^6.0.11"
localforage: "npm:^1.9.0"
lockfile-lint: "npm:^4.10.6"
lodash: "npm:^4.17.21"
@@ -24396,7 +24418,7 @@ __metadata:
selenium-webdriver: "npm:^4.9.0"
semver: "npm:^7.5.4"
serve-handler: "npm:^6.1.2"
- ses: "npm:^0.18.7"
+ ses: "npm:^0.18.8"
single-call-balance-checker-abi: "npm:^1.0.0"
sinon: "npm:^9.0.0"
source-map: "npm:^0.7.2"
@@ -29959,7 +29981,7 @@ __metadata:
languageName: node
linkType: hard
-"resolve@npm:^1.1.4, resolve@npm:^1.1.5, resolve@npm:^1.1.6, resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.10.1, resolve@npm:^1.11.1, resolve@npm:^1.14.2, resolve@npm:^1.15.1, resolve@npm:^1.17.0, resolve@npm:^1.18.1, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.21.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.22.3, resolve@npm:^1.4.0":
+"resolve@npm:^1.1.4, resolve@npm:^1.1.5, resolve@npm:^1.1.6, resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.10.1, resolve@npm:^1.11.1, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.18.1, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.21.0, resolve@npm:^1.22.0, resolve@npm:^1.22.1, resolve@npm:^1.22.3, resolve@npm:^1.4.0":
version: 1.22.3
resolution: "resolve@npm:1.22.3"
dependencies:
@@ -29985,7 +30007,7 @@ __metadata:
languageName: node
linkType: hard
-? "resolve@patch:resolve@npm%3A^1.1.4#optional!builtin, resolve@patch:resolve@npm%3A^1.1.5#optional!builtin, resolve@patch:resolve@npm%3A^1.1.6#optional!builtin, resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.10.1#optional!builtin, resolve@patch:resolve@npm%3A^1.11.1#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.15.1#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.18.1#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.21.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.3#optional!builtin, resolve@patch:resolve@npm%3A^1.4.0#optional!builtin"
+? "resolve@patch:resolve@npm%3A^1.1.4#optional!builtin, resolve@patch:resolve@npm%3A^1.1.5#optional!builtin, resolve@patch:resolve@npm%3A^1.1.6#optional!builtin, resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.10.1#optional!builtin, resolve@patch:resolve@npm%3A^1.11.1#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.18.1#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.21.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.3#optional!builtin, resolve@patch:resolve@npm%3A^1.4.0#optional!builtin"
:
version: 1.22.3
resolution: "resolve@patch:resolve@npm%3A1.22.3#optional!builtin::version=1.22.3&hash=c3c19d"
@@ -30743,7 +30765,7 @@ __metadata:
languageName: node
linkType: hard
-"serve-handler@npm:^6.1.2, serve-handler@npm:^6.1.3":
+"serve-handler@npm:^6.1.2, serve-handler@npm:^6.1.5":
version: 6.1.5
resolution: "serve-handler@npm:6.1.5"
dependencies:
@@ -30771,12 +30793,12 @@ __metadata:
languageName: node
linkType: hard
-"ses@npm:^0.18.1, ses@npm:^0.18.7":
- version: 0.18.7
- resolution: "ses@npm:0.18.7"
+"ses@npm:^0.18.1, ses@npm:^0.18.7, ses@npm:^0.18.8":
+ version: 0.18.8
+ resolution: "ses@npm:0.18.8"
dependencies:
- "@endo/env-options": "npm:^0.1.3"
- checksum: 601b442426bb8113bb855548878771aacb62f3c4eb3c45ff32f70338320f03eeb23c0d7eb834f5539793fa8ce497f304db50cbd5da51ef3531a4e94d424bb98c
+ "@endo/env-options": "npm:^0.1.4"
+ checksum: 243b8d546ca2f0ad68cda1178689c4a4bfab8ac25fd03daccaf6c4b94ee0c10b07eb10b8d477c73ceef9ba10a2205d2bef0bd3c64b8c98130c01adfd9c873103
languageName: node
linkType: hard