New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@activepieces/pieces-framework

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activepieces/pieces-framework - npm Package Compare versions

Comparing version 0.6.20 to 0.6.21

6

package.json
{
"name": "@activepieces/pieces-framework",
"version": "0.6.20",
"version": "0.6.21",
"type": "commonjs",

@@ -13,6 +13,6 @@ "dependencies": {

"semver": "7.5.4",
"@activepieces/shared": "0.8.7",
"tslib": "2.6.2"
"@activepieces/shared": "0.10.4",
"tslib": "2.6.1"
},
"main": "./src/index.js"
}

@@ -17,3 +17,3 @@ /// <reference types="node" />

identifierValue: string;
}): Promise<void>;
}): void;
};

@@ -20,0 +20,0 @@ };

import { Trigger } from './trigger/trigger';
import { Action } from './action/action';
import { EventPayload, ParseEventResponse } from '@activepieces/shared';
import { EventPayload, ParseEventResponse, PieceCategory } from '@activepieces/shared';
import { PieceBase, PieceMetadata } from './piece-metadata';

@@ -15,5 +15,7 @@ import { PieceAuthProperty } from './property';

readonly description: string;
readonly mentionIconUrl?: string | undefined;
readonly categories?: PieceCategory[] | undefined;
private readonly _actions;
private readonly _triggers;
constructor(displayName: string, logoUrl: string, authors: string[], events: PieceEventProcessors | undefined, actions: Action<PieceAuth>[], triggers: Trigger<PieceAuth>[], auth?: PieceAuth | undefined, minimumSupportedRelease?: string | undefined, maximumSupportedRelease?: string | undefined, description?: string);
constructor(displayName: string, logoUrl: string, authors: string[], events: PieceEventProcessors | undefined, actions: Action<PieceAuth>[], triggers: Trigger<PieceAuth>[], auth?: PieceAuth | undefined, minimumSupportedRelease?: string | undefined, maximumSupportedRelease?: string | undefined, description?: string, mentionIconUrl?: string | undefined, categories?: PieceCategory[] | undefined);
metadata(): Omit<PieceMetadata, "name" | "version">;

@@ -37,2 +39,4 @@ getAction(actionName: string): Action | undefined;

triggers: Trigger<PieceAuth>[];
mentionIconUrl?: string;
categories?: PieceCategory[];
};

@@ -39,0 +43,0 @@ type PieceEventProcessors = {

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

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

@@ -15,2 +15,4 @@ this.logoUrl = logoUrl;

this.description = description;
this.mentionIconUrl = mentionIconUrl;
this.categories = categories;
this._actions = {};

@@ -49,5 +51,5 @@ this._triggers = {};

var _a, _b;
return new Piece(params.displayName, params.logoUrl, (_a = params.authors) !== null && _a !== void 0 ? _a : [], params.events, params.actions, params.triggers, (_b = params.auth) !== null && _b !== void 0 ? _b : undefined, params.minimumSupportedRelease, params.maximumSupportedRelease, params.description);
return new Piece(params.displayName, params.logoUrl, (_a = params.authors) !== null && _a !== void 0 ? _a : [], params.events, params.actions, params.triggers, (_b = params.auth) !== null && _b !== void 0 ? _b : undefined, params.minimumSupportedRelease, params.maximumSupportedRelease, params.description, params.mentionIconUrl, params.categories);
};
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