weavedb-node-client 0.9.3 → 0.9.4

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 +7 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -93,8 +93,13 @@ class SDK extends Base {
93
93
  return { nocache, query }
94
94
  }
95
95
 
96
- async _request(func, query, nocache = false) {
97
- if (!includes(func)(reads)) nocache = false
96
+ async _request(func, query, nocache, bundle, relay = false) {
97
+ if (!includes(func)(reads)) {
98
+ nocache = false
99
+ if (relay) {
100
+ return query
101
+ }
102
+ }
98
103
  const request = {
99
104
  method: `${func}@${this.contractTxId}`,
100
105
  query: JSON.stringify(query),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weavedb-node-client",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "engines": {