From c99c9b872b48b3c643109bfb662d410ea94f2285 Mon Sep 17 00:00:00 2001 From: Joris <31551856+CSDUMMI@users.noreply.github.com> Date: Fri, 21 May 2021 20:24:09 +0200 Subject: [PATCH] Added `OrbitDB.Store` property To make it possible to access the class from the main module, without the use of another module. Like the other stores have already been made available. --- src/OrbitDB.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/OrbitDB.js b/src/OrbitDB.js index c076171..7c62353 100644 --- a/src/OrbitDB.js +++ b/src/OrbitDB.js @@ -1,6 +1,7 @@ 'use strict' const path = require('path') +const Store = require('orbit-db-store') const EventStore = require('orbit-db-eventstore') const FeedStore = require('orbit-db-feedstore') const KeyValueStore = require('orbit-db-kvstore') @@ -66,7 +67,8 @@ class OrbitDB { static get AccessControllers () { return AccessControllers } static get Storage () { return Storage } static get OrbitDBAddress () { return OrbitDBAddress } - + + static get Store () { return Store } static get EventStore () { return EventStore } static get FeedStore () { return FeedStore } static get KeyValueStore () { return KeyValueStore }