@adriangalilea/utils 2.24.0 → 2.24.1

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.
@@ -2,7 +2,7 @@
2
2
  * The house announcement ("news") template for bot mass messages, as a first-class structure:
3
3
  * compose an {@link Announcement} once, render it per language, and hand the bodies to a
4
4
  * polyglot broadcast engine. The render targets the common Telegram-markdown subset
5
- * (`# heading` → bold, `- ` bullets, `_…_` italics) most bot pipelines already convert to
5
+ * (`# heading` → bold, `- ` bullets, `*…*` italics) most bot pipelines already convert to
6
6
  * Telegram HTML — no parse_mode assumptions live here.
7
7
  *
8
8
  * Shape (each section optional, order preserved):
@@ -2,7 +2,7 @@
2
2
  * The house announcement ("news") template for bot mass messages, as a first-class structure:
3
3
  * compose an {@link Announcement} once, render it per language, and hand the bodies to a
4
4
  * polyglot broadcast engine. The render targets the common Telegram-markdown subset
5
- * (`# heading` → bold, `- ` bullets, `_…_` italics) most bot pipelines already convert to
5
+ * (`# heading` → bold, `- ` bullets, `*…*` italics) most bot pipelines already convert to
6
6
  * Telegram HTML — no parse_mode assumptions live here.
7
7
  *
8
8
  * Shape (each section optional, order preserved):
@@ -40,7 +40,7 @@ export function renderAnnouncement(a) {
40
40
  blocks.push(s.items.map((i) => `- ${i}`).join("\n"));
41
41
  }
42
42
  if (a.closer)
43
- blocks.push(`_${a.closer}_`);
43
+ blocks.push(`*${a.closer}*`);
44
44
  if (a.signature)
45
45
  blocks.push(`· ${a.signature}`);
46
46
  return blocks.join("\n\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adriangalilea/utils",
3
- "version": "2.24.0",
3
+ "version": "2.24.1",
4
4
  "description": "TypeScript utilities - logger, currency, formatter, GramIO bot plugins, and more",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",