weavedb-node-client 0.18.5 → 0.18.7

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 +2 -2
package/index.js CHANGED
@@ -132,6 +132,10 @@ class SDK extends Base {
132
132
  async getNonce(addr) {
133
133
  return this.readQuery("getNonce", addr, true)
134
134
  }
135
+
136
+ async admin(op, opt) {
137
+ return this._write2("admin", op, opt)
138
+ }
135
139
  }
136
140
 
137
141
  module.exports = SDK
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weavedb-node-client",
3
- "version": "0.18.5",
3
+ "version": "0.18.7",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -11,6 +11,6 @@
11
11
  "@grpc/proto-loader": "^0.5.0",
12
12
  "arweave": "^1.12.2",
13
13
  "ramda": "^0.28.0",
14
- "weavedb-base": "^0.18.4"
14
+ "weavedb-base": "^0.18.5"
15
15
  }
16
16
  }