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

n8n-workflow

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-workflow - npm Package Compare versions

Comparing version 0.17.0 to 0.18.0

dist/src/WorkflowHooks.d.ts

1

dist/src/index.d.ts
export * from './Interfaces';
export * from './Workflow';
export * from './WorkflowDataProxy';
export * from './WorkflowHooks';
import * as NodeHelpers from './NodeHelpers';
import * as ObservableObject from './ObservableObject';
export { NodeHelpers, ObservableObject, };

@@ -8,2 +8,3 @@ "use strict";

__export(require("./WorkflowDataProxy"));
__export(require("./WorkflowHooks"));
const NodeHelpers = require("./NodeHelpers");

@@ -10,0 +11,0 @@ exports.NodeHelpers = NodeHelpers;

import { Workflow } from './Workflow';
import { WorkflowHooks } from './WorkflowHooks';
import * as express from 'express';

@@ -101,2 +102,3 @@ export interface IBinaryData {

export interface IExecuteFunctions {
executeWorkflow(workflowId: string, inputData?: INodeExecutionData[]): Promise<any>;
getContext(type: string): IContextObject;

@@ -109,2 +111,3 @@ getCredentials(type: string): ICredentialDataDecryptedObject | undefined;

getWorkflowStaticData(type: string): IDataObject;
getRestApiUrl(): string;
getTimezone(): string;

@@ -122,2 +125,3 @@ prepareOutputData(outputData: INodeExecutionData[], outputIndex?: number): Promise<INodeExecutionData[][]>;

getNodeParameter(parameterName: string, fallbackValue?: any): NodeParameterValue | INodeParameters | NodeParameterValue[] | INodeParameters[] | object;
getRestApiUrl(): string;
getTimezone(): string;

@@ -136,2 +140,3 @@ getWorkflowDataProxy(): IWorkflowDataProxyData;

getTimezone(): string;
getRestApiUrl(): string;
helpers: {

@@ -159,2 +164,3 @@ [key: string]: ((...args: any[]) => any) | undefined;

getNodeParameter(parameterName: string, fallbackValue?: any): NodeParameterValue | INodeParameters | NodeParameterValue[] | INodeParameters[] | object;
getRestApiUrl(): string;
getTimezone(): string;

@@ -443,2 +449,13 @@ getWorkflowStaticData(type: string): IDataObject;

}
export interface IWorkflowBase {
id?: number | string | any;
name: string;
active: boolean;
createdAt: Date;
updatedAt: Date;
nodes: INode[];
connections: IConnections;
settings?: IWorkflowSettings;
staticData?: IDataObject;
}
export interface IWorkflowCredentials {

@@ -459,5 +476,7 @@ [key: string]: {

encryptionKey: string;
hooks?: IWorkflowExecuteHooks;
executeWorkflow: (workflowId: string, additionalData: IWorkflowExecuteAdditionalData, inputData?: INodeExecutionData[]) => Promise<any>;
hooks?: WorkflowHooks;
httpResponse?: express.Response;
httpRequest?: express.Request;
restApiUrl: string;
timezone: string;

@@ -468,5 +487,10 @@ webhookBaseUrl: string;

}
export declare type WorkflowExecuteMode = 'cli' | 'error' | 'internal' | 'manual' | 'retry' | 'trigger' | 'webhook';
export declare type WorkflowExecuteMode = 'cli' | 'error' | 'integrated' | 'internal' | 'manual' | 'retry' | 'trigger' | 'webhook';
export interface IWorkflowHooksOptionalParameters {
parentProcessMode?: string;
retryOf?: string;
sessionId?: string;
}
export interface IWorkflowSettings {
[key: string]: IDataObject | string | number | boolean | undefined;
}

2

package.json
{
"name": "n8n-workflow",
"version": "0.17.0",
"version": "0.18.0",
"description": "Workflow base code of n8n",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md",

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