n8n-nodes-syncmate 1.1.1 → 1.1.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.
@@ -270,9 +270,7 @@ class WhatsAuto {
270
270
  json: true,
271
271
  };
272
272
  let response;
273
- const credentials = await this.getCredentials('assistroTokenApi');
274
- requestOptions.headers['Authorization'] = `Bearer ${credentials.accessToken}`;
275
- response = await this.helpers.httpRequest(requestOptions);
273
+ response = await this.helpers.httpRequestWithAuthentication.call(this, 'assistroTokenApi', requestOptions);
276
274
  returnData.push({
277
275
  json: response,
278
276
  pairedItem: { item: i },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-syncmate",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Send WhatsApp messages or media using SyncMate Assistro API.",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",
@@ -53,6 +53,7 @@
53
53
  "eslint": "^8.56.0",
54
54
  "eslint-plugin-n8n-nodes-base": "^1.16.1",
55
55
  "gulp": "^4.0.2",
56
+ "n8n-node-dev": "^1.121.16",
56
57
  "n8n-workflow": "^1.119.1",
57
58
  "prettier": "^3.3.2",
58
59
  "typescript": "~5.5.3"