n8n-nodes-fingrid 0.2.2 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,6 +2,7 @@ import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INo
2
2
  export declare class FingridApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
+ icon: "file:../nodes/Fingrid/fingrid.svg";
5
6
  documentationUrl: string;
6
7
  properties: INodeProperties[];
7
8
  authenticate: IAuthenticateGeneric;
@@ -5,6 +5,7 @@ class FingridApi {
5
5
  constructor() {
6
6
  this.name = "fingridApi";
7
7
  this.displayName = "Fingrid API";
8
+ this.icon = "file:../nodes/Fingrid/fingrid.svg";
8
9
  this.documentationUrl = "https://data.fingrid.fi/en/instructions";
9
10
  this.properties = [
10
11
  {
@@ -8,7 +8,7 @@ class Fingrid {
8
8
  this.description = {
9
9
  displayName: "Fingrid",
10
10
  name: "fingrid",
11
- icon: "file:fingrid.svg",
11
+ icon: { light: "file:fingrid.svg", dark: "file:fingrid.svg" },
12
12
  group: ["transform"],
13
13
  version: 1,
14
14
  usableAsTool: true,
@@ -425,10 +425,6 @@ class Fingrid {
425
425
  });
426
426
  continue;
427
427
  }
428
- if (error instanceof n8n_workflow_1.NodeApiError ||
429
- error instanceof n8n_workflow_1.NodeOperationError) {
430
- throw error;
431
- }
432
428
  throw new n8n_workflow_1.NodeApiError(this.getNode(), error, {
433
429
  itemIndex: i,
434
430
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-fingrid",
3
- "version": "0.2.2",
3
+ "version": "0.2.5",
4
4
  "description": "n8n community node for Fingrid Open Data — Finnish power grid and electricity market data",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",