n8n-nodes-chatflow 1.2.5 → 1.2.7

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,7 +2,7 @@ class ChatflowApi {
2
2
  constructor() {
3
3
  this.name = 'chatflowApi';
4
4
  this.displayName = 'Chatflow API';
5
- this.documentationUrl = 'https://lk.chatflow.kz';
5
+ this.documentationUrl = 'https://app.chatflow.kz';
6
6
  this.properties = [
7
7
  {
8
8
  displayName: 'Token',
@@ -24,7 +24,7 @@ class ChatflowApi {
24
24
  ];
25
25
  this.test = {
26
26
  request: {
27
- baseURL: 'https://lk.chatflow.kz',
27
+ baseURL: 'https://app.chatflow.kz',
28
28
  url: '/api/v1/n8n/ping',
29
29
  method: 'GET',
30
30
  qs: {
@@ -9,7 +9,7 @@ class ChatflowMessage {
9
9
  const credentials = await this.getCredentials('chatflowApi');
10
10
  const token = credentials.token;
11
11
  const flowId = credentials.flowId;
12
- const serverUrl = 'https://lk.chatflow.kz';
12
+ const serverUrl = 'https://app.chatflow.kz';
13
13
 
14
14
  const operation = this.getNodeParameter('operation', 0);
15
15
  const continueOnFail = this.getNodeParameter('continueOnFail', 0);
@@ -69,7 +69,7 @@ class ChatflowMessage {
69
69
  url: `${serverUrl}/api/v1/n8n/action/${operation}`,
70
70
  qs,
71
71
  headers: { Accept: 'application/json' },
72
- timeout: 15000,
72
+ timeout: 60000,
73
73
  };
74
74
 
75
75
  const responseData = await this.helpers.httpRequest(options);
@@ -11,7 +11,7 @@ class ChatflowTrigger {
11
11
  if (webhookData.webhookId) {
12
12
  try {
13
13
  const credentials = await this.getCredentials('chatflowApi');
14
- const serverUrl = 'https://lk.chatflow.kz';
14
+ const serverUrl = 'https://app.chatflow.kz';
15
15
 
16
16
  const response = await this.helpers.httpRequest({
17
17
  method: 'GET',
@@ -34,7 +34,7 @@ class ChatflowTrigger {
34
34
  async create() {
35
35
  const webhookUrl = this.getNodeWebhookUrl('default');
36
36
  const credentials = await this.getCredentials('chatflowApi');
37
- const serverUrl = 'https://lk.chatflow.kz';
37
+ const serverUrl = 'https://app.chatflow.kz';
38
38
  const flowId = credentials.flowId;
39
39
  const token = credentials.token;
40
40
 
@@ -74,7 +74,7 @@ class ChatflowTrigger {
74
74
  async delete() {
75
75
  const webhookData = this.getWorkflowStaticData('node');
76
76
  const credentials = await this.getCredentials('chatflowApi');
77
- const serverUrl = 'https://lk.chatflow.kz';
77
+ const serverUrl = 'https://app.chatflow.kz';
78
78
 
79
79
  if (webhookData.webhookId) {
80
80
  try {
@@ -99,7 +99,7 @@ class ChatflowTrigger {
99
99
  async update() {
100
100
  const webhookUrl = this.getNodeWebhookUrl('default');
101
101
  const credentials = await this.getCredentials('chatflowApi');
102
- const serverUrl = 'https://lk.chatflow.kz';
102
+ const serverUrl = 'https://app.chatflow.kz';
103
103
  const flowId = credentials.flowId;
104
104
  const token = credentials.token;
105
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-chatflow",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "n8n community nodes for Chatflow — send WhatsApp & Telegram messages and receive triggers",
5
5
  "author": "Chatflow",
6
6
  "license": "MIT",