BlueWallet/BlueApp.js

17 lines
329 B
JavaScript
Raw Normal View History

2018-01-30 23:42:38 +01:00
/**
* @exports {AppStorage}
*/
2018-03-17 21:39:21 +01:00
import { AppStorage } from './class';
let EV = require('./events');
2018-01-30 23:42:38 +01:00
2018-03-17 21:39:21 +01:00
let BlueApp = new AppStorage();
(async () => {
await BlueApp.loadFromDisk();
console.log('loaded from disk');
EV(EV.enum.WALLETS_COUNT_CHANGED);
EV(EV.enum.TRANSACTIONS_COUNT_CHANGED);
})();
2018-01-30 23:42:38 +01:00
2018-03-17 21:39:21 +01:00
module.exports = BlueApp;