diff --git a/src/storages.ts b/src/storages.ts index 32d8dd2a..6c6a4a5e 100644 --- a/src/storages.ts +++ b/src/storages.ts @@ -45,14 +45,14 @@ const searchStore = new SearchStore({ }); export class Storages { - private static _subsub: InternalRelay | undefined; + private static _pubsub: InternalRelay | undefined; static get pubsub(): InternalRelay { - if (!this._subsub) { - this._subsub = new InternalRelay(); + if (!this._pubsub) { + this._pubsub = new InternalRelay(); } - return this._subsub; + return this._pubsub; } }