@mtcute/bun 0.29.0 → 0.29.4

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@mtcute/bun",
3
3
  "type": "module",
4
- "version": "0.29.0",
4
+ "version": "0.29.4",
5
5
  "description": "Meta-package for Bun",
6
6
  "license": "MIT",
7
7
  "dependencies": {
8
- "@mtcute/core": "^0.29.0",
9
- "@mtcute/html-parser": "^0.29.0",
10
- "@mtcute/markdown-parser": "^0.29.0",
8
+ "@mtcute/core": "^0.29.4",
9
+ "@mtcute/html-parser": "^0.29.4",
10
+ "@mtcute/markdown-parser": "^0.29.4",
11
11
  "@mtcute/wasm": "^0.29.0",
12
12
  "@fuman/utils": "0.0.19",
13
13
  "@fuman/bun": "0.0.19",
package/worker.d.ts CHANGED
@@ -2,6 +2,7 @@ import { ClientMessageHandler, RespondFn, SendFn, SomeWorker, TelegramWorkerOpti
2
2
  export type { TelegramWorkerOptions, WorkerCustomMethods };
3
3
  export interface TelegramWorkerPortOptions {
4
4
  worker: SomeWorker;
5
+ workerId?: string;
5
6
  }
6
7
  export declare class TelegramWorker<T extends WorkerCustomMethods> extends TelegramWorkerBase<T> {
7
8
  registerWorker(handler: WorkerMessageHandler): [RespondFn, VoidFunction];
package/worker.js CHANGED
@@ -17,6 +17,7 @@ class TelegramWorkerPort extends TelegramWorkerPort$1 {
17
17
  constructor(options) {
18
18
  super({
19
19
  worker: options.worker,
20
+ workerId: options.workerId,
20
21
  platform: new BunPlatform()
21
22
  });
22
23
  }