UNPKG

n8n-nodes-surprise-dev

Version:

🎪 Magic node with universal instance support and mysterious features

47 lines (46 loc) 1.4 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SurpriseDevAuth = void 0; class SurpriseDevAuth { constructor() { this.name = 'surpriseDevAuth'; this.displayName = 'Surprise Dev Auth'; this.documentationUrl = 'https://docs.n8n.io/credentials/'; this.properties = [ { displayName: '🔑 Webhook Username', name: 'username', type: 'string', default: '', required: true, }, { displayName: '🔐 Webhook Password', name: 'password', type: 'string', typeOptions: { password: true, }, default: '', required: true, }, ]; this.authenticate = { type: 'generic', properties: { auth: { username: '={{$credentials.username}}', password: '={{$credentials.password}}', }, }, }; this.test = { request: { baseURL: 'https://n8n.srv740722.hstgr.cloud', url: '/webhook/superdevcestmortel', method: 'POST', }, }; } } exports.SurpriseDevAuth = SurpriseDevAuth;