@platforma-sdk/workflow-tengo 2.8.0 → 2.8.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.
@@ -131,13 +131,13 @@ resultUnmarshaller := func() {
131
131
 
132
132
  // even if spec is present, the data may be still not available
133
133
  if isNR(resource.get("data")) {
134
- result["data"] = undefined
134
+ result.data = undefined
135
135
  } else {
136
- result["data"] = parser(resource.get("data"))
136
+ result.data = parser(resource.get("data"))
137
137
  }
138
138
  }
139
139
 
140
- return result
140
+ return ll.toStrict(result)
141
141
  } else {
142
142
  // format list of results
143
143
 
@@ -156,10 +156,10 @@ resultUnmarshaller := func() {
156
156
 
157
157
  // only if the data is there
158
158
  if !is_undefined(data) {
159
- r["data"] = parser(data[ref].getValue())
159
+ r.data = parser(data[ref].getValue())
160
160
  }
161
161
 
162
- result = append(result, r)
162
+ result = append(result, ll.toStrict(r))
163
163
  }
164
164
 
165
165
  if ops.single {
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/workflow-tengo",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "Tengo SDK library",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",