Skip to content

Commit

Permalink
chore: reset to main the policies and yarn lock, fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
zone-live committed Dec 18, 2024
1 parent 8bb949c commit 08c396f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 99 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import {
} from '@metamask/base-controller';
import {
BtcAccountType,
KeyringClient,
type InternalAccount,
isEvmAccountType,
SolAccountType,
} from '@metamask/keyring-api';
import { KeyringClient } from '@metamask/keyring-snap-client';
import { type InternalAccount } from '@metamask/keyring-internal-api';
import type { HandleSnapRequest } from '@metamask/snaps-controllers';
import type { SnapId } from '@metamask/snaps-sdk';
import { HandlerType } from '@metamask/snaps-utils';
Expand Down
2 changes: 1 addition & 1 deletion lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1558,9 +1558,9 @@
},
"packages": {
"@metamask/base-controller": true,
"@metamask/keyring-api": true,
"@metamask/keyring-controller": true,
"@metamask/network-controller": true,
"@metamask/profile-sync-controller>@metamask/keyring-api": true,
"@metamask/profile-sync-controller>@noble/ciphers": true,
"@noble/hashes": true,
"browserify>buffer": true,
Expand Down
2 changes: 1 addition & 1 deletion lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1558,9 +1558,9 @@
},
"packages": {
"@metamask/base-controller": true,
"@metamask/keyring-api": true,
"@metamask/keyring-controller": true,
"@metamask/network-controller": true,
"@metamask/profile-sync-controller>@metamask/keyring-api": true,
"@metamask/profile-sync-controller>@noble/ciphers": true,
"@noble/hashes": true,
"browserify>buffer": true,
Expand Down
2 changes: 1 addition & 1 deletion lavamoat/browserify/main/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1558,9 +1558,9 @@
},
"packages": {
"@metamask/base-controller": true,
"@metamask/keyring-api": true,
"@metamask/keyring-controller": true,
"@metamask/network-controller": true,
"@metamask/profile-sync-controller>@metamask/keyring-api": true,
"@metamask/profile-sync-controller>@noble/ciphers": true,
"@noble/hashes": true,
"browserify>buffer": true,
Expand Down
96 changes: 3 additions & 93 deletions lavamoat/browserify/mmi/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -899,104 +899,14 @@
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask/base-controller": true,
"@metamask/eth-snap-keyring": true,
"@metamask/keyring-api": true,
"@metamask/keyring-controller": true,
"@metamask/utils": true,
"@ethereumjs/tx>ethereum-cryptography": true,
"uuid": true
}
},
"@metamask/accounts-controller>@metamask/eth-snap-keyring": {
"globals": {
"URL": true,
"console.error": true
},
"packages": {
"@ethereumjs/tx": true,
"@metamask/accounts-controller>@metamask/eth-snap-keyring>@metamask/eth-sig-util": true,
"@metamask/accounts-controller>@metamask/eth-snap-keyring>@metamask/utils": true,
"@metamask/accounts-controller>@metamask/eth-snap-keyring>uuid": true,
"@metamask/accounts-controller>@metamask/keyring-api": true,
"@metamask/utils>@metamask/superstruct": true,
"webpack>events": true
}
},
"@metamask/accounts-controller>@metamask/eth-snap-keyring>@metamask/eth-sig-util": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethereumjs/tx>ethereum-cryptography": true,
"@metamask/abi-utils": true,
"@metamask/accounts-controller>@metamask/eth-snap-keyring>@metamask/eth-sig-util>@metamask/utils": true,
"@metamask/eth-sig-util>tweetnacl": true,
"@metamask/utils>@scure/base": true,
"browserify>buffer": true
}
},
"@metamask/accounts-controller>@metamask/eth-snap-keyring>@metamask/eth-sig-util>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/utils>@metamask/superstruct": true,
"@metamask/utils>@scure/base": true,
"@metamask/utils>pony-cause": true,
"@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true
}
},
"@metamask/accounts-controller>@metamask/eth-snap-keyring>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/utils>@metamask/superstruct": true,
"@metamask/utils>@scure/base": true,
"@metamask/utils>pony-cause": true,
"@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true
}
},
"@metamask/accounts-controller>@metamask/eth-snap-keyring>uuid": {
"globals": {
"crypto": true
}
},
"@metamask/accounts-controller>@metamask/keyring-api": {
"globals": {
"URL": true
},
"packages": {
"@metamask/accounts-controller>@metamask/keyring-api>@metamask/utils": true,
"@metamask/accounts-controller>@metamask/keyring-api>uuid": true,
"@metamask/keyring-api>bech32": true,
"@metamask/utils>@metamask/superstruct": true
}
},
"@metamask/accounts-controller>@metamask/keyring-api>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/utils>@metamask/superstruct": true,
"@metamask/utils>@scure/base": true,
"@metamask/utils>pony-cause": true,
"@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true
}
},
"@metamask/accounts-controller>@metamask/keyring-api>uuid": {
"globals": {
"crypto": true
}
},
"@metamask/address-book-controller": {
"packages": {
"@metamask/base-controller": true,
Expand Down Expand Up @@ -1740,9 +1650,9 @@
},
"packages": {
"@metamask/base-controller": true,
"@metamask/keyring-api": true,
"@metamask/keyring-controller": true,
"@metamask/network-controller": true,
"@metamask/profile-sync-controller>@metamask/keyring-api": true,
"@metamask/profile-sync-controller>@noble/ciphers": true,
"@noble/hashes": true,
"browserify>buffer": true,
Expand Down
6 changes: 5 additions & 1 deletion ui/selectors/accounts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { EthAccountType, BtcAccountType, SolAccountType } from '@metamask/keyring-api';
import {
EthAccountType,
BtcAccountType,
SolAccountType,
} from '@metamask/keyring-api';
import { InternalAccount } from '@metamask/keyring-internal-api';
import { AccountsControllerState } from '@metamask/accounts-controller';
import {
Expand Down

0 comments on commit 08c396f

Please sign in to comment.