n8n-nodes-userapi 0.1.6 → 0.1.8

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.
package/README.md CHANGED
@@ -63,10 +63,10 @@ Basic generation flow:
63
63
 
64
64
  ## Support
65
65
 
66
- - Issues and bug reports: GitHub Issues in this repository
67
- - Telegram support: `https://t.me/userapiai`
68
- - API onboarding and key setup: `https://userapi.ai/first-steps`
69
- - UserAPI website: `https://userapi.ai`
66
+ - Issues and bug reports: [GitHub Issues](https://github.com/userapi-ai/n8n-nodes-userapi/issues)
67
+ - Telegram support: [UserApi.Ai Telegram](https://t.me/userapiai)
68
+ - API onboarding and key setup: [First steps guide](https://userapi.ai/first-steps)
69
+ - UserAPI website: [UserApi.Ai Website](https://userapi.ai)
70
70
 
71
71
  ## Contributing
72
72
 
@@ -1,21 +1,9 @@
1
- import type { ICredentialType, INodeProperties } from 'n8n-workflow';
1
+ import type { ICredentialType, INodeProperties, IAuthenticateGeneric, ICredentialTestRequest } from 'n8n-workflow';
2
2
  export declare class UserApi implements ICredentialType {
3
3
  name: string;
4
4
  displayName: string;
5
5
  documentationUrl: string;
6
- authenticate: {
7
- type: "generic";
8
- properties: {
9
- headers: {
10
- 'api-key': string;
11
- };
12
- };
13
- };
6
+ authenticate: IAuthenticateGeneric;
14
7
  properties: INodeProperties[];
15
- test: {
16
- request: {
17
- method: "GET";
18
- url: string;
19
- };
20
- };
8
+ test: ICredentialTestRequest;
21
9
  }
@@ -28,8 +28,9 @@ class UserApi {
28
28
  ];
29
29
  this.test = {
30
30
  request: {
31
+ url: '/user/whoami',
31
32
  method: 'GET',
32
- url: 'https://api.userapi.ai/user/whoami',
33
+ baseURL: 'https://api.userapi.ai',
33
34
  },
34
35
  };
35
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-userapi",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "n8n community nodes for UserApi.Ai endpoints",
5
5
  "license": "MIT",
6
6
  "homepage": "https://userapi.ai",