Skip to content

Commit

Permalink
chore: move keyring snap permissions file (#25491)
Browse files Browse the repository at this point in the history
This change moves the `keyring-snaps-permissions` file into the `snap-keyring` directory.
  • Loading branch information
gantunesr authored Jun 24, 2024
1 parent 3f28e7a commit ec5cf7e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/scripts/lib/snap-keyring/utils/isBlockedUrl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PhishingController } from '@metamask/phishing-controller';
import { isProtocolAllowed } from '../../keyring-snaps-permissions';
import { isProtocolAllowed } from '../keyring-snaps-permissions';

/**
* Checks whether a given URL is blocked due to not using HTTPS or being
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/metamask-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ import {
///: END:ONLY_INCLUDE_IF
import { submitSmartTransactionHook } from './lib/transaction/smart-transactions';
///: BEGIN:ONLY_INCLUDE_IF(keyring-snaps)
import { keyringSnapPermissionsBuilder } from './lib/keyring-snaps-permissions';
import { keyringSnapPermissionsBuilder } from './lib/snap-keyring/keyring-snaps-permissions';
///: END:ONLY_INCLUDE_IF

import { SnapsNameProvider } from './lib/SnapsNameProvider';
Expand Down

0 comments on commit ec5cf7e

Please sign in to comment.