mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Update createMethodMiddleware.js (#15505)
This commit is contained in:
parent
c162d52ca3
commit
6104b842d2
@ -2,7 +2,7 @@
|
|||||||
import { handlers as permittedSnapMethods } from '@metamask/rpc-methods/dist/permitted';
|
import { handlers as permittedSnapMethods } from '@metamask/rpc-methods/dist/permitted';
|
||||||
///: END:ONLY_INCLUDE_IN
|
///: END:ONLY_INCLUDE_IN
|
||||||
import { permissionRpcMethods } from '@metamask/controllers';
|
import { permissionRpcMethods } from '@metamask/controllers';
|
||||||
import { selectHooks } from '@metamask/rpc-methods';
|
import { selectHooks } from '@metamask/rpc-methods/dist/utils';
|
||||||
import { ethErrors } from 'eth-rpc-errors';
|
import { ethErrors } from 'eth-rpc-errors';
|
||||||
import { flatten } from 'lodash';
|
import { flatten } from 'lodash';
|
||||||
import { UNSUPPORTED_RPC_METHODS } from '../../../../shared/constants/network';
|
import { UNSUPPORTED_RPC_METHODS } from '../../../../shared/constants/network';
|
||||||
|
Loading…
Reference in New Issue
Block a user