n8n-nodes-exa-official 0.1.2 → 0.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.
@@ -1,8 +1,20 @@
1
- import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
1
+ import { IAuthenticateGeneric, ICredentialType, IHttpRequestMethods, INodeProperties } from 'n8n-workflow';
2
2
  export declare class ExaApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
5
  documentationUrl: string;
6
6
  properties: INodeProperties[];
7
7
  authenticate: IAuthenticateGeneric;
8
+ test: {
9
+ request: {
10
+ baseURL: string;
11
+ method: IHttpRequestMethods;
12
+ url: string;
13
+ json: boolean;
14
+ body: {
15
+ query: string;
16
+ numResults: number;
17
+ };
18
+ };
19
+ };
8
20
  }
@@ -27,6 +27,18 @@ class ExaApi {
27
27
  },
28
28
  },
29
29
  };
30
+ this.test = {
31
+ request: {
32
+ baseURL: 'https://api.exa.ai',
33
+ method: 'POST',
34
+ url: '/search',
35
+ json: true,
36
+ body: {
37
+ query: 'n8n credential verification',
38
+ numResults: 1,
39
+ },
40
+ },
41
+ };
30
42
  }
31
43
  }
32
44
  exports.ExaApi = ExaApi;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-exa-official",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "n8n node for Exa API - intelligent web search and content extraction",
5
5
  "keywords": [
6
6
  "n8n-community-node-package"