n8n-nodes-evolution-message-search 1.0.0 → 1.0.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.
|
@@ -171,8 +171,10 @@ class SearchMessages {
|
|
|
171
171
|
const instanceName = executeFunctions.getNodeParameter('instanceName', i);
|
|
172
172
|
const userConversationId = executeFunctions.getNodeParameter('conversationId', i);
|
|
173
173
|
const allowModelSetConversation = executeFunctions.getNodeParameter('allowModelSetConversation', i);
|
|
174
|
-
const
|
|
175
|
-
const
|
|
174
|
+
const searchParamsRaw = executeFunctions.getNodeParameter('searchParams', i) || {};
|
|
175
|
+
const paginationRaw = executeFunctions.getNodeParameter('pagination', i) || {};
|
|
176
|
+
const searchParams = searchParamsRaw.fields || {};
|
|
177
|
+
const pagination = paginationRaw.fields || { pageSize: 10, page: 1 };
|
|
176
178
|
let conversationId = userConversationId;
|
|
177
179
|
if (!conversationId && allowModelSetConversation) {
|
|
178
180
|
conversationId = executeFunctions.getNodeParameter('modelConversationId', i, '');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-evolution-message-search",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Evolution API - Search Messages node for n8n. Search WhatsApp message history by keywords, dates, and conversation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|