-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.js
34 lines (30 loc) · 1.11 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
const tradle = module.exports = exports
// tradle.keeper = require('./lib/keeper')
tradle.protocol = require('@tradle/protocol')
tradle.sender = require('./lib/sender')
tradle.sealer = require('./lib/sealer')
tradle.sealwatch = require('./lib/sealwatch')
tradle.dbs = {
objects: require('./lib/dbs/objects'),
// tx: require('./lib/dbs/txs'),
seals: require('./lib/dbs/seals'),
watches: require('./lib/dbs/watches'),
addressBook: require('./lib/dbs/addressBook'),
simpleCustom: require('./lib/dbs/simpleCustom'),
msgMeta: require('./lib/dbs/msgMeta'),
}
tradle.retrystream = require('./lib/retrystream')
tradle.validator = require('./lib/validator')
tradle.types = require('./lib/types')
tradle.utils = require('./lib/utils')
tradle.constants = require('./lib/constants')
// tradle.constants = {
// status: require('./lib/status'),
// topics: require('./lib/topics')
// }
tradle.topics = require('./lib/topics')
tradle.protobuf = require('./lib/proto')
tradle.node = require('./lib/node')
tradle.partial = require('./lib/partial')
tradle.typeforce = require('./lib/typeforce')
tradle.errors = require('./lib/errors')