stitchkit 0.123.1 → 0.123.3

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/browser/client-bound.d.ts +19 -0
  3. package/dist/browser/client-bound.d.ts.map +1 -0
  4. package/dist/browser/client-url.d.ts +2 -0
  5. package/dist/browser/client-url.d.ts.map +1 -1
  6. package/dist/browser/client.d.ts +20 -10
  7. package/dist/browser/client.d.ts.map +1 -1
  8. package/dist/contract/client-types.d.ts +13 -8
  9. package/dist/contract/client-types.d.ts.map +1 -1
  10. package/dist/entrypoints/http.js +1 -1
  11. package/dist/entrypoints/index.js +1 -1
  12. package/dist/entrypoints/remote.js +1 -1
  13. package/dist/entrypoints/server.js +3 -3
  14. package/dist/entrypoints/telegram/voice.d.ts +2 -0
  15. package/dist/entrypoints/telegram/voice.d.ts.map +1 -0
  16. package/dist/entrypoints/telegram/voice.js +18 -0
  17. package/dist/entrypoints/telegram.d.ts +1 -0
  18. package/dist/entrypoints/telegram.d.ts.map +1 -1
  19. package/dist/entrypoints/telegram.js +43 -0
  20. package/dist/entrypoints/testing.js +1 -1
  21. package/dist/entrypoints/tracking/performance.js +3 -3
  22. package/dist/index-0jdempdr.js +69 -0
  23. package/dist/{index-mdyhr36s.js → index-zbzagr9k.js} +127 -61
  24. package/dist/telegram/voice-waveform-pcm.d.ts +21 -0
  25. package/dist/telegram/voice-waveform-pcm.d.ts.map +1 -0
  26. package/dist/telegram/voice-waveform.d.ts +67 -0
  27. package/dist/telegram/voice-waveform.d.ts.map +1 -0
  28. package/llms/stitchkit.2.txt +36 -174
  29. package/llms/stitchkit.3.txt +186 -0
  30. package/llms/stitchkit.txt +6 -3
  31. package/llms/telegram-voice.txt +29 -0
  32. package/llms/telegram.2.txt +71 -0
  33. package/llms/telegram.txt +51 -59
  34. package/llms-full.txt +101 -2
  35. package/llms.txt +4 -3
  36. package/package.json +5 -1
package/llms-full.txt CHANGED
@@ -69,9 +69,10 @@ own, recorded as an ADR.
69
69
  | `stitchkit/process/owner-loss` | bundled server entry (Bun, POSIX) | evolving | narrow bootstrap that keeps the process runner lazy while carrying its owner-loss guard in a single-file bundle |
70
70
  | `stitchkit/files/packaging` | build time (Bun or Node) | evolving | installed native asset graph, integrity, Bun packaging plugin and the artifact loader check; a client bundled into one self-contained, hashed and verified file; no runtime install policy |
71
71
  | `stitchkit/files` | server (Bun or Node) | stable | peer-free managed local-file boundary |
72
- | `stitchkit/telegram` | server (Bun or Node) | evolving | peer-free Telegram platform primitives — Mini App `initData` verification, send-failure classification, one outbound budget per bot token with weighted albums and per-chat 429 pauses, resumable broadcasts, the operator channel with dedupe, a Bot API transport that separates a request that never left from an unknown outcome, local Bot API files, webhook ownership and durable webhook update intake |
72
+ | `stitchkit/telegram` | server (Bun or Node) | evolving | peer-free Telegram platform primitives — Mini App `initData` verification, send-failure classification, one outbound budget per bot token with weighted albums and per-chat 429 pauses, resumable broadcasts, the operator channel with dedupe, a Bot API transport that separates a request that never left from an unknown outcome, local Bot API files, the waveform of a voice message read from its PCM, webhook ownership and durable webhook update intake |
73
73
  | `stitchkit/telegram/grammy` | server (Bun or Node) | evolving | the token's outbound budget as one grammY client transformer — a 429 that comes back as a response pauses its chat, and a cancelled wait is a request that never left |
74
74
  | `stitchkit/telegram/html` | browser and server | evolving | Telegram's HTML as a tree — clean any markup to what Telegram accepts, cut long text into valid parts by what the reader sees, check markup before it is sent |
