File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
address-book-controller/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ import { BaseControllerV1 } from '@metamask/base-controller';
3
3
import {
4
4
normalizeEnsName ,
5
5
isValidHexAddress ,
6
+ isSafeDynamicKey ,
6
7
toChecksumHexAddress ,
7
8
toHex ,
8
9
} from '@metamask/controller-utils' ;
9
10
import type { Hex } from '@metamask/utils' ;
10
- import { isSafeDynamicKey } from '../../controller-utils/src/util' ;
11
11
12
12
/**
13
13
* @type ContactEntry
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import type { ChainId } from '@metamask/controller-utils';
9
9
import {
10
10
normalizeEnsName ,
11
11
isValidHexAddress ,
12
+ isSafeDynamicKey ,
12
13
toChecksumHexAddress ,
13
14
CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP ,
14
15
convertHexToDecimal ,
@@ -18,7 +19,6 @@ import type { NetworkState } from '@metamask/network-controller';
18
19
import type { Hex } from '@metamask/utils' ;
19
20
import { createProjectLogger } from '@metamask/utils' ;
20
21
import { toASCII } from 'punycode/' ;
21
- import { isSafeDynamicKey } from '../../controller-utils/src/util' ;
22
22
23
23
const log = createProjectLogger ( 'ens-controller' ) ;
24
24
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import type {
4
4
RestrictedControllerMessenger ,
5
5
} from '@metamask/base-controller' ;
6
6
import { BaseController } from '@metamask/base-controller' ;
7
+ import { isSafeDynamicKey } from '@metamask/controller-utils' ;
7
8
8
9
import type {
9
10
NameProvider ,
@@ -12,7 +13,6 @@ import type {
12
13
NameProviderSourceResult ,
13
14
} from './types' ;
14
15
import { NameType } from './types' ;
15
- import { isSafeDynamicKey } from '../../controller-utils/src/util' ;
16
16
17
17
export const FALLBACK_VARIATION = '*' ;
18
18
export const PROPOSED_NAME_EXPIRE_DURATION = 60 * 60 * 24 ; // 24 hours
You can’t perform that action at this time.
0 commit comments