@idemcore/n8n-nodes-idemcore 0.1.0 → 0.1.1
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 +22 -8
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,20 +1,34 @@
|
|
|
1
1
|
# @idemcore/n8n-nodes-idemcore
|
|
2
2
|
|
|
3
|
-
n8n community node for Idemcore
|
|
4
|
-
|
|
3
|
+
n8n community node for the [Idemcore](https://idemcore.net) API. Add chat-with-receipt, and offline receipt checks, to an n8n workflow.
|
|
4
|
+
|
|
5
|
+
Install guide: https://idemcore.net/integrations/n8n
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
In n8n, open Settings, Community nodes, and install `@idemcore/n8n-nodes-idemcore`.
|
|
10
|
+
|
|
11
|
+
Requires n8n 1.x and an Idemcore API key for the Chat operation. Verify Receipt runs offline and does not use the key.
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm i @idemcore/n8n-nodes-idemcore
|
|
15
|
+
```
|
|
5
16
|
|
|
6
17
|
## What it exposes
|
|
7
18
|
|
|
8
19
|
- Credential type `idemcoreApi`: API key + optional base URL.
|
|
9
|
-
- Operation **Chat**: calls `@idemcore/sdk` `chat()` and returns the answer
|
|
10
|
-
text, `receipt_id`, and the signed receipt.
|
|
20
|
+
- Operation **Chat**: calls `@idemcore/sdk` `chat()` and returns the answer text, `receipt_id`, and the signed receipt.
|
|
11
21
|
- Operation **Verify Receipt**: offline `verifyReceipt` (no API key, no model).
|
|
12
22
|
|
|
13
|
-
|
|
14
|
-
you are ready. This package does not register or publish itself.
|
|
23
|
+
## Quickstart
|
|
15
24
|
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
1. Add an Idemcore credential with your API key (optional base URL).
|
|
26
|
+
2. Add an Idemcore node, choose Chat, set the model and message, and run it.
|
|
27
|
+
3. Add a second node, choose Verify Receipt, and pass the receipt from the previous node.
|
|
28
|
+
|
|
29
|
+
## Tests
|
|
30
|
+
|
|
31
|
+
```bash
|
|
18
32
|
npm install
|
|
19
33
|
npm test
|
|
20
34
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idemcore/n8n-nodes-idemcore",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "n8n community node: Idemcore chat with a signed receipt, and offline receipt checks",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "nodes/Idemcore/Idemcore.node.js",
|
|
@@ -26,5 +26,6 @@
|
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
|
-
}
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://idemcore.net/integrations/n8n"
|
|
30
31
|
}
|