godprotocol 1.2.30 → 1.2.32

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.
@@ -445,7 +445,8 @@ class Manager {
445
445
  get_account = async (name) => {
446
446
  let acc = this.accounts[name];
447
447
  if (!acc) {
448
- let servers = await this.oracle.get_servers(`Accounts/${name}`);
448
+ let servers = await this.oracle.read(`Accounts/${name}/.servers`);
449
+ servers = servers ? JSON.parse(servers) : [];
449
450
  if (servers.length) {
450
451
  acc = await this.add_account(name, { servers });
451
452
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godprotocol",
3
- "version": "1.2.30",
3
+ "version": "1.2.32",
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",