mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 02:58:09 +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 })
|
|
} |