2014-04-07 11:31:41 -07:00
|
|
|
|
2014-04-14 11:31:10 -07:00
|
|
|
// core
|
|
|
|
module.exports.PublicKeyRing = require('./js/models/core/PublicKeyRing');
|
|
|
|
module.exports.TxProposals = require('./js/models/core/TxProposals');
|
|
|
|
module.exports.PrivateKey = require('./js/models/core/PrivateKey');
|
|
|
|
|
|
|
|
// components
|
2014-04-14 14:08:18 -07:00
|
|
|
var WebRTC = module.exports.WebRTC = require('./js/models/network/WebRTC');
|
|
|
|
var Insight = module.exports.Insight = require('./js/models/blockchain/Insight');
|
2014-04-16 07:55:18 -07:00
|
|
|
var StorageLocalPlain = module.exports.StorageLocalPlain = require('./js/models/storage/LocalPlain');
|
|
|
|
var StorageLocalEncrypted = module.exports.StorageLocalEncrypted = require('./js/models/storage/LocalEncrypted');
|
2014-04-14 13:17:56 -07:00
|
|
|
|
|
|
|
module.exports.Wallet = require('soop').load('./js/models/core/Wallet',{
|
|
|
|
Network: WebRTC,
|
|
|
|
Blockchain: Insight,
|
2014-04-16 07:55:18 -07:00
|
|
|
Storage: StorageLocalPlain,
|
2014-04-14 13:17:56 -07:00
|
|
|
});
|
|
|
|
|
2014-04-16 08:10:51 -07:00
|
|
|
|
|
|
|
module.exports.API = require('./API');
|