@brandboostinggmbh/observable-workflows 0.3.8 → 0.4.0

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -429,7 +429,7 @@ function createWorkflowContext(options) {
429
429
  if (!tenantId) throw new Error(`No tenantId found for instanceId ${retryInstanceId}`);
430
430
  const encodedInput = oldRun?.input;
431
431
  if (!encodedInput) throw new Error(`No input found for instanceId ${retryInstanceId}`);
432
- const input = JSON.parse(encodedInput);
432
+ const input = internalContext.serializer.deserialize(encodedInput);
433
433
  await call({
434
434
  workflow,
435
435
  input,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brandboostinggmbh/observable-workflows",
3
- "version": "0.3.8",
3
+ "version": "0.4.0",
4
4
  "description": "My awesome typescript library",
5
5
  "type": "module",
6
6
  "license": "MIT",