Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit be15e74

Browse files
authored
fix: errors export (#111)
ipjs' export settings do not support this syntax, may be able to revisit after #109
1 parent 85b32fc commit be15e74

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/index.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import * as Errors from './errors.js'
2+
import * as shard from './shard.js'
3+
14
export { BaseDatastore } from './base.js'
25
export { MemoryDatastore } from './memory.js'
36
export { KeyTransformDatastore } from './keytransform.js'
@@ -6,8 +9,8 @@ export { MountDatastore } from './mount.js'
69
export { TieredDatastore } from './tiered.js'
710
export { NamespaceDatastore } from './namespace.js'
811

9-
export * as Errors from './errors.js'
10-
export * as shard from './shard.js'
12+
export { Errors }
13+
export { shard }
1114

1215
/**
1316
* @typedef {import("./types").Shard } Shard

0 commit comments

Comments
 (0)