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

n8n-workflow

Package Overview
Dependencies
Maintainers
2
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.23.0 to 1.24.0

33

dist/Interfaces.d.ts

@@ -141,3 +141,3 @@ /// <reference path="index.d.ts" />

abstract getCredentials(nodeCredentials: INodeCredentialsDetails, type: string): Promise<ICredentials>;
abstract getDecrypted(additionalData: IWorkflowExecuteAdditionalData, nodeCredentials: INodeCredentialsDetails, type: string, mode: WorkflowExecuteMode, raw?: boolean, expressionResolveValues?: ICredentialsExpressionResolveValues): Promise<ICredentialDataDecryptedObject>;
abstract getDecrypted(additionalData: IWorkflowExecuteAdditionalData, nodeCredentials: INodeCredentialsDetails, type: string, mode: WorkflowExecuteMode, executeData?: IExecuteData, raw?: boolean, expressionResolveValues?: ICredentialsExpressionResolveValues): Promise<ICredentialDataDecryptedObject>;
abstract updateCredentials(nodeCredentials: INodeCredentialsDetails, type: string, data: ICredentialDataDecryptedObject): Promise<void>;

@@ -286,3 +286,3 @@ }

export interface IGetExecuteWebhookFunctions {
(workflow: Workflow, node: INode, additionalData: IWorkflowExecuteAdditionalData, mode: WorkflowExecuteMode, webhookData: IWebhookData): IWebhookFunctions;
(workflow: Workflow, node: INode, additionalData: IWorkflowExecuteAdditionalData, mode: WorkflowExecuteMode, webhookData: IWebhookData, closeFunctions: CloseFunction[]): IWebhookFunctions;
}

@@ -338,2 +338,3 @@ export interface ISourceDataConnections {

request: IRequestOptionsSimplifiedAuth;
requestInterval: number;
maxRequests?: number;

@@ -543,2 +544,3 @@ }

getHeaderData(): IncomingHttpHeaders;
getInputConnectionData(inputName: ConnectionTypes, itemIndex: number, inputIndex?: number): Promise<unknown>;
getNodeParameter(parameterName: string, fallbackValue?: any, options?: IGetNodeParameterOptions): NodeParameterValueType | object;

@@ -840,3 +842,3 @@ getNodeWebhookUrl: (name: string) => string | undefined;

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

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

triggerPanel?: {
hideContent?: boolean | string;
header?: string;

@@ -1066,3 +1069,3 @@ executionsHelp?: string | {

};
};
} | boolean;
extendsCredential?: string;

@@ -1083,2 +1086,4 @@ __loadOptionsMethods?: string[];

isTest?: boolean;
userId?: string;
staticData?: Workflow['staticData'];
}

@@ -1099,4 +1104,4 @@ export interface IWebhookDescription {

hasLifecycleMethods?: boolean;
ndvHideUrl?: boolean;
ndvHideMethod?: boolean;
ndvHideUrl?: string | boolean;
ndvHideMethod?: string | boolean;
}

