@theholocron/holocron-plugin-discord 5.0.0-alpha.429 → 5.0.0-alpha.430

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/dist/index.d.mts CHANGED
@@ -7,7 +7,7 @@ export declare const resolveBotToken: import("@theholocron/cli").TokenResolver;
7
7
  /** Resolves the Discord application's OAuth client secret used to sign members in, from `HOLOCRON_DISCORD_CLIENT_SECRET`, `DISCORD_CLIENT_SECRET` or the keyring. */
8
8
  export declare const resolveClientSecret: import("@theholocron/cli").TokenResolver;
9
9
  /**
10
- * Every token this plugin takes, for `holocron doctor tokens`. `verifyToken` checks a webhook URL, so the bot token has
10
+ * Every token this plugin takes, for `holocron doctor secrets --verify`. `verifyToken` checks a webhook URL, so the bot token has
11
11
  * its own `verify` (it asks for the bot's application) and the OAuth client secret, which cannot be checked without a
12
12
  * sign-in, is listed but not handed to it. The webhook is the last resort for a post that names no
13
13
  * channel, alias or `defaultChannel`, so nothing needs it by default (`optional`).
package/dist/index.mjs CHANGED
@@ -44,7 +44,7 @@ const resolveClientSecret = createResolveToken({
44
44
  errorMessage: "no Discord client secret found. Set HOLOCRON_DISCORD_CLIENT_SECRET (or DISCORD_CLIENT_SECRET), or run: holocron new token discord.holonet.oauth <secret> — it is the client secret from the developer portal (OAuth2 → Reset Secret), which the API cannot create or read."
45
45
  });
46
46
  /**
47
- * Every token this plugin takes, for `holocron doctor tokens`. `verifyToken` checks a webhook URL, so the bot token has
47
+ * Every token this plugin takes, for `holocron doctor secrets --verify`. `verifyToken` checks a webhook URL, so the bot token has
48
48
  * its own `verify` (it asks for the bot's application) and the OAuth client secret, which cannot be checked without a
49
49
  * sign-in, is listed but not handed to it. The webhook is the last resort for a post that names no
50
50
  * channel, alias or `defaultChannel`, so nothing needs it by default (`optional`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/holocron-plugin-discord",
3
- "version": "5.0.0-alpha.429",
3
+ "version": "5.0.0-alpha.430",
4
4
  "description": "Holocron plugin for Discord. Implements the notifications capability via Discord incoming webhooks.",
5
5
  "keywords": [
6
6
  "discord",
@@ -41,19 +41,19 @@
41
41
  "tsx": "4.23.15",
42
42
  "typescript": "^5.9.3",
43
43
  "vitest": "^5.1.0",
44
- "@theholocron/cli": "5.0.0-alpha.429",
44
+ "@theholocron/cli": "5.0.0-alpha.430",
45
+ "@theholocron/discord-client": "^1.58.0-alpha.29",
45
46
  "@theholocron/eslint-config": "^8.9.0-alpha.17",
46
47
  "@theholocron/http-client": "^1.58.0-alpha.29",
47
- "@theholocron/discord-client": "^1.58.0-alpha.29",
48
48
  "@theholocron/misc-utils": "^1.17.0-alpha.4",
49
49
  "@theholocron/tsconfig": "^8.9.0-alpha.17",
50
- "@theholocron/vitest-config": "^8.9.0-alpha.17",
51
- "@theholocron/tsdown-config": "^8.9.0-alpha.17"
50
+ "@theholocron/tsdown-config": "^8.9.0-alpha.17",
51
+ "@theholocron/vitest-config": "^8.9.0-alpha.17"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@theholocron/discord-client": "^1.50.0",
55
55
  "@theholocron/misc-utils": "^1.16.0",
56
- "@theholocron/cli": "5.0.0-alpha.429"
56
+ "@theholocron/cli": "5.0.0-alpha.430"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=22"