godprotocol 1.2.51 → 1.2.52

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/Objects/Oracle.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import { post_request } from "../utils/services.js";
2
+ import { encrypt } from "@godprotocol/repositories/utils/cryptography.js";
2
3
 
3
4
  class Oracle_client {
4
5
  constructor(server, options = {}) {
@@ -15,7 +16,7 @@ class Oracle_client {
15
16
 
16
17
  await this.fetch({
17
18
  method: "add_repo",
18
- args: repo,
19
+ args: { repo: encrypt(JSON.stringify(repo), this.manager_key) },
19
20
  });
20
21
 
21
22
  return repo_;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godprotocol",
3
- "version": "1.2.51",
3
+ "version": "1.2.52",
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",