@eldoy/webdb 0.4.0 → 0.4.1

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 +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -22,6 +22,10 @@ module.exports = function (url) {
22
22
  await server.db.compact(name)
23
23
  }
24
24
 
25
+ db.info = async function () {
26
+ return await server.info()
27
+ }
28
+
25
29
  return db
26
30
  }
27
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eldoy/webdb",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Document database client powered by CouchDB.",
5
5
  "publishConfig": {
6
6
  "access": "public"