@effect/platform-bun 0.28.0 → 0.28.2
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/dts/Http/Platform.d.ts +1 -1
- package/dist/dts/Http/Server.d.ts +1 -1
- package/dist/dts/Http/ServerRequest.d.ts +1 -1
- package/dist/dts/HttpClient.d.ts +7 -7
- package/dist/dts/HttpServer.d.ts +8 -8
- package/dist/dts/KeyValueStore.d.ts +1 -1
- package/dist/dts/Transferable.d.ts +1 -1
- package/dist/dts/Worker.d.ts +1 -1
- package/dist/dts/WorkerRunner.d.ts +1 -1
- package/dist/dts/index.d.ts +4 -4
- package/dist/esm/HttpClient.js +7 -7
- package/dist/esm/HttpServer.js +8 -8
- package/dist/esm/KeyValueStore.js +1 -1
- package/dist/esm/Transferable.js +1 -1
- package/dist/esm/index.js +4 -4
- package/package.json +4 -4
- package/src/Http/Platform.ts +1 -1
- package/src/Http/Server.ts +1 -1
- package/src/Http/ServerRequest.ts +1 -1
- package/src/HttpClient.ts +7 -7
- package/src/HttpServer.ts +8 -8
- package/src/KeyValueStore.ts +1 -1
- package/src/Transferable.ts +1 -1
- package/src/Worker.ts +1 -1
- package/src/WorkerRunner.ts +1 -1
- package/src/index.ts +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/effect/platform/Http/Platform.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Etag from "@effect/platform/Http/Etag";
|
|
7
7
|
import type * as Platform from "@effect/platform/Http/Platform";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 1.0.0
|
|
4
4
|
*
|
|
5
|
-
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/
|
|
5
|
+
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/effect/platform/Http/Server.ts.html).
|
|
6
6
|
*/
|
|
7
7
|
import type * as Server from "@effect/platform/Http/Server";
|
|
8
8
|
import type { ServeOptions } from "bun";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 1.0.0
|
|
4
4
|
*
|
|
5
|
-
* Also includes exports from [`@effect/platform/Http/ServerRequest`](https://effect-ts.github.io/
|
|
5
|
+
* Also includes exports from [`@effect/platform/Http/ServerRequest`](https://effect-ts.github.io/effect/platform/Http/ServerRequest.ts.html).
|
|
6
6
|
*/
|
|
7
7
|
import type * as ServerRequest from "@effect/platform/Http/ServerRequest";
|
|
8
8
|
/**
|
package/dist/dts/HttpClient.d.ts
CHANGED
|
@@ -12,49 +12,49 @@ export {
|
|
|
12
12
|
/**
|
|
13
13
|
* @since 1.0.0
|
|
14
14
|
*
|
|
15
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
15
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
16
16
|
* - Module: `@effect/platform/Http/Body`
|
|
17
17
|
*/
|
|
18
18
|
body,
|
|
19
19
|
/**
|
|
20
20
|
* @since 1.0.0
|
|
21
21
|
*
|
|
22
|
-
* - Docs: [Http/Client](https://effect-ts.github.io/
|
|
22
|
+
* - Docs: [Http/Client](https://effect-ts.github.io/effect/platform/Http/Client.ts.html)
|
|
23
23
|
* - Module: `@effect/platform/Http/Client`
|
|
24
24
|
*/
|
|
25
25
|
client,
|
|
26
26
|
/**
|
|
27
27
|
* @since 1.0.0
|
|
28
28
|
*
|
|
29
|
-
* - Docs: [Http/ClientError](https://effect-ts.github.io/
|
|
29
|
+
* - Docs: [Http/ClientError](https://effect-ts.github.io/effect/platform/Http/ClientError.ts.html)
|
|
30
30
|
* - Module: `@effect/platform/Http/ClientError`
|
|
31
31
|
*/
|
|
32
32
|
error,
|
|
33
33
|
/**
|
|
34
34
|
* @since 1.0.0
|
|
35
35
|
*
|
|
36
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
36
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
37
37
|
* - Module: `@effect/platform/Http/Headers`
|
|
38
38
|
*/
|
|
39
39
|
headers,
|
|
40
40
|
/**
|
|
41
41
|
* @since 1.0.0
|
|
42
42
|
*
|
|
43
|
-
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/
|
|
43
|
+
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/effect/platform/Http/ClientRequest.ts.html)
|
|
44
44
|
* - Module: `@effect/platform/Http/ClientRequest`
|
|
45
45
|
*/
|
|
46
46
|
request,
|
|
47
47
|
/**
|
|
48
48
|
* @since 1.0.0
|
|
49
49
|
*
|
|
50
|
-
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/
|
|
50
|
+
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/effect/platform/Http/ClientResponse.ts.html)
|
|
51
51
|
* - Module: `@effect/platform/Http/ClientResponse`
|
|
52
52
|
*/
|
|
53
53
|
response,
|
|
54
54
|
/**
|
|
55
55
|
* @since 1.0.0
|
|
56
56
|
*
|
|
57
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
57
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
58
58
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
59
59
|
*/
|
|
60
60
|
urlParams };
|
package/dist/dts/HttpServer.d.ts
CHANGED
|
@@ -17,21 +17,21 @@ export {
|
|
|
17
17
|
/**
|
|
18
18
|
* @since 1.0.0
|
|
19
19
|
*
|
|
20
|
-
* - Docs: [Http/App](https://effect-ts.github.io/
|
|
20
|
+
* - Docs: [Http/App](https://effect-ts.github.io/effect/platform/Http/App.ts.html)
|
|
21
21
|
* - Module: `@effect/platform/Http/App`
|
|
22
22
|
*/
|
|
23
23
|
app,
|
|
24
24
|
/**
|
|
25
25
|
* @since 1.0.0
|
|
26
26
|
*
|
|
27
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
27
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
28
28
|
* - Module: `@effect/platform/Http/Body`
|
|
29
29
|
*/
|
|
30
30
|
body,
|
|
31
31
|
/**
|
|
32
32
|
* @since 1.0.0
|
|
33
33
|
*
|
|
34
|
-
* - Docs: [Http/ServerError](https://effect-ts.github.io/
|
|
34
|
+
* - Docs: [Http/ServerError](https://effect-ts.github.io/effect/platform/Http/ServerError.ts.html)
|
|
35
35
|
* - Module: `@effect/platform/Http/ServerError`
|
|
36
36
|
*/
|
|
37
37
|
error,
|
|
@@ -45,14 +45,14 @@ etag,
|
|
|
45
45
|
/**
|
|
46
46
|
* @since 1.0.0
|
|
47
47
|
*
|
|
48
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
48
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
49
49
|
* - Module: `@effect/platform/Http/Headers`
|
|
50
50
|
*/
|
|
51
51
|
headers,
|
|
52
52
|
/**
|
|
53
53
|
* @since 1.0.0
|
|
54
54
|
*
|
|
55
|
-
* - Docs: [Http/Middleware](https://effect-ts.github.io/
|
|
55
|
+
* - Docs: [Http/Middleware](https://effect-ts.github.io/effect/platform/Http/Middleware.ts.html)
|
|
56
56
|
* - Module: `@effect/platform/Http/Middleware`
|
|
57
57
|
*/
|
|
58
58
|
middleware,
|
|
@@ -73,14 +73,14 @@ request,
|
|
|
73
73
|
/**
|
|
74
74
|
* @since 1.0.0
|
|
75
75
|
*
|
|
76
|
-
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/
|
|
76
|
+
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/effect/platform/Http/ServerResponse.ts.html)
|
|
77
77
|
* - Module: `@effect/platform/Http/ServerResponse`
|
|
78
78
|
*/
|
|
79
79
|
response,
|
|
80
80
|
/**
|
|
81
81
|
* @since 1.0.0
|
|
82
82
|
*
|
|
83
|
-
* - Docs: [Http/Router](https://effect-ts.github.io/
|
|
83
|
+
* - Docs: [Http/Router](https://effect-ts.github.io/effect/platform/Http/Router.ts.html)
|
|
84
84
|
* - Module: `@effect/platform/Http/Router`
|
|
85
85
|
*/
|
|
86
86
|
router,
|
|
@@ -94,7 +94,7 @@ server,
|
|
|
94
94
|
/**
|
|
95
95
|
* @since 1.0.0
|
|
96
96
|
*
|
|
97
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
97
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
98
98
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
99
99
|
*/
|
|
100
100
|
urlParams };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
export * from "@effect/platform/KeyValueStore";
|
|
7
7
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
export * from "@effect/platform/Transferable";
|
|
7
7
|
//# sourceMappingURL=Transferable.d.ts.map
|
package/dist/dts/Worker.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Worker from "@effect/platform/Worker";
|
|
7
7
|
import type * as Schema from "@effect/schema/Schema";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type { WorkerError } from "@effect/platform/WorkerError";
|
|
7
7
|
import type * as Runner from "@effect/platform/WorkerRunner";
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export * as HttpServer from "./HttpServer.js";
|
|
|
33
33
|
/**
|
|
34
34
|
* @since 1.0.0
|
|
35
35
|
*
|
|
36
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
36
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
37
37
|
*/
|
|
38
38
|
export * as KeyValueStore from "./KeyValueStore.js";
|
|
39
39
|
/**
|
|
@@ -59,19 +59,19 @@ export * as Terminal from "./Terminal.js";
|
|
|
59
59
|
/**
|
|
60
60
|
* @since 1.0.0
|
|
61
61
|
*
|
|
62
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
62
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
63
63
|
*/
|
|
64
64
|
export * as Transferable from "./Transferable.js";
|
|
65
65
|
/**
|
|
66
66
|
* @since 1.0.0
|
|
67
67
|
*
|
|
68
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
68
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
69
69
|
*/
|
|
70
70
|
export * as Worker from "./Worker.js";
|
|
71
71
|
/**
|
|
72
72
|
* @since 1.0.0
|
|
73
73
|
*
|
|
74
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
74
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
75
75
|
*/
|
|
76
76
|
export * as WorkerRunner from "./WorkerRunner.js";
|
|
77
77
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/HttpClient.js
CHANGED
|
@@ -12,49 +12,49 @@ export {
|
|
|
12
12
|
/**
|
|
13
13
|
* @since 1.0.0
|
|
14
14
|
*
|
|
15
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
15
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
16
16
|
* - Module: `@effect/platform/Http/Body`
|
|
17
17
|
*/
|
|
18
18
|
body,
|
|
19
19
|
/**
|
|
20
20
|
* @since 1.0.0
|
|
21
21
|
*
|
|
22
|
-
* - Docs: [Http/Client](https://effect-ts.github.io/
|
|
22
|
+
* - Docs: [Http/Client](https://effect-ts.github.io/effect/platform/Http/Client.ts.html)
|
|
23
23
|
* - Module: `@effect/platform/Http/Client`
|
|
24
24
|
*/
|
|
25
25
|
client,
|
|
26
26
|
/**
|
|
27
27
|
* @since 1.0.0
|
|
28
28
|
*
|
|
29
|
-
* - Docs: [Http/ClientError](https://effect-ts.github.io/
|
|
29
|
+
* - Docs: [Http/ClientError](https://effect-ts.github.io/effect/platform/Http/ClientError.ts.html)
|
|
30
30
|
* - Module: `@effect/platform/Http/ClientError`
|
|
31
31
|
*/
|
|
32
32
|
error,
|
|
33
33
|
/**
|
|
34
34
|
* @since 1.0.0
|
|
35
35
|
*
|
|
36
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
36
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
37
37
|
* - Module: `@effect/platform/Http/Headers`
|
|
38
38
|
*/
|
|
39
39
|
headers,
|
|
40
40
|
/**
|
|
41
41
|
* @since 1.0.0
|
|
42
42
|
*
|
|
43
|
-
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/
|
|
43
|
+
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/effect/platform/Http/ClientRequest.ts.html)
|
|
44
44
|
* - Module: `@effect/platform/Http/ClientRequest`
|
|
45
45
|
*/
|
|
46
46
|
request,
|
|
47
47
|
/**
|
|
48
48
|
* @since 1.0.0
|
|
49
49
|
*
|
|
50
|
-
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/
|
|
50
|
+
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/effect/platform/Http/ClientResponse.ts.html)
|
|
51
51
|
* - Module: `@effect/platform/Http/ClientResponse`
|
|
52
52
|
*/
|
|
53
53
|
response,
|
|
54
54
|
/**
|
|
55
55
|
* @since 1.0.0
|
|
56
56
|
*
|
|
57
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
57
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
58
58
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
59
59
|
*/
|
|
60
60
|
urlParams };
|
package/dist/esm/HttpServer.js
CHANGED
|
@@ -17,21 +17,21 @@ export {
|
|
|
17
17
|
/**
|
|
18
18
|
* @since 1.0.0
|
|
19
19
|
*
|
|
20
|
-
* - Docs: [Http/App](https://effect-ts.github.io/
|
|
20
|
+
* - Docs: [Http/App](https://effect-ts.github.io/effect/platform/Http/App.ts.html)
|
|
21
21
|
* - Module: `@effect/platform/Http/App`
|
|
22
22
|
*/
|
|
23
23
|
app,
|
|
24
24
|
/**
|
|
25
25
|
* @since 1.0.0
|
|
26
26
|
*
|
|
27
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
27
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
28
28
|
* - Module: `@effect/platform/Http/Body`
|
|
29
29
|
*/
|
|
30
30
|
body,
|
|
31
31
|
/**
|
|
32
32
|
* @since 1.0.0
|
|
33
33
|
*
|
|
34
|
-
* - Docs: [Http/ServerError](https://effect-ts.github.io/
|
|
34
|
+
* - Docs: [Http/ServerError](https://effect-ts.github.io/effect/platform/Http/ServerError.ts.html)
|
|
35
35
|
* - Module: `@effect/platform/Http/ServerError`
|
|
36
36
|
*/
|
|
37
37
|
error,
|
|
@@ -45,14 +45,14 @@ etag,
|
|
|
45
45
|
/**
|
|
46
46
|
* @since 1.0.0
|
|
47
47
|
*
|
|
48
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
48
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
49
49
|
* - Module: `@effect/platform/Http/Headers`
|
|
50
50
|
*/
|
|
51
51
|
headers,
|
|
52
52
|
/**
|
|
53
53
|
* @since 1.0.0
|
|
54
54
|
*
|
|
55
|
-
* - Docs: [Http/Middleware](https://effect-ts.github.io/
|
|
55
|
+
* - Docs: [Http/Middleware](https://effect-ts.github.io/effect/platform/Http/Middleware.ts.html)
|
|
56
56
|
* - Module: `@effect/platform/Http/Middleware`
|
|
57
57
|
*/
|
|
58
58
|
middleware,
|
|
@@ -73,14 +73,14 @@ request,
|
|
|
73
73
|
/**
|
|
74
74
|
* @since 1.0.0
|
|
75
75
|
*
|
|
76
|
-
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/
|
|
76
|
+
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/effect/platform/Http/ServerResponse.ts.html)
|
|
77
77
|
* - Module: `@effect/platform/Http/ServerResponse`
|
|
78
78
|
*/
|
|
79
79
|
response,
|
|
80
80
|
/**
|
|
81
81
|
* @since 1.0.0
|
|
82
82
|
*
|
|
83
|
-
* - Docs: [Http/Router](https://effect-ts.github.io/
|
|
83
|
+
* - Docs: [Http/Router](https://effect-ts.github.io/effect/platform/Http/Router.ts.html)
|
|
84
84
|
* - Module: `@effect/platform/Http/Router`
|
|
85
85
|
*/
|
|
86
86
|
router,
|
|
@@ -94,7 +94,7 @@ server,
|
|
|
94
94
|
/**
|
|
95
95
|
* @since 1.0.0
|
|
96
96
|
*
|
|
97
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
97
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
98
98
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
99
99
|
*/
|
|
100
100
|
urlParams };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
export * from "@effect/platform/KeyValueStore";
|
|
7
7
|
export {
|
package/dist/esm/Transferable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
export * from "@effect/platform/Transferable";
|
|
7
7
|
//# sourceMappingURL=Transferable.js.map
|
package/dist/esm/index.js
CHANGED
|
@@ -33,7 +33,7 @@ export * as HttpServer from "./HttpServer.js";
|
|
|
33
33
|
/**
|
|
34
34
|
* @since 1.0.0
|
|
35
35
|
*
|
|
36
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
36
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
37
37
|
*/
|
|
38
38
|
export * as KeyValueStore from "./KeyValueStore.js";
|
|
39
39
|
/**
|
|
@@ -59,19 +59,19 @@ export * as Terminal from "./Terminal.js";
|
|
|
59
59
|
/**
|
|
60
60
|
* @since 1.0.0
|
|
61
61
|
*
|
|
62
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
62
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
63
63
|
*/
|
|
64
64
|
export * as Transferable from "./Transferable.js";
|
|
65
65
|
/**
|
|
66
66
|
* @since 1.0.0
|
|
67
67
|
*
|
|
68
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
68
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
69
69
|
*/
|
|
70
70
|
export * as Worker from "./Worker.js";
|
|
71
71
|
/**
|
|
72
72
|
* @since 1.0.0
|
|
73
73
|
*
|
|
74
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
74
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
75
75
|
*/
|
|
76
76
|
export * as WorkerRunner from "./WorkerRunner.js";
|
|
77
77
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform-bun",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.2",
|
|
4
4
|
"description": "Unified interfaces for common platform-specific services",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
},
|
|
10
10
|
"sideEffects": [],
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@effect/platform": "^0.40.
|
|
13
|
-
"@effect/platform-node": "^0.40.
|
|
14
|
-
"effect": "^2.0.
|
|
12
|
+
"@effect/platform": "^0.40.2",
|
|
13
|
+
"@effect/platform-node": "^0.40.2",
|
|
14
|
+
"effect": "^2.0.2"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist/cjs/index.js",
|
|
17
17
|
"module": "./dist/esm/index.js",
|
package/src/Http/Platform.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/effect/platform/Http/Platform.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Etag from "@effect/platform/Http/Etag"
|
|
7
7
|
import type * as Platform from "@effect/platform/Http/Platform"
|
package/src/Http/Server.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/effect/platform/Http/Server.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Server from "@effect/platform/Http/Server"
|
|
7
7
|
import type { ServeOptions } from "bun"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Http/ServerRequest`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Http/ServerRequest`](https://effect-ts.github.io/effect/platform/Http/ServerRequest.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as ServerRequest from "@effect/platform/Http/ServerRequest"
|
|
7
7
|
import * as internal from "../internal/http/server.js"
|
package/src/HttpClient.ts
CHANGED
|
@@ -13,49 +13,49 @@ export {
|
|
|
13
13
|
/**
|
|
14
14
|
* @since 1.0.0
|
|
15
15
|
*
|
|
16
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
16
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
17
17
|
* - Module: `@effect/platform/Http/Body`
|
|
18
18
|
*/
|
|
19
19
|
body,
|
|
20
20
|
/**
|
|
21
21
|
* @since 1.0.0
|
|
22
22
|
*
|
|
23
|
-
* - Docs: [Http/Client](https://effect-ts.github.io/
|
|
23
|
+
* - Docs: [Http/Client](https://effect-ts.github.io/effect/platform/Http/Client.ts.html)
|
|
24
24
|
* - Module: `@effect/platform/Http/Client`
|
|
25
25
|
*/
|
|
26
26
|
client,
|
|
27
27
|
/**
|
|
28
28
|
* @since 1.0.0
|
|
29
29
|
*
|
|
30
|
-
* - Docs: [Http/ClientError](https://effect-ts.github.io/
|
|
30
|
+
* - Docs: [Http/ClientError](https://effect-ts.github.io/effect/platform/Http/ClientError.ts.html)
|
|
31
31
|
* - Module: `@effect/platform/Http/ClientError`
|
|
32
32
|
*/
|
|
33
33
|
error,
|
|
34
34
|
/**
|
|
35
35
|
* @since 1.0.0
|
|
36
36
|
*
|
|
37
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
37
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
38
38
|
* - Module: `@effect/platform/Http/Headers`
|
|
39
39
|
*/
|
|
40
40
|
headers,
|
|
41
41
|
/**
|
|
42
42
|
* @since 1.0.0
|
|
43
43
|
*
|
|
44
|
-
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/
|
|
44
|
+
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/effect/platform/Http/ClientRequest.ts.html)
|
|
45
45
|
* - Module: `@effect/platform/Http/ClientRequest`
|
|
46
46
|
*/
|
|
47
47
|
request,
|
|
48
48
|
/**
|
|
49
49
|
* @since 1.0.0
|
|
50
50
|
*
|
|
51
|
-
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/
|
|
51
|
+
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/effect/platform/Http/ClientResponse.ts.html)
|
|
52
52
|
* - Module: `@effect/platform/Http/ClientResponse`
|
|
53
53
|
*/
|
|
54
54
|
response,
|
|
55
55
|
/**
|
|
56
56
|
* @since 1.0.0
|
|
57
57
|
*
|
|
58
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
58
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
59
59
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
60
60
|
*/
|
|
61
61
|
urlParams
|
package/src/HttpServer.ts
CHANGED
|
@@ -18,21 +18,21 @@ export {
|
|
|
18
18
|
/**
|
|
19
19
|
* @since 1.0.0
|
|
20
20
|
*
|
|
21
|
-
* - Docs: [Http/App](https://effect-ts.github.io/
|
|
21
|
+
* - Docs: [Http/App](https://effect-ts.github.io/effect/platform/Http/App.ts.html)
|
|
22
22
|
* - Module: `@effect/platform/Http/App`
|
|
23
23
|
*/
|
|
24
24
|
app,
|
|
25
25
|
/**
|
|
26
26
|
* @since 1.0.0
|
|
27
27
|
*
|
|
28
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
28
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
29
29
|
* - Module: `@effect/platform/Http/Body`
|
|
30
30
|
*/
|
|
31
31
|
body,
|
|
32
32
|
/**
|
|
33
33
|
* @since 1.0.0
|
|
34
34
|
*
|
|
35
|
-
* - Docs: [Http/ServerError](https://effect-ts.github.io/
|
|
35
|
+
* - Docs: [Http/ServerError](https://effect-ts.github.io/effect/platform/Http/ServerError.ts.html)
|
|
36
36
|
* - Module: `@effect/platform/Http/ServerError`
|
|
37
37
|
*/
|
|
38
38
|
error,
|
|
@@ -46,14 +46,14 @@ export {
|
|
|
46
46
|
/**
|
|
47
47
|
* @since 1.0.0
|
|
48
48
|
*
|
|
49
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
49
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
50
50
|
* - Module: `@effect/platform/Http/Headers`
|
|
51
51
|
*/
|
|
52
52
|
headers,
|
|
53
53
|
/**
|
|
54
54
|
* @since 1.0.0
|
|
55
55
|
*
|
|
56
|
-
* - Docs: [Http/Middleware](https://effect-ts.github.io/
|
|
56
|
+
* - Docs: [Http/Middleware](https://effect-ts.github.io/effect/platform/Http/Middleware.ts.html)
|
|
57
57
|
* - Module: `@effect/platform/Http/Middleware`
|
|
58
58
|
*/
|
|
59
59
|
middleware,
|
|
@@ -74,14 +74,14 @@ export {
|
|
|
74
74
|
/**
|
|
75
75
|
* @since 1.0.0
|
|
76
76
|
*
|
|
77
|
-
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/
|
|
77
|
+
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/effect/platform/Http/ServerResponse.ts.html)
|
|
78
78
|
* - Module: `@effect/platform/Http/ServerResponse`
|
|
79
79
|
*/
|
|
80
80
|
response,
|
|
81
81
|
/**
|
|
82
82
|
* @since 1.0.0
|
|
83
83
|
*
|
|
84
|
-
* - Docs: [Http/Router](https://effect-ts.github.io/
|
|
84
|
+
* - Docs: [Http/Router](https://effect-ts.github.io/effect/platform/Http/Router.ts.html)
|
|
85
85
|
* - Module: `@effect/platform/Http/Router`
|
|
86
86
|
*/
|
|
87
87
|
router,
|
|
@@ -95,7 +95,7 @@ export {
|
|
|
95
95
|
/**
|
|
96
96
|
* @since 1.0.0
|
|
97
97
|
*
|
|
98
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
98
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
99
99
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
100
100
|
*/
|
|
101
101
|
urlParams
|
package/src/KeyValueStore.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
export * from "@effect/platform/KeyValueStore"
|
package/src/Transferable.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
export * from "@effect/platform/Transferable"
|
package/src/Worker.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Worker from "@effect/platform/Worker"
|
|
7
7
|
import type * as Schema from "@effect/schema/Schema"
|
package/src/WorkerRunner.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type { WorkerError } from "@effect/platform/WorkerError"
|
|
7
7
|
import type * as Runner from "@effect/platform/WorkerRunner"
|
package/src/index.ts
CHANGED
|
@@ -41,7 +41,7 @@ export * as HttpServer from "./HttpServer.js"
|
|
|
41
41
|
/**
|
|
42
42
|
* @since 1.0.0
|
|
43
43
|
*
|
|
44
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
44
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
45
45
|
*/
|
|
46
46
|
export * as KeyValueStore from "./KeyValueStore.js"
|
|
47
47
|
|
|
@@ -73,20 +73,20 @@ export * as Terminal from "./Terminal.js"
|
|
|
73
73
|
/**
|
|
74
74
|
* @since 1.0.0
|
|
75
75
|
*
|
|
76
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
76
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
77
77
|
*/
|
|
78
78
|
export * as Transferable from "./Transferable.js"
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* @since 1.0.0
|
|
82
82
|
*
|
|
83
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
83
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
84
84
|
*/
|
|
85
85
|
export * as Worker from "./Worker.js"
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* @since 1.0.0
|
|
89
89
|
*
|
|
90
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
90
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
91
91
|
*/
|
|
92
92
|
export * as WorkerRunner from "./WorkerRunner.js"
|