@platforma-sdk/workflow-tengo 2.13.0 → 2.13.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.
@@ -48,10 +48,14 @@ createUniversal := func(tpl, isEph, inputs, ...opts) {
48
48
  // inputs input
49
49
  inputsMap := isEph ? smart.ephemeralMapBuilder() : smart.mapBuilder()
50
50
  for name, value in inputs {
51
- inputsMap.add(name, value)
51
+ if !is_undefined(value) {
52
+ inputsMap.add(name, value)
53
+ }
52
54
  }
53
55
  for name, value in serviceInputs {
54
- inputsMap.addService(name, value)
56
+ if !is_undefined(value) {
57
+ inputsMap.addService(name, value)
58
+ }
55
59
  }
56
60
 
57
61
  rbuilder.createInputField(tplutil.INPUTS_MAP_FIELD).set(inputsMap.build())
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/workflow-tengo",
3
- "version": "2.13.0",
3
+ "version": "2.13.1",
4
4
  "description": "Tengo SDK library",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",