@effect/platform-bun 4.0.0-beta.71 → 4.0.0-beta.72
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/dist/BunClusterHttp.d.ts +2 -2
- package/dist/BunClusterHttp.js +2 -2
- package/dist/BunCrypto.d.ts +1 -1
- package/dist/BunCrypto.js +1 -1
- package/dist/BunHttpServer.d.ts +1 -1
- package/dist/BunHttpServer.js +1 -1
- package/dist/BunHttpServerRequest.d.ts +1 -1
- package/dist/BunHttpServerRequest.js +1 -1
- package/dist/BunStream.d.ts +2 -2
- package/dist/BunStream.js +2 -2
- package/package.json +4 -4
- package/src/BunClusterHttp.ts +2 -2
- package/src/BunCrypto.ts +1 -1
- package/src/BunHttpServer.ts +1 -1
- package/src/BunHttpServerRequest.ts +1 -1
- package/src/BunStream.ts +2 -2
package/dist/BunClusterHttp.d.ts
CHANGED
|
@@ -50,14 +50,14 @@ import { layerK8sHttpClient } from "./BunClusterSocket.ts";
|
|
|
50
50
|
import type { BunServices } from "./BunServices.ts";
|
|
51
51
|
export {
|
|
52
52
|
/**
|
|
53
|
-
* Kubernetes HTTP client
|
|
53
|
+
* Layer that provides a Kubernetes HTTP client for runner health checks.
|
|
54
54
|
*
|
|
55
55
|
* @category re-exports
|
|
56
56
|
* @since 4.0.0
|
|
57
57
|
*/
|
|
58
58
|
layerK8sHttpClient };
|
|
59
59
|
/**
|
|
60
|
-
* Bun HTTP server
|
|
60
|
+
* Layer that provides a Bun HTTP server for cluster runners.
|
|
61
61
|
*
|
|
62
62
|
* @category layers
|
|
63
63
|
* @since 4.0.0
|
package/dist/BunClusterHttp.js
CHANGED
|
@@ -17,14 +17,14 @@ import * as BunHttpServer from "./BunHttpServer.js";
|
|
|
17
17
|
import * as BunSocket from "./BunSocket.js";
|
|
18
18
|
export {
|
|
19
19
|
/**
|
|
20
|
-
* Kubernetes HTTP client
|
|
20
|
+
* Layer that provides a Kubernetes HTTP client for runner health checks.
|
|
21
21
|
*
|
|
22
22
|
* @category re-exports
|
|
23
23
|
* @since 4.0.0
|
|
24
24
|
*/
|
|
25
25
|
layerK8sHttpClient };
|
|
26
26
|
/**
|
|
27
|
-
* Bun HTTP server
|
|
27
|
+
* Layer that provides a Bun HTTP server for cluster runners.
|
|
28
28
|
*
|
|
29
29
|
* @category layers
|
|
30
30
|
* @since 4.0.0
|
package/dist/BunCrypto.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Crypto from "effect/Crypto";
|
|
2
2
|
import type * as Layer from "effect/Layer";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Layer that provides the Bun Crypto service implementation.
|
|
5
5
|
*
|
|
6
6
|
* @category layers
|
|
7
7
|
* @since 1.0.0
|
package/dist/BunCrypto.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import * as NodeCrypto from "@effect/platform-node-shared/NodeCrypto";
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Layer that provides the Bun Crypto service implementation.
|
|
17
17
|
*
|
|
18
18
|
* @category layers
|
|
19
19
|
* @since 1.0.0
|
package/dist/BunHttpServer.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export declare const layer: <R extends string>(options: ServeOptions<R> & {
|
|
|
103
103
|
readonly gracefulShutdownTimeout?: Duration.Input | undefined;
|
|
104
104
|
}) => Layer.Layer<Server.HttpServer | HttpPlatform | Etag.Generator | BunServices.BunServices>;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Layer that starts a Bun HTTP server on an ephemeral port for tests.
|
|
107
107
|
*
|
|
108
108
|
* @category layers
|
|
109
109
|
* @since 4.0.0
|
package/dist/BunHttpServer.js
CHANGED
|
@@ -178,7 +178,7 @@ export const layerHttpServices = /*#__PURE__*/Layer.mergeAll(Platform.layer, Eta
|
|
|
178
178
|
*/
|
|
179
179
|
export const layer = options => Layer.mergeAll(layerServer(options), layerHttpServices);
|
|
180
180
|
/**
|
|
181
|
-
*
|
|
181
|
+
* Layer that starts a Bun HTTP server on an ephemeral port for tests.
|
|
182
182
|
*
|
|
183
183
|
* @category layers
|
|
184
184
|
* @since 4.0.0
|
|
@@ -27,7 +27,7 @@ import type { HttpServerRequest } from "effect/unstable/http/HttpServerRequest";
|
|
|
27
27
|
/**
|
|
28
28
|
* Returns the underlying `Bun.BunRequest` from an Effect `HttpServerRequest`.
|
|
29
29
|
*
|
|
30
|
-
* @category
|
|
30
|
+
* @category accessors
|
|
31
31
|
* @since 4.0.0
|
|
32
32
|
*/
|
|
33
33
|
export declare const toBunServerRequest: <T extends string = string>(self: HttpServerRequest) => Bun.BunRequest<T>;
|
package/dist/BunStream.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import * as Stream from "effect/Stream";
|
|
|
5
5
|
*/
|
|
6
6
|
export * from "@effect/platform-node-shared/NodeStream";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* .
|
|
8
|
+
* Creates a stream from a `ReadableStream` using Bun's optimized `.readMany`
|
|
9
|
+
* API.
|
|
10
10
|
*
|
|
11
11
|
* @category constructors
|
|
12
12
|
* @since 4.0.0
|
package/dist/BunStream.js
CHANGED
|
@@ -42,8 +42,8 @@ import * as Stream from "effect/Stream";
|
|
|
42
42
|
*/
|
|
43
43
|
export * from "@effect/platform-node-shared/NodeStream";
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
46
|
-
* .
|
|
45
|
+
* Creates a stream from a `ReadableStream` using Bun's optimized `.readMany`
|
|
46
|
+
* API.
|
|
47
47
|
*
|
|
48
48
|
* @category constructors
|
|
49
49
|
* @since 4.0.0
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform-bun",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.72",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Platform specific implementations for the Bun runtime",
|
|
7
7
|
"homepage": "https://effect.website",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"provenance": true
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"effect": "^4.0.0-beta.
|
|
48
|
+
"effect": "^4.0.0-beta.72"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@effect/platform-node-shared": "^4.0.0-beta.
|
|
51
|
+
"@effect/platform-node-shared": "^4.0.0-beta.72"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/bun": "^1.3.13",
|
|
55
|
-
"effect": "^4.0.0-beta.
|
|
55
|
+
"effect": "^4.0.0-beta.72"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"codegen": "effect-utils codegen",
|
package/src/BunClusterHttp.ts
CHANGED
|
@@ -62,7 +62,7 @@ import * as BunSocket from "./BunSocket.ts"
|
|
|
62
62
|
|
|
63
63
|
export {
|
|
64
64
|
/**
|
|
65
|
-
* Kubernetes HTTP client
|
|
65
|
+
* Layer that provides a Kubernetes HTTP client for runner health checks.
|
|
66
66
|
*
|
|
67
67
|
* @category re-exports
|
|
68
68
|
* @since 4.0.0
|
|
@@ -71,7 +71,7 @@ export {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Bun HTTP server
|
|
74
|
+
* Layer that provides a Bun HTTP server for cluster runners.
|
|
75
75
|
*
|
|
76
76
|
* @category layers
|
|
77
77
|
* @since 4.0.0
|
package/src/BunCrypto.ts
CHANGED
|
@@ -16,7 +16,7 @@ import type * as Crypto from "effect/Crypto"
|
|
|
16
16
|
import type * as Layer from "effect/Layer"
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Layer that provides the Bun Crypto service implementation.
|
|
20
20
|
*
|
|
21
21
|
* @category layers
|
|
22
22
|
* @since 1.0.0
|
package/src/BunHttpServer.ts
CHANGED
|
@@ -292,7 +292,7 @@ export const layer = <R extends string>(
|
|
|
292
292
|
> => Layer.mergeAll(layerServer(options), layerHttpServices)
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
|
-
*
|
|
295
|
+
* Layer that starts a Bun HTTP server on an ephemeral port for tests.
|
|
296
296
|
*
|
|
297
297
|
* @category layers
|
|
298
298
|
* @since 4.0.0
|
|
@@ -28,7 +28,7 @@ import type { HttpServerRequest } from "effect/unstable/http/HttpServerRequest"
|
|
|
28
28
|
/**
|
|
29
29
|
* Returns the underlying `Bun.BunRequest` from an Effect `HttpServerRequest`.
|
|
30
30
|
*
|
|
31
|
-
* @category
|
|
31
|
+
* @category accessors
|
|
32
32
|
* @since 4.0.0
|
|
33
33
|
*/
|
|
34
34
|
export const toBunServerRequest = <T extends string = string>(self: HttpServerRequest): Bun.BunRequest<T> =>
|
package/src/BunStream.ts
CHANGED
|
@@ -46,8 +46,8 @@ import * as Stream from "effect/Stream"
|
|
|
46
46
|
export * from "@effect/platform-node-shared/NodeStream"
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
|
-
* .
|
|
49
|
+
* Creates a stream from a `ReadableStream` using Bun's optimized `.readMany`
|
|
50
|
+
* API.
|
|
51
51
|
*
|
|
52
52
|
* @category constructors
|
|
53
53
|
* @since 4.0.0
|