n8n-nodes-agentauth 0.1.1 → 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.
- package/README.md +50 -205
- package/dist/nodes/AgentAuth/AgentAuth.node.d.ts +1 -0
- package/dist/nodes/AgentAuth/AgentAuth.node.js +3 -8
- package/dist/nodes/AgentAuth/AgentAuth.node.js.map +1 -1
- package/dist/package.json +1 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -7
- package/dist/credentials/GithubIssuesApi.credentials.d.ts +0 -10
- package/dist/credentials/GithubIssuesApi.credentials.js +0 -37
- package/dist/credentials/GithubIssuesApi.credentials.js.map +0 -1
- package/dist/credentials/GithubIssuesOAuth2Api.credentials.d.ts +0 -9
- package/dist/credentials/GithubIssuesOAuth2Api.credentials.js +0 -54
- package/dist/credentials/GithubIssuesOAuth2Api.credentials.js.map +0 -1
- package/dist/icons/github.dark.svg +0 -3
- package/dist/icons/github.svg +0 -3
- package/dist/nodes/GithubIssues/GithubIssues.node.d.ts +0 -14
- package/dist/nodes/GithubIssues/GithubIssues.node.js +0 -101
- package/dist/nodes/GithubIssues/GithubIssues.node.js.map +0 -1
- package/dist/nodes/GithubIssues/GithubIssues.node.json +0 -18
- package/dist/nodes/GithubIssues/listSearch/getIssues.d.ts +0 -2
- package/dist/nodes/GithubIssues/listSearch/getIssues.js +0 -28
- package/dist/nodes/GithubIssues/listSearch/getIssues.js.map +0 -1
- package/dist/nodes/GithubIssues/listSearch/getRepositories.d.ts +0 -2
- package/dist/nodes/GithubIssues/listSearch/getRepositories.js +0 -31
- package/dist/nodes/GithubIssues/listSearch/getRepositories.js.map +0 -1
- package/dist/nodes/GithubIssues/listSearch/getUsers.d.ts +0 -2
- package/dist/nodes/GithubIssues/listSearch/getUsers.js +0 -29
- package/dist/nodes/GithubIssues/listSearch/getUsers.js.map +0 -1
- package/dist/nodes/GithubIssues/resources/issue/create.d.ts +0 -2
- package/dist/nodes/GithubIssues/resources/issue/create.js +0 -75
- package/dist/nodes/GithubIssues/resources/issue/create.js.map +0 -1
- package/dist/nodes/GithubIssues/resources/issue/get.d.ts +0 -2
- package/dist/nodes/GithubIssues/resources/issue/get.js +0 -15
- package/dist/nodes/GithubIssues/resources/issue/get.js.map +0 -1
- package/dist/nodes/GithubIssues/resources/issue/getAll.d.ts +0 -2
- package/dist/nodes/GithubIssues/resources/issue/getAll.js +0 -125
- package/dist/nodes/GithubIssues/resources/issue/getAll.js.map +0 -1
- package/dist/nodes/GithubIssues/resources/issue/index.d.ts +0 -2
- package/dist/nodes/GithubIssues/resources/issue/index.js +0 -76
- package/dist/nodes/GithubIssues/resources/issue/index.js.map +0 -1
- package/dist/nodes/GithubIssues/resources/issueComment/getAll.d.ts +0 -2
- package/dist/nodes/GithubIssues/resources/issueComment/getAll.js +0 -66
- package/dist/nodes/GithubIssues/resources/issueComment/getAll.js.map +0 -1
- package/dist/nodes/GithubIssues/resources/issueComment/index.d.ts +0 -2
- package/dist/nodes/GithubIssues/resources/issueComment/index.js +0 -48
- package/dist/nodes/GithubIssues/resources/issueComment/index.js.map +0 -1
- package/dist/nodes/GithubIssues/shared/descriptions.d.ts +0 -4
- package/dist/nodes/GithubIssues/shared/descriptions.js +0 -151
- package/dist/nodes/GithubIssues/shared/descriptions.js.map +0 -1
- package/dist/nodes/GithubIssues/shared/transport.d.ts +0 -2
- package/dist/nodes/GithubIssues/shared/transport.js +0 -16
- package/dist/nodes/GithubIssues/shared/transport.js.map +0 -1
- package/dist/nodes/GithubIssues/shared/utils.d.ts +0 -3
- package/dist/nodes/GithubIssues/shared/utils.js +0 -17
- package/dist/nodes/GithubIssues/shared/utils.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,247 +1,92 @@
|
|
|
1
|
-
|
|
1
|
+
# AgentAuth for n8n 🕵️♂️🍪
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**Bypass 2FA, Cloudflare, and complex login forms in n8n by syncing your authenticated local Chrome session.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
AgentAuth allows your n8n workflows to "inherit" the cookies and headers from your local Chrome browser. Instead of trying to automate the login process (which breaks with Captchas/2FA), AgentAuth simply grabs the valid session you already have.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## 🚀 Features
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
* **Bypass Everything:** If you can log in on Chrome, you can automate it in n8n.
|
|
10
|
+
* **Headless Support:** Works on remote servers (VPS, Docker, Cloud) via the `export` command.
|
|
11
|
+
* **Local & Secure:** Cookies are encrypted locally (AES-256). No data is ever sent to a third-party cloud.
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
---
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
npm create @n8n/node
|
|
16
|
-
```
|
|
15
|
+
## 📦 Installation
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
AgentAuth requires two parts:
|
|
18
|
+
1. **The Python CLI** (runs on your computer to grab cookies).
|
|
19
|
+
2. **The n8n Node** (runs in your workflow to use them).
|
|
19
20
|
|
|
21
|
+
### Step 1: Install the CLI Tool
|
|
22
|
+
On your local machine (where you have Chrome installed):
|
|
20
23
|
```bash
|
|
21
|
-
|
|
24
|
+
pip install agentauth-py
|
|
22
25
|
```
|
|
23
26
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## What's Included
|
|
27
|
-
|
|
28
|
-
This starter repository includes two example nodes to learn from:
|
|
29
|
-
|
|
30
|
-
- **[Example Node](nodes/Example/)** - A simple starter node that shows the basic structure with a custom `execute` method
|
|
31
|
-
- **[GitHub Issues Node](nodes/GithubIssues/)** - A complete, production-ready example built using the **declarative style**:
|
|
32
|
-
- **Low-code approach** - Define operations declaratively without writing request logic
|
|
33
|
-
- Multiple resources (Issues, Comments)
|
|
34
|
-
- Multiple operations (Get, Get All, Create)
|
|
35
|
-
- Two authentication methods (OAuth2 and Personal Access Token)
|
|
36
|
-
- List search functionality for dynamic dropdowns
|
|
37
|
-
- Proper error handling and typing
|
|
38
|
-
- Ideal for HTTP API-based integrations
|
|
39
|
-
|
|
40
|
-
> [!TIP]
|
|
41
|
-
> The declarative/low-code style (used in GitHub Issues) is the recommended approach for building nodes that interact with HTTP APIs. It significantly reduces boilerplate code and handles requests automatically.
|
|
42
|
-
|
|
43
|
-
Browse these examples to understand both approaches, then modify them or create your own.
|
|
44
|
-
|
|
45
|
-
## Finding Inspiration
|
|
46
|
-
|
|
47
|
-
Looking for more examples? Check out these resources:
|
|
48
|
-
|
|
49
|
-
- **[npm Community Nodes](https://www.npmjs.com/search?q=keywords:n8n-community-node-package)** - Browse thousands of community-built nodes on npm using the `n8n-community-node-package` tag
|
|
50
|
-
- **[n8n Built-in Nodes](https://github.com/n8n-io/n8n/tree/master/packages/nodes-base/nodes)** - Study the source code of n8n's official nodes for production-ready patterns and best practices
|
|
51
|
-
- **[n8n Credentials](https://github.com/n8n-io/n8n/tree/master/packages/nodes-base/credentials)** - See how authentication is implemented for various services
|
|
52
|
-
|
|
53
|
-
These are excellent resources to understand how to structure your nodes, handle different API patterns, and implement advanced features.
|
|
54
|
-
|
|
55
|
-
## Prerequisites
|
|
56
|
-
|
|
57
|
-
Before you begin, install the following on your development machine:
|
|
58
|
-
|
|
59
|
-
### Required
|
|
60
|
-
|
|
61
|
-
- **[Node.js](https://nodejs.org/)** (v22 or higher) and npm
|
|
62
|
-
- Linux/Mac/WSL: Install via [nvm](https://github.com/nvm-sh/nvm)
|
|
63
|
-
- Windows: Follow [Microsoft's NodeJS guide](https://learn.microsoft.com/en-us/windows/dev-environment/javascript/nodejs-on-windows)
|
|
64
|
-
- **[git](https://git-scm.com/downloads)**
|
|
65
|
-
|
|
66
|
-
### Recommended
|
|
67
|
-
|
|
68
|
-
- Follow n8n's [development environment setup guide](https://docs.n8n.io/integrations/creating-nodes/build/node-development-environment/)
|
|
69
|
-
|
|
70
|
-
> [!NOTE]
|
|
71
|
-
> The `@n8n/node-cli` is included as a dev dependency and will be installed automatically when you run `npm install`. The CLI includes n8n for local development, so you don't need to install n8n globally.
|
|
72
|
-
|
|
73
|
-
## Getting Started with this Starter
|
|
74
|
-
|
|
75
|
-
Follow these steps to create your own n8n community node package:
|
|
76
|
-
|
|
77
|
-
### 1. Create Your Repository
|
|
78
|
-
|
|
79
|
-
[Generate a new repository](https://github.com/n8n-io/n8n-nodes-starter/generate) from this template, then clone it:
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
git clone https://github.com/<your-organization>/<your-repo-name>.git
|
|
83
|
-
cd <your-repo-name>
|
|
27
|
+
### Step 2: Install the n8n Node
|
|
28
|
+
In your n8n instance (Settings > Community Nodes):
|
|
84
29
|
```
|
|
85
|
-
|
|
86
|
-
### 2. Install Dependencies
|
|
87
|
-
|
|
88
|
-
```bash
|
|
89
|
-
npm install
|
|
30
|
+
n8n-nodes-agentauth
|
|
90
31
|
```
|
|
91
32
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
### 3. Explore the Examples
|
|
95
|
-
|
|
96
|
-
Browse the example nodes in [nodes/](nodes/) and [credentials/](credentials/) to understand the structure:
|
|
97
|
-
|
|
98
|
-
- Start with [nodes/Example/](nodes/Example/) for a basic node
|
|
99
|
-
- Study [nodes/GithubIssues/](nodes/GithubIssues/) for a real-world implementation
|
|
100
|
-
|
|
101
|
-
### 4. Build Your Node
|
|
102
|
-
|
|
103
|
-
Edit the example nodes to fit your use case, or create new node files by copying the structure from [nodes/Example/](nodes/Example/).
|
|
104
|
-
|
|
105
|
-
> [!TIP]
|
|
106
|
-
> If you want to scaffold a completely new node package, use `npm create @n8n/node` to start fresh with the CLI's interactive generator.
|
|
33
|
+
---
|
|
107
34
|
|
|
108
|
-
|
|
35
|
+
## ⚡ Quick Start (Local n8n)
|
|
109
36
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
- `name` - Your package name (must start with `n8n-nodes-`)
|
|
113
|
-
- `author` - Your name and email
|
|
114
|
-
- `repository` - Your repository URL
|
|
115
|
-
- `description` - What your node does
|
|
116
|
-
|
|
117
|
-
Make sure your node is registered in the `n8n.nodes` array.
|
|
118
|
-
|
|
119
|
-
### 6. Develop and Test Locally
|
|
120
|
-
|
|
121
|
-
Start n8n with your node loaded:
|
|
37
|
+
*Use this if n8n is running on the same computer as your Chrome browser.*
|
|
122
38
|
|
|
39
|
+
1. **Grab a Session:**
|
|
123
40
|
```bash
|
|
124
|
-
|
|
41
|
+
agent-auth grab github.com
|
|
125
42
|
```
|
|
126
43
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
- Opens n8n in your browser (usually http://localhost:5678)
|
|
44
|
+
2. **Use it in n8n:**
|
|
45
|
+
- Add the **AgentAuth** node to your workflow.
|
|
46
|
+
- Enter the domain: `github.com`.
|
|
47
|
+
- Connect it to an **HTTP Request** node.
|
|
48
|
+
- The HTTP Request will now be authenticated as YOU.
|
|
133
49
|
|
|
134
|
-
|
|
50
|
+
---
|
|
135
51
|
|
|
136
|
-
|
|
137
|
-
> Learn more about CLI commands in the [@n8n/node-cli documentation](https://www.npmjs.com/package/@n8n/node-cli).
|
|
52
|
+
## ☁️ Remote Servers (VPS / Docker / Headless)
|
|
138
53
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
Check for errors:
|
|
54
|
+
*Use this if your n8n runs on a server where Chrome is NOT installed.*
|
|
142
55
|
|
|
56
|
+
1. **On your Local Computer:**
|
|
143
57
|
```bash
|
|
144
|
-
|
|
58
|
+
agent-auth grab linkedin.com
|
|
59
|
+
agent-auth export
|
|
145
60
|
```
|
|
146
61
|
|
|
147
|
-
|
|
148
|
-
|
|
62
|
+
2. **Copy to server:**
|
|
149
63
|
```bash
|
|
150
|
-
|
|
64
|
+
scp ~/.agent-auth/vault-export.enc user@your-server:~/
|
|
151
65
|
```
|
|
152
66
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
When ready to publish:
|
|
156
|
-
|
|
67
|
+
3. **On your Remote Server:**
|
|
157
68
|
```bash
|
|
158
|
-
|
|
69
|
+
pip install agentauth-py
|
|
70
|
+
agent-auth import ~/vault-export.enc
|
|
159
71
|
```
|
|
160
72
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
### 9. Prepare for Publishing
|
|
164
|
-
|
|
165
|
-
Before publishing:
|
|
166
|
-
|
|
167
|
-
1. **Update documentation**: Replace this README with your node's documentation. Use [README_TEMPLATE.md](README_TEMPLATE.md) as a starting point.
|
|
168
|
-
2. **Update the LICENSE**: Add your details to the [LICENSE](LICENSE.md) file.
|
|
169
|
-
3. **Test thoroughly**: Ensure your node works in different scenarios.
|
|
170
|
-
|
|
171
|
-
### 10. Publish to npm
|
|
172
|
-
|
|
173
|
-
Publish your package to make it available to the n8n community:
|
|
174
|
-
|
|
175
|
-
```bash
|
|
176
|
-
npm publish
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
Learn more about [publishing to npm](https://docs.npmjs.com/packages-and-modules/contributing-packages-to-the-registry).
|
|
180
|
-
|
|
181
|
-
### 11. Submit for Verification (Optional)
|
|
182
|
-
|
|
183
|
-
Get your node verified for n8n Cloud:
|
|
184
|
-
|
|
185
|
-
1. Ensure your node meets the [requirements](https://docs.n8n.io/integrations/creating-nodes/deploy/submit-community-nodes/):
|
|
186
|
-
- Uses MIT license ✅ (included in this starter)
|
|
187
|
-
- No external package dependencies
|
|
188
|
-
- Follows n8n's design guidelines
|
|
189
|
-
- Passes quality and security review
|
|
190
|
-
|
|
191
|
-
2. Submit through the [n8n Creator Portal](https://creators.n8n.io/nodes)
|
|
192
|
-
|
|
193
|
-
**Benefits of verification:**
|
|
194
|
-
|
|
195
|
-
- Available directly in n8n Cloud
|
|
196
|
-
- Discoverable in the n8n nodes panel
|
|
197
|
-
- Verified badge for quality assurance
|
|
198
|
-
- Increased visibility in the n8n community
|
|
199
|
-
|
|
200
|
-
## Available Scripts
|
|
201
|
-
|
|
202
|
-
This starter includes several npm scripts to streamline development:
|
|
203
|
-
|
|
204
|
-
| Script | Description |
|
|
205
|
-
| --------------------- | ---------------------------------------------------------------- |
|
|
206
|
-
| `npm run dev` | Start n8n with your node and watch for changes (runs `n8n-node dev`) |
|
|
207
|
-
| `npm run build` | Compile TypeScript to JavaScript for production (runs `n8n-node build`) |
|
|
208
|
-
| `npm run build:watch` | Build in watch mode (auto-rebuild on changes) |
|
|
209
|
-
| `npm run lint` | Check your code for errors and style issues (runs `n8n-node lint`) |
|
|
210
|
-
| `npm run lint:fix` | Automatically fix linting issues when possible (runs `n8n-node lint --fix`) |
|
|
211
|
-
| `npm run release` | Create a new release (runs `n8n-node release`) |
|
|
212
|
-
|
|
213
|
-
> [!TIP]
|
|
214
|
-
> These scripts use the [@n8n/node-cli](https://www.npmjs.com/package/@n8n/node-cli) under the hood. You can also run CLI commands directly, e.g., `npx n8n-node dev`.
|
|
215
|
-
|
|
216
|
-
## Troubleshooting
|
|
217
|
-
|
|
218
|
-
### My node doesn't appear in n8n
|
|
219
|
-
|
|
220
|
-
1. Make sure you ran `npm install` to install dependencies
|
|
221
|
-
2. Check that your node is listed in `package.json` under `n8n.nodes`
|
|
222
|
-
3. Restart the dev server with `npm run dev`
|
|
223
|
-
4. Check the console for any error messages
|
|
224
|
-
|
|
225
|
-
### Linting errors
|
|
226
|
-
|
|
227
|
-
Run `npm run lint:fix` to automatically fix most common issues. For remaining errors, check the [n8n node development guidelines](https://docs.n8n.io/integrations/creating-nodes/).
|
|
73
|
+
Now your remote n8n instance can access `linkedin.com` sessions.
|
|
228
74
|
|
|
229
|
-
|
|
75
|
+
---
|
|
230
76
|
|
|
231
|
-
|
|
77
|
+
## 🔒 Security
|
|
232
78
|
|
|
233
|
-
|
|
79
|
+
* **Local Only:** No external API calls.
|
|
80
|
+
* **Encryption:** Vault encrypted with AES-256.
|
|
81
|
+
* **Open Source:** 100% transparent code.
|
|
234
82
|
|
|
235
|
-
|
|
236
|
-
- **[n8n Community Forum](https://community.n8n.io/)** - Get help and share your nodes
|
|
237
|
-
- **[@n8n/node-cli Documentation](https://www.npmjs.com/package/@n8n/node-cli)** - CLI tool reference
|
|
238
|
-
- **[n8n Creator Portal](https://creators.n8n.io/nodes)** - Submit your node for verification
|
|
239
|
-
- **[Submit Community Nodes Guide](https://docs.n8n.io/integrations/creating-nodes/deploy/submit-community-nodes/)** - Verification requirements and process
|
|
83
|
+
---
|
|
240
84
|
|
|
241
|
-
##
|
|
85
|
+
## Links
|
|
242
86
|
|
|
243
|
-
|
|
87
|
+
* **Main Repo:** https://github.com/jacobgadek/agent-auth
|
|
88
|
+
* **PyPI:** https://pypi.org/project/agentauth-py/
|
|
244
89
|
|
|
245
90
|
## License
|
|
246
91
|
|
|
247
|
-
|
|
92
|
+
MIT
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
2
|
export declare class AgentAuth implements INodeType {
|
|
3
3
|
description: INodeTypeDescription;
|
|
4
|
+
usableAsTool: boolean;
|
|
4
5
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
6
|
}
|
|
@@ -10,19 +10,13 @@ class AgentAuth {
|
|
|
10
10
|
icon: { light: 'file:../../icons/agentauth.svg', dark: 'file:../../icons/agentauth.dark.svg' },
|
|
11
11
|
group: ['input'],
|
|
12
12
|
version: 1,
|
|
13
|
-
|
|
13
|
+
usableAsTool: true,
|
|
14
|
+
description: 'Parse cookies JSON and output for use in HTTP Request nodes',
|
|
14
15
|
defaults: {
|
|
15
16
|
name: 'AgentAuth',
|
|
16
17
|
},
|
|
17
18
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
18
19
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
19
|
-
usableAsTool: true,
|
|
20
|
-
credentials: [
|
|
21
|
-
{
|
|
22
|
-
name: 'agentAuthVaultPasswordApi',
|
|
23
|
-
required: true,
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
20
|
properties: [
|
|
27
21
|
{
|
|
28
22
|
displayName: 'Domain',
|
|
@@ -47,6 +41,7 @@ class AgentAuth {
|
|
|
47
41
|
},
|
|
48
42
|
],
|
|
49
43
|
};
|
|
44
|
+
this.usableAsTool = true;
|
|
50
45
|
}
|
|
51
46
|
async execute() {
|
|
52
47
|
const items = this.getInputData();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentAuth.node.js","sourceRoot":"","sources":["../../../nodes/AgentAuth/AgentAuth.node.ts"],"names":[],"mappings":";;;AAMA,+CAAuE;AAEvE,MAAa,SAAS;IAAtB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,EAAE,KAAK,EAAE,gCAAgC,EAAE,IAAI,EAAE,qCAAqC,EAAE;YAC9F,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"AgentAuth.node.js","sourceRoot":"","sources":["../../../nodes/AgentAuth/AgentAuth.node.ts"],"names":[],"mappings":"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"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-agentauth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "n8n node for AgentAuth - secure session management for AI agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "",
|
|
@@ -30,13 +30,7 @@
|
|
|
30
30
|
"n8n": {
|
|
31
31
|
"n8nNodesApiVersion": 1,
|
|
32
32
|
"strict": true,
|
|
33
|
-
"credentials": [
|
|
34
|
-
"dist/credentials/GithubIssuesApi.credentials.js",
|
|
35
|
-
"dist/credentials/GithubIssuesOAuth2Api.credentials.js",
|
|
36
|
-
"dist/credentials/AgentAuthVaultPasswordApi.credentials.js"
|
|
37
|
-
],
|
|
38
33
|
"nodes": [
|
|
39
|
-
"dist/nodes/GithubIssues/GithubIssues.node.js",
|
|
40
34
|
"dist/nodes/AgentAuth/AgentAuth.node.js"
|
|
41
35
|
]
|
|
42
36
|
},
|