We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85c9214 commit 442b2cfCopy full SHA for 442b2cf
src/blockstore.js
@@ -153,7 +153,7 @@ function createBaseStore (store) {
153
*
154
* @returns {Promise<void>}
155
*/
156
- close () {
+ async close () {
157
return store.close()
158
}
159
src/spec.js
@@ -12,7 +12,7 @@ module.exports = (store) => {
12
13
* @returns {Promise<bool>}
14
15
- exists () {
+ async exists () {
16
return store.has(specKey)
17
},
18
/**
@@ -30,7 +30,7 @@ module.exports = (store) => {
30
* @param {number} spec
31
32
33
- set (spec) {
+ async set (spec) {
34
return store.put(specKey, Buffer.from(JSON.stringify(sortKeys(spec, { deep: true }))))
35
36
0 commit comments