braid-blob 0.0.80 → 0.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +5 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -443,6 +443,11 @@ function create_braid_blob() {
443
443
  })
444
444
  }
445
445
 
446
+ braid_blob.list = async () => {
447
+ await braid_blob.init()
448
+ return braid_blob.meta_db.prepare(`SELECT key FROM meta`).all().map(row => row.key)
449
+ }
450
+
446
451
  braid_blob.init = async () => {
447
452
  // We only want to initialize once
448
453
  var init_p = real_init()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braid-blob",
3
- "version": "0.0.80",
3
+ "version": "0.0.81",
4
4
  "description": "Library for collaborative blobs over http using braid.",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braid-blob",