godprotocol 1.2.0 → 1.2.1

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 Fs from "godprotocol/repos/fs.js";
2
+ import Github from "godprotocol/repos/github.js";
2
3
  import Handlers from "godprotocol/utils/oracle_handlers.js";
3
4
  import { post_request } from "godprotocol/utils/services.js";
4
5
 
@@ -21,6 +22,9 @@ class Oracle extends Handlers{
21
22
  case 'fs':
22
23
  repo = new Fs(repo.options)
23
24
  break
25
+ case 'github':
26
+ repo = new Github(repo.options)
27
+ break
24
28
  }
25
29
  this.repos.push({filter, repo})
26
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "godprotocol",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "A distributed computing environment",
5
5
  "main": "Index.js",
6
6
  "scripts": {