weavedb-node-client 0.22.0 → 0.23.2
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.
- package/index.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -139,7 +139,9 @@ class SDK extends Base {
|
|
|
139
139
|
|
|
140
140
|
return await this.write(params.function, query, nocache)
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
async getHash(nocache) {
|
|
143
|
+
return this.readQuery("getHash", null, nocache)
|
|
144
|
+
}
|
|
143
145
|
async getNonce(addr) {
|
|
144
146
|
return this.readQuery("getNonce", addr, true)
|
|
145
147
|
}
|