Skip to content

Commit

Permalink
moving it here fixes a test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoch authored and jchris committed Sep 20, 2024
1 parent b661e03 commit 8e15174
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ import type {
import { BaseBlockstore, Connectable } from "./blockstore/index.js";
import { ensureLogger, ensureSuperThis, NotFoundError } from "./utils.js";

export { Connectable };

export class Database<DT extends DocTypes = NonNullable<unknown>> implements Connectable {
static databases = new Map<string, Database>();

Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ export * from "./indexer.js";
export * as bs from "./blockstore/index.js";
export * as blockstore from "./blockstore/index.js";

import { type Connectable } from "./blockstore";
export { Connectable };

export * as rt from "./runtime/index.js";
export * as runtime from "./runtime/index.js";

Expand Down

0 comments on commit 8e15174

Please sign in to comment.