@protobase/workflows 0.71.4 → 0.71.5
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.
|
@@ -38,6 +38,7 @@ const handler = (id, type, wiring) => {
|
|
|
38
38
|
const plan = cachePlan(id, type, parts.input, task.cache);
|
|
39
39
|
if (plan && "invalidTtl" in plan) log("The step type's cache gave no valid time to live; the step ran without the cache");
|
|
40
40
|
if (!plan || "invalidTtl" in plan) return run(parts);
|
|
41
|
+
if (connection && plan.identity.connection) await connection.accessToken();
|
|
41
42
|
return cachedRun(plan, id, parts, task, run);
|
|
42
43
|
};
|
|
43
44
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/workflows",
|
|
3
|
-
"version": "0.71.
|
|
3
|
+
"version": "0.71.5",
|
|
4
4
|
"description": "Workflows as state machines with JSONata expressions: their check, a runner that saves every step, and the plugin interface for trigger and step types.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|