Skip to content

Commit

Permalink
Copy over constants
Browse files Browse the repository at this point in the history
  • Loading branch information
jiexi committed Jun 26, 2023
1 parent 2a72176 commit 06263ac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 704 deletions.
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/controller-utils": "^4.0.0",
"@metamask/object-multiplex": "^1.1.0",
"@metamask/safe-event-emitter": "^3.0.0",
"detect-browser": "^5.2.0",
Expand Down Expand Up @@ -94,10 +93,6 @@
"registry": "https://registry.npmjs.org/"
},
"lavamoat": {
"allowScripts": {
"@metamask/controller-utils>babel-runtime>core-js": false,
"@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>keccak": false,
"@metamask/controller-utils>ethereumjs-util>ethereum-cryptography>secp256k1": false
}
"allowScripts": {}
}
}
2 changes: 1 addition & 1 deletion src/middleware/createRpcWarningMiddleware.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ERC1155, ERC721 } from '@metamask/controller-utils';
import { ERC1155, ERC721 } from '../constants';
import type { JsonRpcMiddleware, JsonRpcRequest } from 'json-rpc-engine';

import messages from '../messages';
Expand Down
Loading

0 comments on commit 06263ac

Please sign in to comment.