@activepieces/shared
Advanced tools
Comparing version 0.10.92 to 0.10.93
{ | ||
"name": "@activepieces/shared", | ||
"version": "0.10.92", | ||
"version": "0.10.93", | ||
"type": "commonjs", | ||
@@ -9,5 +9,5 @@ "dependencies": { | ||
"semver": "7.6.0", | ||
"tslib": "2.6.1" | ||
"tslib": "1.14.1" | ||
}, | ||
"main": "./src/index.js" | ||
} |
@@ -338,3 +338,2 @@ "use strict"; | ||
function createAction(request, { nextAction, onFailureAction, onSuccessAction, firstLoopAction, }) { | ||
var _a; | ||
const baseProperties = { | ||
@@ -362,4 +361,3 @@ displayName: request.displayName, | ||
} | ||
action.valid = ((_a = request.valid) !== null && _a !== void 0 ? _a : true) && actionSchemaValidator.Check(action); | ||
return action; | ||
return Object.assign(Object.assign({}, action), { valid: ((0, common_1.isNil)(request.valid) ? true : request.valid) && actionSchemaValidator.Check(action) }); | ||
} | ||
@@ -379,3 +377,2 @@ function isChildOf(parent, childStepName) { | ||
function createTrigger(name, request, nextAction) { | ||
var _a; | ||
const baseProperties = { | ||
@@ -396,4 +393,3 @@ displayName: request.displayName, | ||
} | ||
trigger.valid = ((_a = request.valid) !== null && _a !== void 0 ? _a : true) && triggerSchemaValidation.Check(trigger); | ||
return trigger; | ||
return Object.assign(Object.assign({}, trigger), { valid: ((0, common_1.isNil)(request.valid) ? true : request.valid) && triggerSchemaValidation.Check(trigger) }); | ||
} | ||
@@ -400,0 +396,0 @@ function getImportOperations(step) { |
Sorry, the diff of this file is not supported yet
480469
8
4
102
6573
+ Addedtslib@1.14.1(transitive)
- Removedtslib@2.6.1(transitive)
Updatedtslib@1.14.1