mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
10 lines
380 B
JavaScript
10 lines
380 B
JavaScript
const ObservableStore = require('obs-store')
|
|
const clone = require('clone')
|
|
const ConfigManager = require('../../app/scripts/lib/config-manager')
|
|
const firstTimeState = require('../../app/scripts/first-time-state')
|
|
const STORAGE_KEY = 'metamask-config'
|
|
|
|
module.exports = function() {
|
|
let store = new ObservableStore(clone(firstTimeState))
|
|
return new ConfigManager({ store })
|
|
} |