n8n-nodes-test-node 1.0.16 → 1.0.18

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,7 +1,7 @@
1
1
  {
2
2
  "name": "n8n-nodes-test-node",
3
- "version": "1.0.16",
4
- "description": "Full browser-automation surface over a remote Chromium debug session.",
3
+ "version": "1.0.18",
4
+ "description": "GitHub's v3 REST API.",
5
5
  "keywords": [
6
6
  "n8n-community-node-package"
7
7
  ],
@@ -16,11 +16,11 @@
16
16
  "n8n": {
17
17
  "n8nNodesApiVersion": 1,
18
18
  "credentials": [
19
- "dist/RemoteChromiumCDPAutomationAPIApi.credentials.js"
19
+ "dist/GitHubV3RESTAPIApi.credentials.js"
20
20
  ],
21
21
  "nodes": [
22
- "dist/RemoteChromiumCDPAutomationAPINode.node.js",
23
- "dist/RemoteChromiumCDPAutomationAPIToolNode.node.js"
22
+ "dist/GitHubV3RESTAPINode.node.js",
23
+ "dist/GitHubV3RESTAPIToolNode.node.js"
24
24
  ]
25
25
  },
26
26
  "devDependencies": {
@@ -1,9 +0,0 @@
1
- import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
2
- export declare class RemoteChromiumCDPAutomationAPIApi implements ICredentialType {
3
- name: string;
4
- displayName: string;
5
- documentationUrl: string;
6
- properties: INodeProperties[];
7
- authenticate: IAuthenticateGeneric;
8
- test: ICredentialTestRequest;
9
- }
@@ -1,45 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RemoteChromiumCDPAutomationAPIApi = void 0;
4
- class RemoteChromiumCDPAutomationAPIApi {
5
- constructor() {
6
- this.name = 'remoteChromiumCDPAutomationAPIApi';
7
- this.displayName = 'Remote Chromium CDP Automation API';
8
- this.documentationUrl = '';
9
- this.properties = [
10
- {
11
- displayName: 'Base URL',
12
- name: 'baseUrl',
13
- type: 'string',
14
- default: 'https://api.example.com/v1',
15
- required: true,
16
- description: 'Base URL every request is sent to. Change this to point the node at a different environment (staging, self-hosted, etc.).',
17
- },
18
- {
19
- displayName: 'X-API-Key (API Key)',
20
- name: 'xAPIKey',
21
- type: 'string',
22
- typeOptions: { password: true },
23
- default: '',
24
- required: true,
25
- description: 'Sent as the "X-API-Key" header on every request.',
26
- },
27
- ];
28
- this.authenticate = {
29
- type: 'generic',
30
- properties: {
31
- headers: {
32
- 'X-API-Key': '={{$credentials.xAPIKey}}',
33
- },
34
- },
35
- };
36
- this.test = {
37
- request: {
38
- baseURL: '={{$credentials.baseUrl}}',
39
- url: '/health',
40
- method: 'GET',
41
- },
42
- };
43
- }
44
- }
45
- exports.RemoteChromiumCDPAutomationAPIApi = RemoteChromiumCDPAutomationAPIApi;