godprotocol 2.3.12 → 2.3.13

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.12",
3
+ "version": "2.3.13",
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.gp.route_table.get_services("cache");
21
+ let Cache = await this.router.get_services("cache");
22
22
  let res = await Cache.call("get", {
23
23
  key: `${folder_name}:${JSON.stringify(query)}`,
24
24
  });
@@ -47,7 +47,7 @@ class DB {
47
47
  ttlMs = 7 * 24 * 60 * 60 * 1000,
48
48
  ) => {
49
49
  let folder_name = `$CACHE-${category}`;
50
- let Cache = await this.gp.route_table.get_service("cache");
50
+ let Cache = await this.router.get_service("cache");
51
51
 
52
52
  let res = await Cache.call("get", {
53
53
  key: folder_name,