@activepieces/shared
Advanced tools
Comparing version 0.3.33 to 0.3.34
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.3.33", | ||
"version": "0.3.34", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -227,3 +227,3 @@ "use strict"; | ||
} | ||
function createAction(request, { nextAction }) { | ||
function createAction(request, { nextAction, onFailureAction, onSuccessAction, firstLoopAction }) { | ||
var _a; | ||
@@ -239,6 +239,6 @@ const baseProperties = { | ||
case action_1.ActionType.BRANCH: | ||
action = Object.assign(Object.assign({}, baseProperties), { onFailureAction: request.onFailureAction, onSuccessAction: request.onSuccessAction, type: action_1.ActionType.BRANCH, settings: request.settings }); | ||
action = Object.assign(Object.assign({}, baseProperties), { onFailureAction: onFailureAction, onSuccessAction: onSuccessAction, type: action_1.ActionType.BRANCH, settings: request.settings }); | ||
break; | ||
case action_1.ActionType.LOOP_ON_ITEMS: | ||
action = Object.assign(Object.assign({}, baseProperties), { firstLoopAction: request.firstLoopAction, type: action_1.ActionType.LOOP_ON_ITEMS, settings: request.settings }); | ||
action = Object.assign(Object.assign({}, baseProperties), { firstLoopAction: firstLoopAction, type: action_1.ActionType.LOOP_ON_ITEMS, settings: request.settings }); | ||
break; | ||
@@ -245,0 +245,0 @@ case action_1.ActionType.PIECE: |
Sorry, the diff of this file is not supported yet
271218