@@ -1452,18 +1457,2 @@ export interface ProxyInput {

}
export declare const enum OAuth2GrantType {
pkce = "pkce",
authorizationCode = "authorizationCode",
clientCredentials = "clientCredentials"
}
export interface IOAuth2Credentials {
grantType: 'authorizationCode' | 'clientCredentials' | 'pkce';
clientId: string;
clientSecret: string;
accessTokenUrl: string;
authUrl: string;
authQueryParameters: string;
authentication: 'body' | 'header';
scope: string;
oauthTokenData?: IDataObject;
}
export type PublicInstalledPackage = {

@@ -1470,0 +1459,0 @@ packageName: string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OAuth2GrantType = exports.NodeConnectionType = exports.Node = exports.ICredentialsHelper = exports.ICredentials = void 0;
exports.NodeConnectionType = exports.Node = exports.ICredentialsHelper = exports.ICredentials = void 0;
class ICredentials {

@@ -36,8 +36,2 @@ constructor(nodeCredentials, type, nodesAccess, data) {

})(NodeConnectionType || (exports.NodeConnectionType = NodeConnectionType = {}));
var OAuth2GrantType;
(function (OAuth2GrantType) {
OAuth2GrantType["pkce"] = "pkce";
OAuth2GrantType["authorizationCode"] = "authorizationCode";
OAuth2GrantType["clientCredentials"] = "clientCredentials";
})(OAuth2GrantType || (exports.OAuth2GrantType = OAuth2GrantType = {}));
//# sourceMappingURL=Interfaces.js.map

@@ -5,7 +5,7 @@ import type { FieldType, IContextObject, INode, INodeCredentialDescription, INodeIssues, INodeParameterResourceLocator, INodeParameters, INodeProperties, INodePropertyCollection, INodePropertyMode, INodeType, IParameterDependencies, IRunExecutionData, IVersionedNodeType, IWebhookData, IWorkflowExecuteAdditionalData, NodeParameterValue, ResourceMapperValue, ConnectionTypes, INodeTypeDescription, INodeOutputConfiguration, INodeInputConfiguration, GenericValue } from './Interfaces';

export declare function applySpecialNodeParameters(nodeType: INodeType): void;
export declare function displayParameter(nodeValues: INodeParameters, parameter: INodeProperties | INodeCredentialDescription, node: INode | null, nodeValuesRoot?: INodeParameters): boolean;
export declare function displayParameterPath(nodeValues: INodeParameters, parameter: INodeProperties | INodeCredentialDescription, path: string, node: INode | null): boolean;
export declare function displayParameter(nodeValues: INodeParameters, parameter: INodeProperties | INodeCredentialDescription, node: Pick<INode, 'typeVersion'> | null, nodeValuesRoot?: INodeParameters): boolean;
export declare function displayParameterPath(nodeValues: INodeParameters, parameter: INodeProperties | INodeCredentialDescription, path: string, node: Pick<INode, 'typeVersion'> | null): boolean;
export declare function getContext(runExecutionData: IRunExecutionData, type: string, node?: INode): IContextObject;
export declare function getParameterResolveOrder(nodePropertiesArray: INodeProperties[], parameterDependencies: IParameterDependencies): number[];
export declare function getNodeParameters(nodePropertiesArray: INodeProperties[], nodeValues: INodeParameters | null, returnDefaults: boolean, returnNoneDisplayed: boolean, node: INode | null, onlySimpleTypes?: boolean, dataIsResolved?: boolean, nodeValuesRoot?: INodeParameters, parentType?: string, parameterDependencies?: IParameterDependencies): INodeParameters | null;
export declare function getNodeParameters(nodePropertiesArray: INodeProperties[], nodeValues: INodeParameters | null, returnDefaults: boolean, returnNoneDisplayed: boolean, node: Pick<INode, 'typeVersion'> | null, onlySimpleTypes?: boolean, dataIsResolved?: boolean, nodeValuesRoot?: INodeParameters, parentType?: string, parameterDependencies?: IParameterDependencies): INodeParameters | null;
export declare function getNodeWebhooks(workflow: Workflow, node: INode, additionalData: IWorkflowExecuteAdditionalData, ignoreRestartWebhooks?: boolean): IWebhookData[];

@@ -12,0 +12,0 @@ export declare function getNodeWebhookPath(workflowId: string, node: INode, path: string, isFullPath?: boolean, restartWebhook?: boolean): string;

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

var _a, _b, _c;
if (value.mappingMode === 'autoMapInputData') {
return {};
}
const issues = {};

@@ -805,0 +808,0 @@ let fieldWordSingular = ((_c = (_b = (_a = nodeProperties.typeOptions) === null || _a === void 0 ? void 0 : _a.resourceMapper) === null || _b === void 0 ? void 0 : _b.fieldWords) === null || _c === void 0 ? void 0 : _c.singular) || 'Field';

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

let routingError = error;
if (error instanceof node_api_error_1.NodeApiError)
if (error instanceof node_api_error_1.NodeApiError && error.cause)
routingError = error.cause;

@@ -119,0 +119,0 @@ throw new node_api_error_1.NodeApiError(this.node, error, {

@@ -637,3 +637,4 @@ "use strict";

}
const context = nodeExecuteFunctions.getExecuteWebhookFunctions(this, node, additionalData, mode, webhookData);
const closeFunctions = [];
const context = nodeExecuteFunctions.getExecuteWebhookFunctions(this, node, additionalData, mode, webhookData, closeFunctions);
return nodeType instanceof Interfaces_1.Node ? nodeType.webhook(context) : nodeType.webhook.call(context);

@@ -640,0 +641,0 @@ }

{
"name": "n8n-workflow",
"version": "1.23.0",
"version": "1.24.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

Sorry, the diff of this file is not supported yet

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