bun-types 1.1.25-canary.20240820T140519 → 1.1.25-canary.20240822T140508
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 +15 -0
- package/package.json +1 -1
package/bun.d.ts
CHANGED
|
@@ -2428,6 +2428,14 @@ declare module "bun" {
|
|
|
2428
2428
|
*/
|
|
2429
2429
|
unix?: never;
|
|
2430
2430
|
|
|
2431
|
+
/**
|
|
2432
|
+
* Sets the the number of seconds to wait before timing out a connection
|
|
2433
|
+
* due to inactivity.
|
|
2434
|
+
*
|
|
2435
|
+
* Default is `10` seconds.
|
|
2436
|
+
*/
|
|
2437
|
+
idleTimeout?: number;
|
|
2438
|
+
|
|
2431
2439
|
/**
|
|
2432
2440
|
* Handle HTTP requests
|
|
2433
2441
|
*
|
|
@@ -2975,6 +2983,13 @@ declare module "bun" {
|
|
|
2975
2983
|
// tslint:disable-next-line:unified-signatures
|
|
2976
2984
|
function file(path: string | URL, options?: BlobPropertyBag): BunFile;
|
|
2977
2985
|
|
|
2986
|
+
/**
|
|
2987
|
+
* A list of files embedded into the standalone executable. Lexigraphically sorted by name.
|
|
2988
|
+
*
|
|
2989
|
+
* If the process is not a standalone executable, this returns an empty array.
|
|
2990
|
+
*/
|
|
2991
|
+
const embeddedFiles: ReadonlyArray<Blob>;
|
|
2992
|
+
|
|
2978
2993
|
/**
|
|
2979
2994
|
* `Blob` that leverages the fastest system calls available to operate on files.
|
|
2980
2995
|
*
|
package/package.json
CHANGED