godprotocol 1.2.27 → 1.2.28

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 CHANGED
@@ -1,5 +1,7 @@
1
1
  import Trinity from "./Objects/Trinity.js";
2
+ import Oracle from "./Objects/Oracle.js";
2
3
 
3
4
  let trinity = new Trinity(process.env.Trinity || "GodProtocol");
4
5
 
5
6
  export default trinity;
7
+ export { Oracle };
package/Objects/Oracle.js CHANGED
@@ -101,7 +101,7 @@ class Oracle_client {
101
101
  };
102
102
 
103
103
  cloth_repo = async (repo) => {
104
- return await this.Repos.cloth_repo(repo);
104
+ return this.Repos && (await this.Repos.cloth_repo(repo));
105
105
  };
106
106
  }
107
107
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godprotocol",
3
- "version": "1.2.27",
3
+ "version": "1.2.28",
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",