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
286
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.48.0 to 0.49.0

14

dist/src/Interfaces.d.ts

@@ -61,2 +61,10 @@ import { Workflow } from './Workflow';

}
export interface ICredentialsExpressionResolveValues {
connectionInputData: INodeExecutionData[];
itemIndex: number;
node: INode;
runExecutionData: IRunExecutionData | null;
runIndex: number;
workflow: Workflow;
}
export declare abstract class ICredentialsHelper {

@@ -67,3 +75,3 @@ encryptionKey: string;

abstract getCredentials(name: string, type: string): ICredentials;
abstract getDecrypted(name: string, type: string): ICredentialDataDecryptedObject;
abstract getDecrypted(name: string, type: string, raw?: boolean, expressionResolveValues?: ICredentialsExpressionResolveValues): ICredentialDataDecryptedObject;
abstract updateCredentials(name: string, type: string, data: ICredentialDataDecryptedObject): Promise<void>;

@@ -142,3 +150,3 @@ }

getContext(type: string): IContextObject;
getCredentials(type: string): ICredentialDataDecryptedObject | undefined;
getCredentials(type: string, itemIndex?: number): ICredentialDataDecryptedObject | undefined;
getInputData(inputIndex?: number, inputName?: string): INodeExecutionData[];

@@ -243,2 +251,3 @@ getMode(): WorkflowExecuteMode;

getNodeWebhookUrl: (name: string) => string | undefined;
getParamsData(): object;
getQueryData(): object;

@@ -450,2 +459,3 @@ getRequestObject(): express.Request;

workflowExecuteAdditionalData: IWorkflowExecuteAdditionalData;
webhookId?: string;
}

@@ -452,0 +462,0 @@ export interface IWebhookDescription {

@@ -560,2 +560,6 @@ "use strict";

}
let webhookId;
if ((path.startsWith(':') || path.includes('/:')) && node.webhookId) {
webhookId = node.webhookId;
}
returnData.push({

@@ -568,2 +572,3 @@ httpMethod: httpMethod.toString(),

workflowExecuteAdditionalData: additionalData,
webhookId,
});

@@ -627,2 +632,8 @@ }

function getNodeWebhookUrl(baseUrl, workflowId, node, path, isFullPath) {
if ((path.startsWith(':') || path.includes('/:')) && node.webhookId) {
isFullPath = false;
}
if (path.startsWith('/')) {
path = path.slice(1);
}
return `${baseUrl}/${getNodeWebhookPath(workflowId, node, path, isFullPath)}`;

@@ -629,0 +640,0 @@ }

2

package.json
{
"name": "n8n-workflow",
"version": "0.48.0",
"version": "0.49.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

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