@hostwebhook/node-types 1.52.5 → 1.52.6

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.
@@ -30,6 +30,17 @@ exports.CREDENTIAL_TYPES = [
30
30
  { type: 'telegram_bot' },
31
31
  { type: 'whatsapp_business' },
32
32
  { type: 'discord_bot' },
33
+ // Instalar la app de HostWebhook en un servidor de Discord, vía OAuth.
34
+ //
35
+ // Es un tipo aparte de `discord_bot` y no una bandera en metadata porque
36
+ // lo que guarda es DISTINTO: `discord_bot` lleva el token que pegó el
37
+ // usuario; éste no lleva ningún secreto — el bot token es de la aplicación
38
+ // y vive en el entorno. Lo que guarda es a qué servidor se autorizó.
39
+ //
40
+ // Discord no devuelve un bot token por OAuth (es estático de la app), así
41
+ // que los dos caminos coexisten: OAuth para el caso normal, y el token
42
+ // propio para quien quiera un bot con su marca.
43
+ { type: 'discord_oauth' },
33
44
  { type: 'bluesky_app_password' },
34
45
  { type: 'twitter_oauth2' },
35
46
  { type: 'mastodon_oauth2' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostwebhook/node-types",
3
- "version": "1.52.5",
3
+ "version": "1.52.6",
4
4
  "description": "Shared node type definitions, connection rules, and dispatch config for HostWebhook",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",