bun-types 1.1.31-canary.20241013T140509 → 1.1.31-canary.20241015T140607

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/bun.d.ts CHANGED
@@ -1702,7 +1702,7 @@ declare module "bun" {
1702
1702
  * automatically run in a worker thread.
1703
1703
  *
1704
1704
  * The underlying implementation of these functions are provided by the Zig
1705
- * Standard Library. Thanks to @jedisct1 and other Zig constributors for their
1705
+ * Standard Library. Thanks to @jedisct1 and other Zig contributors for their
1706
1706
  * work on this.
1707
1707
  *
1708
1708
  * ### Example with argon2
@@ -1808,7 +1808,7 @@ declare module "bun" {
1808
1808
  * instead which runs in a worker thread.
1809
1809
  *
1810
1810
  * The underlying implementation of these functions are provided by the Zig
1811
- * Standard Library. Thanks to @jedisct1 and other Zig constributors for their
1811
+ * Standard Library. Thanks to @jedisct1 and other Zig contributors for their
1812
1812
  * work on this.
1813
1813
  *
1814
1814
  * ### Example with argon2
@@ -1847,7 +1847,7 @@ declare module "bun" {
1847
1847
  * instead which runs in a worker thread.
1848
1848
  *
1849
1849
  * The underlying implementation of these functions are provided by the Zig
1850
- * Standard Library. Thanks to @jedisct1 and other Zig constributors for their
1850
+ * Standard Library. Thanks to @jedisct1 and other Zig contributors for their
1851
1851
  * work on this.
1852
1852
  *
1853
1853
  * ### Example with argon2
@@ -4636,6 +4636,7 @@ declare module "bun" {
4636
4636
  hostname: string;
4637
4637
  port: number;
4638
4638
  tls?: TLSOptions;
4639
+ exclusive?: boolean;
4639
4640
  }
4640
4641
 
4641
4642
  interface TCPSocketConnectOptions<Data = undefined>
@@ -4643,9 +4644,11 @@ declare module "bun" {
4643
4644
  hostname: string;
4644
4645
  port: number;
4645
4646
  tls?: boolean;
4647
+ exclusive?: boolean;
4646
4648
  }
4647
4649
 
4648
4650
  interface UnixSocketOptions<Data = undefined> extends SocketOptions<Data> {
4651
+ tls?: TLSOptions;
4649
4652
  unix: string;
4650
4653
  }
4651
4654
 
package/globals.d.ts CHANGED
@@ -1950,14 +1950,6 @@ declare global {
1950
1950
  withCredentials?: boolean;
1951
1951
  }
1952
1952
 
1953
- interface EventSource extends Bun.EventSource {}
1954
- var EventSource: typeof globalThis extends {
1955
- onerror: any;
1956
- EventSource: infer T;
1957
- }
1958
- ? T
1959
- : EventSource;
1960
-
1961
1953
  interface PromiseConstructor {
1962
1954
  /**
1963
1955
  * Create a deferred promise, with exposed `resolve` and `reject` methods which can be called
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.31-canary.20241013T140509",
2
+ "version": "1.1.31-canary.20241015T140607",
3
3
  "name": "bun-types",
4
4
  "license": "MIT",
5
5
  "main": "",