@brandboostinggmbh/observable-workflows 0.4.4 → 0.4.6

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/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -238,10 +238,10 @@ async function createStepContext(context) {
238
238
  metadata: trySerializeObj(row.metadata, context.serializer),
239
239
  startTime: row.startTime,
240
240
  endTime: row.endTime,
241
- result: row.result,
242
- error: row.error
241
+ result: trySerializeObj(row.result, context.serializer),
242
+ error: trySerializeObj(row.error, context.serializer)
243
243
  });
244
- return context.serializer.deserialize(row.result);
244
+ return row.result;
245
245
  } else console.warn("temp: found existing step with different status", row);
246
246
  } else console.warn("temp: no existing step found");
247
247
  } else console.warn("temp: not trying to reuse successful steps");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brandboostinggmbh/observable-workflows",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "My awesome typescript library",
5
5
  "type": "module",
6
6
  "license": "MIT",