Skip to content

Commit abac6ce

Browse files
committed
Fix after rebase
1 parent 9651e51 commit abac6ce

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/snaps-controllers/src/snaps/SnapController.ts

-7
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,6 @@ import type {
112112
} from '../services';
113113
import { fetchSnap, hasTimedOut, setDiff, withTimeout } from '../utils';
114114
import { ALLOWED_PERMISSIONS } from './constants';
115-
import {
116-
getMaxRequestTimeCaveat,
117-
handlerEndowments,
118-
SnapEndowments,
119-
} from './endowments';
120-
import { getKeyringCaveatOrigins } from './endowments/keyring';
121-
import { getRpcCaveatOrigins } from './endowments/rpc';
122115
import type { SnapLocation } from './location';
123116
import { detectSnapLocation } from './location';
124117
import { processSnapPermissions } from './permissions';

packages/snaps-controllers/src/snaps/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SnapEndowments } from './endowments';
1+
import { SnapEndowments } from '@metamask/snaps-rpc-methods';
22

33
// These permissions are allowed without being on the allowlist.
44
export const ALLOWED_PERMISSIONS = Object.freeze([

0 commit comments

Comments
 (0)