n8n-nodes-quepasa-api-yurisilva_pro 2.1.0 → 2.1.1

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.
@@ -28,10 +28,14 @@ async function quePasaApiRequest(method, endpoint, body = {}, qs = {}, option =
28
28
  headers: {
29
29
  'X-QUEPASA-TOKEN': token,
30
30
  },
31
+ returnFullResponse: false,
31
32
  ...option,
32
33
  };
33
34
  try {
34
- return await this.helpers.httpRequest(options);
35
+ const response = await this.helpers.httpRequest(options);
36
+ // Garantir que retornamos apenas dados JSON serializáveis
37
+ // Converter para string e voltar para remover referências circulares
38
+ return JSON.parse(JSON.stringify(response));
35
39
  }
36
40
  catch (error) {
37
41
  if (error instanceof axios_1.AxiosError) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-quepasa-api-yurisilva_pro",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Complete n8n integration for QuePasa WhatsApp API - 48 operations, multi-account support, 100% API v4 coverage",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",