Skip to content

Commit cf37545

Browse files
authored
update package.json dependencies (#33)
* updated package.json dependencies * update package-lock.json * fix linting errors * unpinned n8n-core/n8n-workflow dependencies (use latest) * removed color prop (only core nodes with fa icon)
1 parent 40a1d2e commit cf37545

File tree

5 files changed

+393
-580
lines changed

5 files changed

+393
-580
lines changed

credentials/HttpBinApi.credentials.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ export class HttpBinApi implements ICredentialType {
2828
// stating how this credential is injected as part of the request
2929
// An example is the Http Request node that can make generic calls
3030
// reusing this credential
31-
authenticate = {
31+
authenticate: IAuthenticateGeneric = {
3232
type: 'generic',
3333
properties: {
3434
headers: {
3535
Authorization: '={{"Bearer " + $credentials.token}}',
3636
},
3737
},
38-
} as IAuthenticateGeneric;
38+
};
3939

4040
// The block below tells how this credential can be tested
4141
test: ICredentialTestRequest = {

nodes/HttpBin/HttpBin.node.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export class HttpBin implements INodeType {
1212
description: 'Interact with HttpBin API',
1313
defaults: {
1414
name: 'HttpBin',
15-
color: '#3b4151',
1615
},
1716
inputs: ['main'],
1817
outputs: ['main'],

nodes/HttpBin/HttpVerbDescription.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ export const httpVerbOperations: INodeProperties[] = [
4545
// We do that by adding `operation: ["get"]` to `displayOptions.show`
4646
const getOperation: INodeProperties[] = [
4747
{
48+
displayName: 'Type of Data',
4849
name: 'typeofData',
4950
default: 'queryParameter',
5051
description: 'Select type of data to send [Query Parameters]',
51-
displayName: 'Type of Data',
5252
displayOptions: {
5353
show: {
5454
resource: ['httpVerb'],
@@ -65,10 +65,10 @@ const getOperation: INodeProperties[] = [
6565
required: true,
6666
},
6767
{
68+
displayName: 'Query Parameters',
6869
name: 'arguments',
6970
default: {},
7071
description: "The request's query parameters",
71-
displayName: 'Query Parameters',
7272
displayOptions: {
7373
show: {
7474
resource: ['httpVerb'],
@@ -116,10 +116,10 @@ const getOperation: INodeProperties[] = [
116116
// We do that by adding `operation: ["delete"]` to `displayOptions.show`
117117
const deleteOperation: INodeProperties[] = [
118118
{
119+
displayName: 'Type of Data',
119120
name: 'typeofData',
120121
default: 'queryParameter',
121122
description: 'Select type of data to send [Query Parameter Arguments, JSON-Body]',
122-
displayName: 'Type of Data',
123123
displayOptions: {
124124
show: {
125125
resource: ['httpVerb'],
@@ -140,10 +140,10 @@ const deleteOperation: INodeProperties[] = [
140140
type: 'options',
141141
},
142142
{
143+
displayName: 'Query Parameters',
143144
name: 'arguments',
144145
default: {},
145146
description: "The request's query parameters",
146-
displayName: 'Query Parameters',
147147
displayOptions: {
148148
show: {
149149
resource: ['httpVerb'],
@@ -187,10 +187,10 @@ const deleteOperation: INodeProperties[] = [
187187
},
188188
},
189189
{
190+
displayName: 'JSON Object',
190191
name: 'arguments',
191192
default: {},
192193
description: "The request's JSON properties",
193-
displayName: 'JSON Object',
194194
displayOptions: {
195195
show: {
196196
resource: ['httpVerb'],

0 commit comments

Comments
 (0)