@ldsg/workflow-node-type 0.2.6 → 0.2.9

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resource-records/end/handler/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,+BAA+B,EAChC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA6C7C,eAAO,MAAM,wCAAwC,EAAE,cAAc,CAAC,+BAA+B,CAYlG,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resource-records/end/handler/index.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,+BAA+B,EAChC,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA8C7C,eAAO,MAAM,wCAAwC,EAAE,cAAc,CAAC,+BAA+B,CAYlG,CAAC"}
@@ -19,9 +19,8 @@ function handler(params) {
19
19
  super(...arguments);
20
20
  this.execute = async () => {
21
21
  const { setVariables, nodeIdToVariablesMap } = this;
22
- const variables = await expression.evaluate({
23
- nodeIdToVariablesMap: Object.fromEntries(nodeIdToVariablesMap),
24
- });
22
+ const nodeIdToVariablesMapObject = Object.fromEntries(nodeIdToVariablesMap);
23
+ const variables = await expression.evaluate(nodeIdToVariablesMapObject);
25
24
  setVariables({
26
25
  variables,
27
26
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/workflow-node-type",
3
- "version": "0.2.6",
3
+ "version": "0.2.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -17,15 +17,15 @@
17
17
  "json-schema": "0.4.0",
18
18
  "jsonata": "^2.0.6",
19
19
  "lodash": "^4.17.21",
20
- "@ldsg/handler": "0.2.6",
21
- "@ldsg/resource": "0.2.6",
22
- "@ldsg/workflow": "0.2.6",
23
- "@ldsg/resource-definition": "0.2.6"
20
+ "@ldsg/resource": "0.2.9",
21
+ "@ldsg/handler": "0.2.9",
22
+ "@ldsg/workflow": "0.2.9",
23
+ "@ldsg/resource-definition": "0.2.9"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/json-schema": "^7.0.15",
27
27
  "@types/lodash": "^4.14.202",
28
- "@ldsg/types": "0.2.6"
28
+ "@ldsg/types": "0.2.9"
29
29
  },
30
30
  "scripts": {
31
31
  "build": "tsc --project tsconfig.build.json",