Skip to content

Commit ca0dff0

Browse files
authored
Merge pull request #2153 from MetaMask/BreakOutKeyringController
Break out keyring controller into separate module
2 parents 6ca519e + 1877c07 commit ca0dff0

File tree

4 files changed

+3
-169
lines changed

4 files changed

+3
-169
lines changed

app/scripts/metamask-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const createOriginMiddleware = require('./lib/createOriginMiddleware')
1414
const createLoggerMiddleware = require('./lib/createLoggerMiddleware')
1515
const createProviderMiddleware = require('./lib/createProviderMiddleware')
1616
const setupMultiplex = require('./lib/stream-utils.js').setupMultiplex
17-
const KeyringController = require('./keyring-controller')
17+
const KeyringController = require('eth-keyring-controller')
1818
const NetworkController = require('./controllers/network')
1919
const PreferencesController = require('./controllers/preferences')
2020
const CurrencyController = require('./controllers/currency')

app/scripts/migrations/_multi-keyring.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ which we dont have access to at the time of this writing.
1010
const ObservableStore = require('obs-store')
1111
const ConfigManager = require('../../app/scripts/lib/config-manager')
1212
const IdentityStoreMigrator = require('../../app/scripts/lib/idStore-migrator')
13-
const KeyringController = require('../../app/scripts/lib/keyring-controller')
13+
const KeyringController = require('eth-keyring-controller')
1414

1515
const password = 'obviously not correct'
1616

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@
5353
"async": "^2.5.0",
5454
"await-semaphore": "^0.1.1",
5555
"babel-runtime": "^6.23.0",
56-
"bip39": "^2.2.0",
5756
"bluebird": "^3.5.0",
5857
"bn.js": "^4.11.7",
59-
"browser-passworder": "^2.0.3",
6058
"browserify-derequire": "^0.9.4",
6159
"client-sw-ready-event": "^3.3.0",
6260
"clone": "^2.1.1",
@@ -70,8 +68,8 @@
7068
"ensnare": "^1.0.0",
7169
"eth-bin-to-ops": "^1.0.1",
7270
"eth-contract-metadata": "^1.1.4",
73-
"eth-hd-keyring": "^1.1.1",
7471
"eth-json-rpc-filters": "^1.1.0",
72+
"eth-keyring-controller": "^1.0.1",
7573
"eth-phishing-detect": "^1.1.4",
7674
"eth-query": "^2.1.2",
7775
"eth-sig-util": "^1.2.2",

test/unit/keyring-controller-test.js

Lines changed: 0 additions & 164 deletions
This file was deleted.

0 commit comments

Comments
 (0)