bun-types-no-globals 1.3.8-canary.20260129T141834 → 1.3.8-canary.20260131T140819

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 (2) hide show
  1. package/lib/bun.d.ts +6 -5
  2. package/package.json +1 -1
package/lib/bun.d.ts CHANGED
@@ -2433,12 +2433,13 @@ declare module "bun" {
2433
2433
  type SIMD = "baseline" | "modern";
2434
2434
  type CompileTarget =
2435
2435
  | `bun-darwin-${Architecture}`
2436
- | `bun-darwin-x64-${SIMD}`
2436
+ | `bun-darwin-${Architecture}-${SIMD}`
2437
2437
  | `bun-linux-${Architecture}`
2438
2438
  | `bun-linux-${Architecture}-${Libc}`
2439
+ | `bun-linux-${Architecture}-${SIMD}`
2440
+ | `bun-linux-${Architecture}-${SIMD}-${Libc}`
2439
2441
  | "bun-windows-x64"
2440
- | `bun-windows-x64-${SIMD}`
2441
- | `bun-linux-x64-${SIMD}-${Libc}`;
2442
+ | `bun-windows-x64-${SIMD}`;
2442
2443
  }
2443
2444
 
2444
2445
  /**
@@ -5678,7 +5679,7 @@ declare module "bun" {
5678
5679
  *
5679
5680
  * This will apply to all sockets from the same {@link Listener}. it is per socket only for {@link Bun.connect}.
5680
5681
  */
5681
- reload(handler: SocketHandler): void;
5682
+ reload(options: Pick<SocketOptions<Data>, "socket">): void;
5682
5683
 
5683
5684
  /**
5684
5685
  * Get the server that created this socket
@@ -6021,7 +6022,7 @@ declare module "bun" {
6021
6022
  stop(closeActiveConnections?: boolean): void;
6022
6023
  ref(): void;
6023
6024
  unref(): void;
6024
- reload(options: Pick<Partial<SocketOptions>, "socket">): void;
6025
+ reload(options: Pick<SocketOptions<Data>, "socket">): void;
6025
6026
  data: Data;
6026
6027
  }
6027
6028
  interface TCPSocketListener<Data = unknown> extends SocketListener<Data> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bun-types-no-globals",
3
- "version": "1.3.8-canary.20260129T141834",
3
+ "version": "1.3.8-canary.20260131T140819",
4
4
  "main": "./generator/index.ts",
5
5
  "types": "./lib/index.d.ts",
6
6
  "description": "TypeScript type definitions for Bun without global types pollution",