n8n-nodes-ancoremate 1.17.2 → 1.17.3

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.
@@ -66,7 +66,7 @@ class AncoreMateOAuth2Api {
66
66
  "baseURL": "https://ancorecloud.com/ancoremate",
67
67
  "url": "/v1/connection",
68
68
  "headers": {
69
- "X-AncoreMate-Client": "n8n/1.17.2"
69
+ "X-AncoreMate-Client": "n8n/1.17.3"
70
70
  }
71
71
  }
72
72
  };
@@ -4,7 +4,7 @@ exports.AncoreMateAppData = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const OPERATIONS = {
9
9
  "createBookmark": {
10
10
  "method": "POST",
@@ -4,7 +4,7 @@ exports.AncoreMateApps = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const OPERATIONS = {
9
9
  "changeAppOwner": {
10
10
  "method": "PUT",
@@ -4,7 +4,7 @@ exports.AncoreMateAppsTrigger = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const EVENTS = {
9
9
  "whenAppCreated": {
10
10
  "path": "/v1/triggers/app-created",
@@ -4,7 +4,7 @@ exports.AncoreMateAutomations = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const OPERATIONS = {
9
9
  "copyAutomation": {
10
10
  "method": "POST",
@@ -4,7 +4,7 @@ exports.AncoreMateAutomationsTrigger = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const EVENTS = {
9
9
  "whenAutomationCreated": {
10
10
  "path": "/v1/triggers/automation-created",
@@ -4,7 +4,7 @@ exports.AncoreMateCatalog = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const OPERATIONS = {
9
9
  "changeGlossaryTermStatus": {
10
10
  "method": "PUT",
@@ -4,7 +4,7 @@ exports.AncoreMateContent = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const OPERATIONS = {
9
9
  "getQlikConnection": {
10
10
  "method": "GET",
@@ -4,7 +4,7 @@ exports.AncoreMateReloads = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const OPERATIONS = {
9
9
  "getQlikConnection": {
10
10
  "method": "GET",
@@ -4,7 +4,7 @@ exports.AncoreMateReloadsTrigger = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const EVENTS = {
9
9
  "whenAppReloadFinished": {
10
10
  "path": "/v1/triggers/app-reload-finished",
@@ -4,7 +4,7 @@ exports.AncoreMateSpacesAndAccess = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const OPERATIONS = {
9
9
  "addSpaceMember": {
10
10
  "method": "POST",
@@ -4,7 +4,7 @@ exports.AncoreShare = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const OPERATIONS = {
9
9
  "downloadAncoreShareFile": {
10
10
  "method": "POST",
@@ -4,7 +4,7 @@ exports.AncoreShareTrigger = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const runtime_1 = require("../shared/runtime");
6
6
  const BASE_URL = 'https://ancorecloud.com/ancoremate';
7
- const CLIENT = 'n8n/1.17.2';
7
+ const CLIENT = 'n8n/1.17.3';
8
8
  const EVENTS = {
9
9
  "whenAncoreShareReportFinished": {
10
10
  "path": "/v1/triggers/ancoreshare-report-finished",
@@ -73,10 +73,15 @@ function ancoreMateMessage(error) {
73
73
  const cause = source === null || source === void 0 ? void 0 : source.cause;
74
74
  const causeResponse = cause === null || cause === void 0 ? void 0 : cause.response;
75
75
  for (const candidate of [context === null || context === void 0 ? void 0 : context.data, response === null || response === void 0 ? void 0 : response.data, response === null || response === void 0 ? void 0 : response.body, causeResponse === null || causeResponse === void 0 ? void 0 : causeResponse.data, causeResponse === null || causeResponse === void 0 ? void 0 : causeResponse.body]) {
76
+ const text = typeof candidate === 'string'
77
+ ? candidate
78
+ : Buffer.isBuffer(candidate) || candidate instanceof ArrayBuffer || ArrayBuffer.isView(candidate)
79
+ ? Buffer.from(candidate).toString('utf8')
80
+ : undefined;
76
81
  let parsed = candidate;
77
- if (typeof candidate === 'string') {
82
+ if (text !== undefined) {
78
83
  try {
79
- parsed = JSON.parse(candidate);
84
+ parsed = JSON.parse(text);
80
85
  }
81
86
  catch {
82
87
  continue;
@@ -204,7 +209,7 @@ async function runOperations(operations, baseUrl, client) {
204
209
  if (error instanceof n8n_workflow_1.NodeOperationError) {
205
210
  throw new n8n_workflow_1.NodeOperationError(this.getNode(), error, { itemIndex: i });
206
211
  }
207
- throw new n8n_workflow_1.NodeApiError(this.getNode(), error, { itemIndex: i, message });
212
+ throw new n8n_workflow_1.NodeApiError(this.getNode(), error, { itemIndex: i, message, description: message });
208
213
  }
209
214
  }
210
215
  return [results];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-ancoremate",
3
- "version": "1.17.2",
3
+ "version": "1.17.3",
4
4
  "description": "n8n nodes for Qlik Cloud® automation by ancoreSoft. Qlik®, Qlik Cloud® and Qlik Sense® are trademarks of QlikTech International AB. ancoreMate is not affiliated with or endorsed by Qlik.",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",