n8n-nodes-confirm8 0.3.0 → 0.5.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-confirm8",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "confirm8 nodes for n8n + AI Agent integration",
5
5
  "license": "MIT",
6
6
  "author": "Bill hebert",
@@ -31,9 +31,9 @@
31
31
  "dist/nodes/ApiCustom/ApiAgentTool.node.js"
32
32
  ]
33
33
  },
34
- "dependencies": {
35
- "n8n-workflow": "*",
36
- "n8n-core": "*"
34
+ "peerDependencies": {
35
+ "n8n-core": "*",
36
+ "n8n-workflow": "*"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^18.0.0",
@@ -41,6 +41,8 @@
41
41
  "gulp": "^4.0.2",
42
42
  "gulp-cli": "^2.3.0",
43
43
  "gulp-typescript": "^6.0.0-alpha.1",
44
- "typescript": "^5.0.0"
44
+ "typescript": "^5.0.0",
45
+ "n8n-core": "*",
46
+ "n8n-workflow": "*"
45
47
  }
46
- }
48
+ }
@@ -1,9 +0,0 @@
1
- import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
- export declare class ApiCustomCredentials implements ICredentialType {
3
- name: string;
4
- displayName: string;
5
- documentationUrl: string;
6
- properties: INodeProperties[];
7
- authenticate: IAuthenticateGeneric;
8
- test: ICredentialTestRequest;
9
- }
@@ -1,69 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ApiCustomCredentials = void 0;
4
- class ApiCustomCredentials {
5
- constructor() {
6
- this.name = 'apiCustomCredentials';
7
- this.displayName = 'Custom API Credentials';
8
- this.documentationUrl = 'https://your-api-documentation-url.com';
9
- this.properties = [
10
- {
11
- displayName: 'Base URL',
12
- name: 'baseUrl',
13
- type: 'string',
14
- default: '',
15
- placeholder: 'https://api.example.com',
16
- required: true,
17
- description: 'The base URL of your API endpoint',
18
- },
19
- {
20
- displayName: 'API Key',
21
- name: 'apiKey',
22
- type: 'string',
23
- typeOptions: {
24
- password: true,
25
- },
26
- default: '',
27
- required: true,
28
- description: 'The API key for authentication',
29
- },
30
- {
31
- displayName: 'API Key Prefix',
32
- name: 'apiKeyPrefix',
33
- type: 'options',
34
- options: [
35
- {
36
- name: 'Bearer',
37
- value: 'Bearer',
38
- },
39
- {
40
- name: 'Token',
41
- value: 'Token',
42
- },
43
- {
44
- name: 'API-Key',
45
- value: 'API-Key',
46
- },
47
- ],
48
- default: 'Bearer',
49
- description: 'The prefix used before the API key in the Authorization header',
50
- },
51
- ];
52
- this.authenticate = {
53
- type: 'generic',
54
- properties: {
55
- headers: {
56
- Authorization: '={{$credentials.apiKeyPrefix}} {{$credentials.apiKey}}',
57
- },
58
- },
59
- };
60
- this.test = {
61
- request: {
62
- baseURL: '={{$credentials.baseUrl}}',
63
- url: '/users',
64
- method: 'GET',
65
- },
66
- };
67
- }
68
- }
69
- exports.ApiCustomCredentials = ApiCustomCredentials;