75
+ | `stitchkit/telegram/voice` | browser and server | evolving | the waveform of a voice message as one format — packed for `sendVoice` the way Telegram Desktop scales it, unpacked to draw it, a `getMe` read of whether the server takes it |
75
76
  | `stitchkit/telegram/screens` | server (Bun or Node) | evolving | a bot's menus as declared screens over grammY — typed paths, actions and input, message reconciliation, state in any `StorageAdapter`, a test chat |
76
77
  | `stitchkit/tracking` | browser **and** server | evolving | visitor-tracking mechanics — `createTrackingClient`, the tab-shared outbox, the page-leave beacon, attribution, the contract factory; no event vocabulary, no React |
77
78
  | `stitchkit/tracking/contract` | browser **and** server | evolving | the wire shapes — the contract factory, event and visit schemas, the performance sample and its trust threshold; brings `zod` |
@@ -228,6 +229,7 @@ map — feature → packages:
228
229
  | grammY lifecycle adapters (`stitchkit/application/grammy`) | `grammy` |
229
230
  | Telegram platform primitives (`stitchkit/telegram`) | — (peer-free) |
230
231
  | Telegram message markup (`stitchkit/telegram/html`) | — (peer-free) |
232
+ | Telegram voice waveforms (`stitchkit/telegram/voice`) | — (peer-free) |
231
233
  | Telegram grammY client transformer (`stitchkit/telegram/grammy`) | `grammy` (types only; the bot brings it) |
232
234
  | Telegram screens (`stitchkit/telegram/screens`) | `grammy` (types only; the bot brings it) |
233
235
  | OpenTelemetry gauges (`stitchkit/application/opentelemetry`) | `@opentelemetry/api` |
@@ -3615,6 +3617,8 @@ interface ContractClientConfig {
3615
3617
  * they are not also sent there (the endpoint's own path `:params` are
3616
3618
  * stripped automatically; list any *extra* keys here). */
3617
3619
  stripPrefixKeys?: string[]
3620
+ /** Arguments given once for every call — see "Bound arguments" below. */
3621
+ bound?: Record<string, unknown>
3618
3622
  }
