@risk-labs/serverless-orchestration 1.1.0 → 1.2.0-alpha.0

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": "@risk-labs/serverless-orchestration",
3
- "version": "1.1.0",
3
+ "version": "1.2.0-alpha.0",
4
4
  "description": "Serverless orchestration scripts to run a parallel instances of scripts or bots",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -35,6 +35,10 @@
35
35
  "url": "git+https://github.com/risk-labs/serverless-orchestration.git"
36
36
  },
37
37
  "main": "index.js",
38
+ "bin": {
39
+ "serverless-hub": "./src/ServerlessHub.js",
40
+ "serverless-spoke": "./src/ServerlessSpoke.js"
41
+ },
38
42
  "files": [
39
43
  "/src/**/*.js"
40
44
  ],
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  /**
2
4
  * @notice This script reads in a global configuration file stored and executes parallel serverless instances for each
3
5
  * configured bot. This enables one global config file to define all bot instances. This drastically simplifying the
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  /**
2
4
  * @notice This script enables serverless functions to execute any arbitrary command from the UMA/Across Docker container.
3
5
  * This can be run on a local machine, within GCP cloud run or GCP cloud function environments. Cloud Run provides a