godprotocol 2.3.13 → 2.3.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godprotocol",
3
- "version": "2.3.13",
3
+ "version": "2.3.14",
4
4
  "description": "A distributed computing environment for Web 4.0 — integrating AI, decentralisation, and virtual computation.",
5
5
  "main": "Index.js",
6
6
  "type": "module",
@@ -18,7 +18,7 @@ class DB {
18
18
  read_cache = async (query, category) => {
19
19
  let folder_name = `$CACHE-${category}`;
20
20
 
21
- let Cache = await this.router.get_services("cache");
21
+ let Cache = await this.router.get_service("cache");
22
22
  let res = await Cache.call("get", {
23
23
  key: `${folder_name}:${JSON.stringify(query)}`,
24
24
  });
@@ -218,8 +218,6 @@ class Route_table extends Headers {
218
218
  if (config.schema) {
219
219
  let resp = await this.validate(config.schema, payload);
220
220
 
221
- // debug("Validation result for route", name, ":", resp);
222
-
223
221
  if (!resp.ok) {
224
222
  if (this.platform_agent) {
225
223
  await this.call_agency({
@@ -242,7 +240,7 @@ class Route_table extends Headers {
242
240
  endpoint: name,
243
241
  args: payload.body,
244
242
  response: resp,
245
- conversation: payload.headers.meta.conversation_id,
243
+ // conversation: payload.headers.meta.conversation_id,
246
244
  });
247
245
  }
248
246
  return result;
@@ -257,7 +255,7 @@ class Route_table extends Headers {
257
255
  endpoint: name,
258
256
  args: payload.body,
259
257
  response,
260
- conversation: payload.headers.meta.conversation_id,
258
+ // conversation: payload.headers.meta.conversation_id,
261
259
  },
262
260
  response.agent,
263
261
  );