Skip to content

Commit

Permalink
add fencing for handler type import
Browse files Browse the repository at this point in the history
  • Loading branch information
hmalik88 committed Sep 18, 2023
1 parent 63cbe75 commit b2ce4a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ import {
} from '@metamask/controller-utils';
import { wordlist } from '@metamask/scure-bip39/dist/wordlists/english';

///: BEGIN:ONLY_INCLUDE_IN(build-flask)
import { HandlerType } from '@metamask/snaps-utils';
///: END:ONLY_INCLUDE_IN
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
import { toChecksumHexAddress } from '../../shared/modules/hexstring-utils';
///: END:ONLY_INCLUDE_IN
Expand Down Expand Up @@ -228,7 +231,6 @@ import { securityProviderCheck } from './lib/security-provider-helpers';
import { IndexedDBPPOMStorage } from './lib/ppom/indexed-db-backend';
///: END:ONLY_INCLUDE_IN
import { updateCurrentLocale } from './translate';
import { HandlerType } from '@metamask/snaps-utils';

export const METAMASK_CONTROLLER_EVENTS = {
// Fired after state changes that impact the extension badge (unapproved msg count)
Expand Down

0 comments on commit b2ce4a9

Please sign in to comment.