Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@activepieces/framework

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activepieces/framework - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

4

package.json
{
"name": "@activepieces/framework",
"version": "0.2.0",
"version": "0.3.0",
"type": "commonjs",

@@ -10,3 +10,3 @@ "dependencies": {

"nanoid": "3.3.4",
"@activepieces/shared": "0.2.0",
"@activepieces/shared": "0.3.0",
"tslib": "2.4.1"

@@ -13,0 +13,0 @@ },

@@ -20,2 +20,4 @@ import type { Trigger } from './trigger/trigger';

} | undefined;
readonly minimumSupportedRelease?: string | undefined;
readonly maximumSupportedRelease?: string | undefined;
readonly description: string;

@@ -33,3 +35,3 @@ private readonly _actions;

}) => boolean;
} | undefined, actions: Action[], triggers: Trigger[], description?: string);
} | undefined, actions: Action[], triggers: Trigger[], minimumSupportedRelease?: string | undefined, maximumSupportedRelease?: string | undefined, description?: string);
getAction(actionName: string): Action | undefined;

@@ -58,2 +60,4 @@ getTrigger(triggerName: string): Trigger | undefined;

version: string;
minimumSupportedRelease?: string | undefined;
maximumSupportedRelease?: string | undefined;
}) => Piece;

@@ -5,3 +5,3 @@ "use strict";

class Piece {
constructor(name, displayName, logoUrl, authors, version, events, actions, triggers, description = '') {
constructor(name, displayName, logoUrl, authors, version, events, actions, triggers, minimumSupportedRelease, maximumSupportedRelease, description = '') {
this.name = name;

@@ -13,2 +13,4 @@ this.displayName = displayName;

this.events = events;
this.minimumSupportedRelease = minimumSupportedRelease;
this.maximumSupportedRelease = maximumSupportedRelease;
this.description = description;

@@ -39,2 +41,4 @@ this._actions = Object.fromEntries(actions.map((action) => [action.name, action]));

version: this.version,
minimumSupportedRelease: this.minimumSupportedRelease,
maximumSupportedRelease: this.maximumSupportedRelease,
};

@@ -46,5 +50,5 @@ }

var _a;
return new Piece(request.name, request.displayName, request.logoUrl, (_a = request.authors) !== null && _a !== void 0 ? _a : [], request.version, request.events, request.actions, request.triggers, request.description);
return new Piece(request.name, request.displayName, request.logoUrl, (_a = request.authors) !== null && _a !== void 0 ? _a : [], request.version, request.events, request.actions, request.triggers, request.minimumSupportedRelease, request.maximumSupportedRelease, request.description);
};
exports.createPiece = createPiece;
//# sourceMappingURL=piece.js.map

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc