@workers-community/workers-types 4.20251115.0 → 4.20251117.0

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 (3) hide show
  1. package/index.d.ts +1 -11
  2. package/index.ts +1 -11
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -530,17 +530,7 @@ interface StructuredSerializeOptions {
530
530
  transfer?: any[];
531
531
  }
532
532
  declare abstract class Navigator {
533
- sendBeacon(
534
- url: string,
535
- body?:
536
- | ReadableStream
537
- | string
538
- | (ArrayBuffer | ArrayBufferView)
539
- | Blob
540
- | FormData
541
- | URLSearchParams
542
- | URLSearchParams,
543
- ): boolean;
533
+ sendBeacon(url: string, body?: BodyInit): boolean;
544
534
  readonly userAgent: string;
545
535
  readonly hardwareConcurrency: number;
546
536
  }
package/index.ts CHANGED
@@ -535,17 +535,7 @@ export interface StructuredSerializeOptions {
535
535
  transfer?: any[];
536
536
  }
537
537
  export declare abstract class Navigator {
538
- sendBeacon(
539
- url: string,
540
- body?:
541
- | ReadableStream
542
- | string
543
- | (ArrayBuffer | ArrayBufferView)
544
- | Blob
545
- | FormData
546
- | URLSearchParams
547
- | URLSearchParams,
548
- ): boolean;
538
+ sendBeacon(url: string, body?: BodyInit): boolean;
549
539
  readonly userAgent: string;
550
540
  readonly hardwareConcurrency: number;
551
541
  }
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "author": "Workers Community",
9
9
  "license": "MIT OR Apache-2.0",
10
- "version": "4.20251115.0",
10
+ "version": "4.20251117.0",
11
11
  "exports": {
12
12
  ".": {
13
13
  "types": "./index.d.ts",