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

n8n-workflow

Package Overview
Dependencies
Maintainers
3
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 1.12.1 to 1.13.0

33

dist/Interfaces.d.ts

@@ -8,18 +8,18 @@ /// <reference types="node" />

import type FormData from 'form-data';
import type { PathLike } from 'fs';
import type { IncomingHttpHeaders } from 'http';
import type { OptionsWithUri, OptionsWithUrl } from 'request';
import type { RequestPromiseOptions } from 'request-promise-native';
import type { Readable } from 'stream';
import type { URLSearchParams } from 'url';
import type { OptionsWithUri, OptionsWithUrl } from 'request';
import type { RequestPromiseOptions } from 'request-promise-native';
import type { PathLike } from 'fs';
import type { AuthenticationMethod } from './Authentication';
import type { CODE_EXECUTION_MODES, CODE_LANGUAGES } from './Constants';
import type { IDeferredPromise } from './DeferredPromise';
import type { ExecutionStatus } from './ExecutionStatus';
import type { ExpressionError } from './ExpressionError';
import type { NodeApiError, NodeOperationError } from './NodeErrors';
import type { Workflow } from './Workflow';
import type { WorkflowHooks } from './WorkflowHooks';
import type { WorkflowActivationError } from './WorkflowActivationError';
import type { WorkflowOperationError } from './WorkflowErrors';
import type { NodeApiError, NodeOperationError } from './NodeErrors';
import type { ExpressionError } from './ExpressionError';
import type { ExecutionStatus } from './ExecutionStatus';
import type { AuthenticationMethod } from './Authentication';
import type { WorkflowHooks } from './WorkflowHooks';
export interface IAdditionalCredentialOptions {

@@ -66,8 +66,6 @@ oauth2?: IOAuth2Options;

constructor(nodeCredentials: INodeCredentialsDetails, type: string, nodesAccess: ICredentialNodeAccess[], data?: string);
abstract getData(encryptionKey: string, nodeType?: string): ICredentialDataDecryptedObject;
abstract getDataKey(key: string, encryptionKey: string, nodeType?: string): CredentialInformation;
abstract getData(nodeType?: string): ICredentialDataDecryptedObject;
abstract getDataToSave(): ICredentialsEncrypted;
abstract hasNodeAccess(nodeType: string): boolean;
abstract setData(data: ICredentialDataDecryptedObject, encryptionKey: string): void;
abstract setDataKey(key: string, data: CredentialInformation, encryptionKey: string): void;
abstract setData(data: ICredentialDataDecryptedObject): void;
}

@@ -137,4 +135,2 @@ export interface IUser {

export declare abstract class ICredentialsHelper {
readonly encryptionKey: string;
constructor(encryptionKey: string);
abstract getParentTypes(name: string): string[];

@@ -443,3 +439,3 @@ abstract authenticate(credentials: ICredentialDataDecryptedObject, typeName: string, requestOptions: IHttpRequestOptions | IRequestOptionsSimplified, workflow: Workflow, node: INode, defaultTimezone: string): Promise<IHttpRequestOptions>;

getInstanceBaseUrl(): string;
getInstanceId(): Promise<string>;
getInstanceId(): string;
getMode?: () => WorkflowExecuteMode;

@@ -462,3 +458,3 @@ getActivationMode?: () => WorkflowActivateMode;

executeWorkflow(workflowInfo: IExecuteWorkflowInfo, inputData?: INodeExecutionData[]): Promise<any>;
getInputConnectionData(inputName: ConnectionTypes, itemIndex: number, inputIndex?: number, nodeNameOverride?: string): Promise<unknown>;
getInputConnectionData(inputName: ConnectionTypes, itemIndex: number, inputIndex?: number): Promise<unknown>;
getInputData(inputIndex?: number, inputName?: string): INodeExecutionData[];

@@ -806,3 +802,3 @@ getNodeOutputs(): INodeOutputConfiguration[];

description: INodeTypeDescription;
supplyData?(this: IExecuteFunctions): Promise<SupplyData>;
supplyData?(this: IExecuteFunctions, itemIndex: number): Promise<SupplyData>;
execute?(this: IExecuteFunctions): Promise<INodeExecutionData[][] | NodeExecutionWithMetadata[][] | null>;

@@ -973,3 +969,2 @@ poll?(this: IPollFunctions): Promise<INodeExecutionData[][] | null>;

AiTool = "ai_tool",
AiVectorRetriever = "ai_vectorRetriever",
AiVectorStore = "ai_vectorStore",

@@ -1056,2 +1051,3 @@ Main = "main"

restartWebhook?: boolean;
hasLifecycleMethods?: boolean;
ndvHideUrl?: boolean;

@@ -1228,3 +1224,2 @@ ndvHideMethod?: boolean;

credentialsHelper: ICredentialsHelper;
encryptionKey: string;
executeWorkflow: (workflowInfo: IExecuteWorkflowInfo, additionalData: IWorkflowExecuteAdditionalData, options: {

@@ -1231,0 +1226,0 @@ parentWorkflowId?: string;

@@ -16,5 +16,2 @@ "use strict";

class ICredentialsHelper {
constructor(encryptionKey) {
this.encryptionKey = encryptionKey;
}
}

@@ -36,3 +33,2 @@ exports.ICredentialsHelper = ICredentialsHelper;

NodeConnectionType["AiTool"] = "ai_tool";
NodeConnectionType["AiVectorRetriever"] = "ai_vectorRetriever";
NodeConnectionType["AiVectorStore"] = "ai_vectorStore";

@@ -39,0 +35,0 @@ NodeConnectionType["Main"] = "main";

{
"name": "n8n-workflow",
"version": "1.12.1",
"version": "1.13.0",
"description": "Workflow base code of n8n",

@@ -30,3 +30,3 @@ "license": "SEE LICENSE IN LICENSE.md",

"devDependencies": {
"@types/crypto-js": "^4.1.1",
"@types/crypto-js": "^4.1.3",
"@types/deep-equal": "^1.0.1",

@@ -33,0 +33,0 @@ "@types/express": "^4.17.6",

Sorry, the diff of this file is not supported yet

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