zudello-execute-local 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/index.js +7 -0
  2. package/package.json +23 -23
package/index.js CHANGED
@@ -197,6 +197,7 @@ const runScript = async (handler, source, object) => {
197
197
  Logger,
198
198
  Metadata,
199
199
  Tags,
200
+ Trigger,
200
201
  Properties,
201
202
  MiscHelper,
202
203
  ModelHelper,
@@ -223,6 +224,12 @@ const runScript = async (handler, source, object) => {
223
224
  Model = new ModelHelper(Zudello, logger)
224
225
  }
225
226
 
227
+ let triggerNode
228
+
229
+ if (auth) {
230
+ triggerNode = new Trigger(auth.getApiInstance(), auth.teamUUID);
231
+ }
232
+
226
233
  ${source}
227
234
 
228
235
  const startTime = now()
package/package.json CHANGED
@@ -1,25 +1,25 @@
1
1
  {
2
- "name": "zudello-execute-local",
3
- "version": "1.0.0",
4
- "description": "Zudello Execute tool for local runs",
5
- "main": "index.js",
6
- "bin": {
7
- "zudello-execute": "./index.js"
8
- },
9
- "scripts": {},
10
- "author": "Zudello",
11
- "license": "ISC",
12
- "dependencies": {
13
- "dotenv": "^16.3.1",
14
- "fs": "^0.0.1-security",
15
- "he": "^1.2.0",
16
- "lodash": "^4.17.21",
17
- "moment": "^2.30.1",
18
- "moment-timezone": "^0.5.46",
19
- "path": "^0.12.7",
20
- "performance-now": "^2.1.0",
21
- "vm2": "^3.9.19",
22
- "yargs": "^17.7.2",
23
- "zudello-integration-sdk": "^1.0.0"
24
- }
2
+ "name": "zudello-execute-local",
3
+ "version": "1.0.2",
4
+ "description": "Zudello Execute tool for local runs",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "zudello-execute": "./index.js"
8
+ },
9
+ "scripts": {},
10
+ "author": "Zudello",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "dotenv": "^16.3.1",
14
+ "fs": "^0.0.1-security",
15
+ "he": "^1.2.0",
16
+ "lodash": "^4.17.21",
17
+ "moment": "^2.30.1",
18
+ "moment-timezone": "^0.5.46",
19
+ "path": "^0.12.7",
20
+ "performance-now": "^2.1.0",
21
+ "vm2": "^3.9.19",
22
+ "yargs": "^17.7.2",
23
+ "zudello-integration-sdk": "^1.0.2"
24
+ }
25
25
  }