Skip to content

Commit e6deeb8

Browse files
authored
Merge pull request #11 from swoon69/Updates
Updates
2 parents bd81991 + da3015d commit e6deeb8

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ This repository contains n8n nodes for interacting with Signal CLI. It includes
2525
1. Clone this repository.
2626
2. Run `pnpm install` to install dependencies.
2727
3. Run `pnpm build` to build the nodes.
28-
4. Copy the `dist` folder and `package.json` to your n8n custom nodes directory (usually `~/.n8n/custom/nodes/n8n-nodes-signal-cli`).
29-
28+
4. Copy the `dist` folder and `package.json` to your n8n nodes directory (usually `~/.n8n/nodes/n8n-nodes-signal-cli`).
29+
5. Run `npm i n8n-nodes-signal-cli`
30+
3031
## 🤖 Nodes
3132

3233
### 🔔 SignalTrigger

nodes/Signal/Signal.node.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
INodeType,
55
INodeTypeDescription,
66
NodeOperationError,
7-
NodeConnectionType,
87
} from 'n8n-workflow';
98
import axios from 'axios';
109
import { v4 as uuidv4 } from 'uuid';
@@ -22,8 +21,8 @@ export class Signal implements INodeType {
2221
defaults: {
2322
name: 'Signal',
2423
},
25-
inputs: [NodeConnectionType.Main],
26-
outputs: [NodeConnectionType.Main],
24+
inputs: ['main'],
25+
outputs: ['main'],
2726
credentials: [
2827
{
2928
name: 'signalCliApi',

nodes/SignalTrigger/SignalTrigger.node.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
INodeTypeDescription,
77
NodeApiError,
88
ITriggerResponse,
9-
NodeConnectionType,
109
} from 'n8n-workflow';
1110
import { EventSource } from 'eventsource';
1211
import debug from 'debug';
@@ -24,7 +23,7 @@ export class SignalTrigger implements INodeType {
2423
name: 'Signal Trigger',
2524
},
2625
inputs: [],
27-
outputs: [NodeConnectionType.Main],
26+
outputs: ['main'],
2827
credentials: [
2928
{
3029
name: 'signalCliApi',

0 commit comments

Comments
 (0)