3619
3623
  ```
3620
3624
 
@@ -3635,6 +3639,36 @@ List it in `stripPrefixKeys` so it lands in the URL **and is removed from the
3635
3639
  query/body** — otherwise it would be sent twice. Endpoint path `:params` are
3636
3640
  stripped for you; only extra prefix keys need listing.
3637
3641
 
3642
+ ### Bound arguments
3643
+
3644
+ A client that always calls with the same value — a site that knows its `slug` for the whole page
3645
+ load, a tenant-scoped service — states the value once in `bound`. The key leaves the arguments of
3646
+ every method, in the type and at the call, and a method whose every argument is bound is called
3647
+ with none:
3648
+
3649
+ ```ts
3650
+ // site contract: GET /:slug/session, GET /:slug/courses/:courseSlug, POST /:slug/orders { item }
3651
+ const site = createClient(siteContract, http, { bound: { slug } })
3652
+
3653
+ site.session() // GET /api/site/acme/session
3654
+ site.course({ courseSlug }) // GET /api/site/acme/courses/intro
3655
+ site.order({ item: 'book' }) // POST /api/site/acme/orders body: { item }
3656
+ site.session.withOptions({ signal })
3657
+ site.course({ slug, courseSlug }) // type error: `slug` is not an argument any more
3658
+ ```
3659
+
3660
+ - The value travels where the caller's argument would: a path parameter, a key `pathPrefix`
3661
+ consumes, a query parameter of a `GET` / `DELETE`, a body or multipart field.
3662
+ - An endpoint receives a bound key only if it declares it — as a path parameter, a prefix key, or a
3663
+ field of its `params` / `input` object schema. A bound `lang` reaches the operations whose input
3664
+ has `lang` and is not added to the others.
3665
+ - A bound value wins over the same key passed by an untyped caller.
3666
+ - `createClients`, `createScopedClients` (per scope), `createUrlBuilder`, `createUrlBuilders` and
3667
+ `createScopedUrlBuilders` take the same option. A URL builder binds what a URL carries: path and
3668
+ prefix keys, and the input of a `GET` / `DELETE`.
3669
+ - Write the object in place (`{ bound: { slug } }`): the keys are read from its type, so a value
3670
+ typed `Record<string, string>` names no key and binds nothing in the types.
3671
+
3638
3672
  ## React data layer
3639
3673
 
3640
3674
  stitchkit does not ship a hook engine. Pair the typed client with
@@ -16489,6 +16523,7 @@ way: [ADR 0201](../decisions/0201-a-telegram-bot-is-assembled-from-primitives.md
16489
16523
  | the operator's chat: product events, apart from the journal | `createTelegramOperatorChannel` |
16490
16524
  | a broadcast that survives crashes, deploys and Ctrl-C | `runTelegramBroadcast` |
16491
16525
  | a file the local Bot API server wrote to disk | `createTelegramLocalFiles` |
16526
+ | the waveform of a voice message: packed for `sendVoice`, drawn in a page | `readTelegramVoiceWaveform`, `stitchkit/telegram/voice` — [below](#voice-waveforms) |
16492
16527
  | why a send was refused | `classifyTelegramSendFailure` — [auth and errors](auth-and-errors.md#telegram-mini-apps) |
16493
16528
  | Mini App `initData` | `verifyTelegramInitData` — [auth and errors](auth-and-errors.md#telegram-mini-apps) |
16494
16529
  | one Bot API call without a bot library | `callTelegramBotApi` |
@@ -17080,6 +17115,53 @@ answers whether the directory is there to read and delete from; a resource that
17080
17115
  throws on `{ ready: false }` in `start` keeps the bot from answering before it
17081
17116
  can read its media.
17082
17117
 
17118
+ ## Voice waveforms
17119
+
17120
+ A voice message carries its waveform: the bars under the play button, 100
17121
+ levels of 5 bits. The public Bot API takes no waveform in `sendVoice`, so
17122
+ Telegram draws its own. A local Bot API server that takes one says so in
17123
+ `getMe` with `supports_voice_waveform: true` and `voice_waveform_version: 1`.
17124
+
17125
+ The waveform is computed from a decoded side copy of the recording. The file
17126
+ being sent stays byte for byte what it was:
17127
+
17128
+ ```ts
17129
+ import { readTelegramVoiceWaveform } from 'stitchkit/telegram'
17130
+ import { readTelegramVoiceWaveformSupport } from 'stitchkit/telegram/voice'
17131
+
17132
+ // ffmpeg -nostdin -i voice.ogg -map 0:a:0 -ac 1 -ar 8000 -f s16le wave.pcm
17133
+ const waveform = await readTelegramVoiceWaveform(pcmPath, { signal })
17134
+
17135
+ if (!readTelegramVoiceWaveformSupport(await bot.api.getMe()).supported) {
17136
+ throw new Error('this Bot API server draws its own waveform')
17137
+ }
17138
+ const options = { duration, waveform } satisfies Parameters<typeof bot.api.sendVoice>[2] & {
17139
+ waveform: string
17140
+ }
17141
+ await bot.api.sendVoice(chatId, new InputFile(oggPath), options)
17142
+ ```
17143
+
17144
+ The levels follow Telegram Desktop. Each of the 100 parts keeps its loudest
17145
+ sample, and the scale is 1.8 times the mean of those peaks, never below 2500
17146
+ of 16-bit PCM. A loud passage does not flatten the quiet ones to nothing, and
17147
+ a quiet recording is not stretched to look loud. Silence stays at zero. The
17148
+ PCM is read in chunks, so a long recording is never held in memory; at 8 kHz,
17149
+ six hours of audio is under 350 MB of PCM. A file with no sample or one cut
17150
+ inside a sample is refused with `TelegramVoiceWaveformError` (`empty-pcm`,
17151
+ `truncated-pcm`), and the waveform is never made up.
17152
+
17153
+ Whether a server that does not declare support still gets the voice is the
17154
+ bot's decision. It can refuse to send, or send without the field and let
17155
+ Telegram draw the bars. `readTelegramVoiceWaveformSupport` reads any answer:
17156
+ `supported` means version 1, and `version` is what the server declared, or
17157
+ `null` when it declared nothing.
17158
+
17159
+ `stitchkit/telegram/voice` has no peer and touches no file, so a page drawing
17160
+ the bars reads the same format: `unpackTelegramVoiceWaveform(waveform)` gives
17161
+ the levels `0`–`31`, 100 for a waveform packed here and as many as it holds
17162
+ for one Telegram drew itself. `packTelegramVoiceWaveform(peaks)` packs 100
17163
+ peaks already found by other means.
17164
+
17083
17165
 
17084
17166
  ==============================================================================
17085
17167
  # Guide: Telegram screens (docs/guide/telegram-screens.md)
@@ -23034,7 +23116,7 @@ The browser-and-server entrypoint. Re-exports everything from
23034
23116
  | `uploadInChunks` | function | send a file larger than one request as `init` → parts → `finalize` through three calls the app owns; client-minted id, repeats of a part on a failure that may pass, `finalize` never repeated, cancel checked between parts, progress in file bytes — [guide](../guide/client.md#chunked-uploads) |
23035
23117
  | `ChunkedUploadConfig` / `ChunkedUploadStart` / `ChunkedUploadPart` / `ChunkedUploadProgress` | _type_ | the driver's file, part size, retries and three calls; what `init` declares; one part; progress `{ sentBytes, totalBytes, index, chunkCount, attempt }` |
23036
23118
  | `ChunkSource` | _type_ | what the driver reads a file through — `size` and `slice(start, end)`; a `Blob` is one, so is a platform file that is not (an Expo `File`), and a part's `bytes` is what its `slice` returns |
23037
- | `ContractClientConfig` | _type_ | per-tenant / resource-scoped client config — dynamic `pathPrefix` + `stripPrefixKeys` ([guide](../guide/client.md#contractclientconfig--per-tenant--resource-scoped-clients)) |
23119
+ | `ContractClientConfig` | _type_ | per-tenant / resource-scoped client config — dynamic `pathPrefix` + `stripPrefixKeys`, and `bound` arguments given once for every call ([guide](../guide/client.md#contractclientconfig--per-tenant--resource-scoped-clients)) |
23038
23120
  | `contractEndpointMatchers` | function | compile exact pathname matchers for selected HTTP contract operations and expected-401 policy |
23039
23121
  | `PathPrefixArgs` | _type_ | required string-valued keys exposed to a typed dynamic `pathPrefix` callback |
23040
23122
  | `createHttpClient` | function | the Ky-based HTTP transport; on Next.js SSR its first attempt stays request-memoizable while every retry is a distinct transport attempt — [guide](../guide/client.md#createhttpclient) |
@@ -25137,6 +25219,7 @@ injected grammY bot. → ADR 0143, ADR 0201, ADR 0274 — [guide](../guide/teleg
25137
25219
  | `telegramOperatorSender` / `TelegramOperatorSenderConfig` | function / _type_ | the standard `send`: `sendMessage` into the chat and topic, plain text unless `parseMode`; with `'HTML'` the markup is cleaned and cut by what it shows, so the channel's cut never leaves a tag open |
25138
25220
  | `createTelegramLocalFiles` | function | files the local Bot API server wrote under `<root>/<token>/`: `resolve(file_path)` and `remove(file_path)` only inside the bot's directory, judged on real paths so a link is judged by where it leads; `check()` for readiness. Recommended root variable: `BOT_API_FILES_ROOT` |
25139
25221
  | `TelegramLocalFilesConfig` / `TelegramLocalFiles` / `TelegramLocalFilesCheck` / `TelegramLocalFileError` / `TelegramLocalFileRefusal` | _type_ / class | `root`, `token`; refusals `root-not-absolute` / `bot-directory-unavailable` / `outside-bot-directory` / `missing` / `not-a-file`, never carrying the path or the token |
25222
+ | `readTelegramVoiceWaveform` / `ReadTelegramVoiceWaveformOptions` | function / _type_ | the packed waveform `sendVoice` takes, from a mono 16-bit little-endian PCM side copy of the recording, read in chunks; `signal` stops it between chunks; an empty or cut file is refused with `TelegramVoiceWaveformError` (`stitchkit/telegram/voice`), never named in it — [guide](../guide/telegram.md#voice-waveforms) |
25140
25223
  | `callTelegramBotApi` / `TelegramBotApiCall` / `TelegramBotApiError` | function / _type_ / class | one Bot API method over `fetch`; a refusal keeps `error_code`, `description` and `parameters` for the classifier, and no error names the URL |
25141
25224
  | `TELEGRAM_BOT_TOKEN_PATTERN` / `redactTelegramBotToken` | constant / function | the secret half of a bot token — the bot's id before the colon is not matched; `redact` and every logger on it mask it already, `redactTelegramBotToken(text)` masks every token in a string to `123456:[redacted]` |
25142
25225
  | `claimTelegramWebhook` | function | set the webhook only where it already points here, or by naming the host it is taken from; confirm Telegram holds it; pending updates kept unless `dropPendingUpdates` |
@@ -25193,6 +25276,22 @@ parse serves a server send and a browser preview. → ADR 0213 —
25193
25276
 
25194
25277
  ---
25195
25278
 
25279
+ ## `stitchkit/telegram/voice`
25280
+
25281
+ The waveform of a voice message — the bars under its play button — as one format for the server
25282
+ that packs it and the page that draws it. No peer, no file, no network. →
25283
+ [guide](../guide/telegram.md#voice-waveforms)
25284
+
25285
+ | Export | Kind | Summary |
25286
+ |--------|------|---------|
25287
+ | `packTelegramVoiceWaveform` | function | the 100 loudest absolute samples of 100 equal parts (`0`–`32768`) into the base64 of 63 bytes `sendVoice` takes: 5-bit levels packed little-endian, scaled like Telegram Desktop by 1.8 × the mean peak, never below a floor of 2500, so silence stays zero and a quiet recording stays low |
25288
+ | `unpackTelegramVoiceWaveform` | function | the levels of a waveform, `0`–`31`, one per 5 bits: 100 from a packed one, as many as it holds from one Telegram drew |
25289
+ | `readTelegramVoiceWaveformSupport` / `TelegramVoiceWaveformSupport` | function / _type_ | from a `getMe` result of any shape: `supported` only when the server declares `supports_voice_waveform` and `voice_waveform_version` 1; `version` as declared, `null` when none (the public Bot API) |
25290
+ | `TelegramVoiceWaveformError` / `TelegramVoiceWaveformRefusal` | class / _type_ | `peak-count` / `peak-value` / `malformed` / `empty-pcm` / `truncated-pcm` |
25291
+ | `TELEGRAM_VOICE_WAVEFORM_SAMPLES` / `TELEGRAM_VOICE_WAVEFORM_MAX_LEVEL` / `TELEGRAM_VOICE_WAVEFORM_VERSION` | constant | 100 parts, levels up to 31, field version 1 |
25292
+
25293
+ ---
25294
+
25196
25295
  ## `stitchkit/telegram/screens`
25197
25296
 
25198
25297
  A bot's menus as declared screens over grammY: a screen says what the chat
package/llms.txt CHANGED
@@ -9,7 +9,7 @@ Build with stitchkit: define a contract once, then `implement` it and serve it (
9
9
  Load the slice for each entrypoint your code imports — `import … from 'stitchkit/server'` → `llms/server.txt`; the root `stitchkit` import → `llms/stitchkit.txt`. A slice holds that entrypoint's API reference section and the guide pages whose home it is; every guide lives in exactly one slice, and a slice that needs another's guide names it under "Also read". Each file is at most 50.0 KB; a longer one continues in numbered parts, each naming the next at its top. Moving across versions: load `llms/upgrading.txt` and the range slices it lists between your version and the target. `llms-full.txt` inlines everything; it is far larger than a context window, so do not read it whole.
10
10
 
11
11
  ## Entrypoint slices
12
- - **stitchkit**: [llms/stitchkit.txt](llms/stitchkit.txt) 44.8 KB → [llms/stitchkit.2.txt](llms/stitchkit.2.txt) 47.4 KB
12
+ - **stitchkit**: [llms/stitchkit.txt](llms/stitchkit.txt) 45.1 KB → [llms/stitchkit.2.txt](llms/stitchkit.2.txt) 30.9 KB → [llms/stitchkit.3.txt](llms/stitchkit.3.txt) 19.1 KB
13
13
  - **stitchkit/live**: [llms/live.txt](llms/live.txt) 21.2 KB
14
14
  - **stitchkit/react**: [llms/react.txt](llms/react.txt) 8.7 KB
15
15
  - **stitchkit/react/keyboard**: [llms/react-keyboard.txt](llms/react-keyboard.txt) 22.7 KB
@@ -45,9 +45,10 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
45
45
  - **stitchkit/testing**: [llms/testing.txt](llms/testing.txt) 33.7 KB
46
46
  - **stitchkit/agent-runtime/sandbox**: [llms/agent-runtime-sandbox.txt](llms/agent-runtime-sandbox.txt) 8.3 KB
47
47
  - **stitchkit/files**: [llms/files.txt](llms/files.txt) 5.7 KB
48
- - **stitchkit/telegram**: [llms/telegram.txt](llms/telegram.txt) 44.8 KB
48
+ - **stitchkit/telegram**: [llms/telegram.txt](llms/telegram.txt) 34.3 KB → [llms/telegram.2.txt](llms/telegram.2.txt) 13.8 KB
49
49
  - **stitchkit/telegram/grammy**: [llms/telegram-grammy.txt](llms/telegram-grammy.txt) 1.2 KB
50
50
  - **stitchkit/telegram/html**: [llms/telegram-html.txt](llms/telegram-html.txt) 2.7 KB
51
+ - **stitchkit/telegram/voice**: [llms/telegram-voice.txt](llms/telegram-voice.txt) 1.9 KB
51
52
  - **stitchkit/telegram/screens**: [llms/telegram-screens.txt](llms/telegram-screens.txt) 21.2 KB
52
53
  - **stitchkit/tracking**: [llms/tracking.txt](llms/tracking.txt) 22.3 KB
53
54
  - **stitchkit/release**: [llms/release.txt](llms/release.txt) 8.9 KB
@@ -105,7 +106,7 @@ Load the slice for each entrypoint your code imports — `import … from 'stitc
105
106
  - [React Query policy](https://github.com/max-listov/stitchkit/blob/master/docs/guide/react.md): request-local SSR clients, a browser singleton and ApiError retry rules
106
107
  - [Keyboard layers and list zones](https://github.com/max-listov/stitchkit/blob/master/docs/guide/keyboard.md): stitchkit/react/keyboard — which part of a screen gets a key: ordered layers, one Escape per level, list zones that move real focus
107
108
  - [Voice](https://github.com/max-listov/stitchkit/blob/master/docs/guide/voice.md): stitchkit/voice — sentences cut while a reply streams, the text a voice reads, a speech queue that synthesises ahead and stops on interruption
108
- - [Telegram bots](https://github.com/max-listov/stitchkit/blob/master/docs/guide/telegram.md): stitchkit/telegram — the journal, the operator channel, resumable broadcasts, local Bot API files, webhook ownership and durable update intake, message markup (stitchkit/telegram/html); the bot as application resources
109
+ - [Telegram bots](https://github.com/max-listov/stitchkit/blob/master/docs/guide/telegram.md): stitchkit/telegram — the journal, the operator channel, resumable broadcasts, local Bot API files, webhook ownership and durable update intake, message markup (stitchkit/telegram/html), voice waveforms (stitchkit/telegram/voice); the bot as application resources
109
110
  - [Telegram screens](https://github.com/max-listov/stitchkit/blob/master/docs/guide/telegram-screens.md): stitchkit/telegram/screens — a bot menu as declared screens: typed paths, actions and input, messages reconciled in place, state in a StorageAdapter, a test chat
110
111
  - [GeoIP](https://github.com/max-listov/stitchkit/blob/master/docs/guide/geo.md): stitchkit/geo — a server-only managed reader, three observable states and last-known-good generation reloads
111
112
  - [XLSX](https://github.com/max-listov/stitchkit/blob/master/docs/guide/xlsx.md): stitchkit/xlsx — a workbook from rows and typed columns, with no dependency and no formula in the file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stitchkit",
3
- "version": "0.123.1",
3
+ "version": "0.123.3",
4
4
  "description": "Contract-first backend framework — one defineContract() into an HTTP API, MCP tools, AI-agent tools and a typed client. Bun and Node.",
5
5
  "keywords": [
6
6
  "bun",
@@ -213,6 +213,10 @@
213
213
  "types": "./dist/entrypoints/telegram/html.d.ts",
214
214
  "import": "./dist/entrypoints/telegram/html.js"
215
215
  },
216
+ "./telegram/voice": {
217
+ "types": "./dist/entrypoints/telegram/voice.d.ts",
218
+ "import": "./dist/entrypoints/telegram/voice.js"
219
+ },
216
220
  "./telegram/screens": {
217
221
  "types": "./dist/entrypoints/telegram/screens.d.ts",
218
222
  "import": "./dist/entrypoints/telegram/screens.js"