Merge pull request #717 from hazae41/patch-2
Expose modules in OrbitDB object
This commit is contained in:
commit
1bd9989420
@ -57,6 +57,20 @@ class OrbitDB {
|
||||
AccessControllers = options.AccessControllers || AccessControllers
|
||||
}
|
||||
|
||||
static get Pubsub () { return Pubsub }
|
||||
static get Cache () { return Cache }
|
||||
static get Keystore () { return Keystore }
|
||||
static get Identities () { return Identities }
|
||||
static get AccessControllers () { return AccessControllers }
|
||||
static get Storage () { return Storage }
|
||||
static get OrbitDBAddress () { return OrbitDBAddress }
|
||||
|
||||
static get EventStore () { return EventStore }
|
||||
static get FeedStore () { return FeedStore }
|
||||
static get KeyValueStore () { return KeyValueStore }
|
||||
static get CounterStore () { return CounterStore }
|
||||
static get DocumentStore () { return DocumentStore }
|
||||
|
||||
get cache () { return this.caches[this.directory].cache }
|
||||
|
||||
static async createInstance (ipfs, options = {}) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user