@effect/platform-bun 4.0.0-beta.73 → 4.0.0-beta.75

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.
@@ -53,7 +53,7 @@ import * as BunServices from "./BunServices.ts";
53
53
  /**
54
54
  * Bun serve options accepted by the HTTP server, extended with typed route definitions.
55
55
  *
56
- * @category Options
56
+ * @category options
57
57
  * @since 4.0.0
58
58
  */
59
59
  export type ServeOptions<R extends string> = (Bun.Serve.UnixServeOptions<WebSocketContext> | Bun.Serve.HostnamePortServeOptions<WebSocketContext>) & {
@@ -5,9 +5,8 @@ import type { Teardown } from "effect/Runtime";
5
5
  *
6
6
  * **When to use**
7
7
  *
8
- * Use to run an Effect as your application's main program,
9
- * especially when you need structured error handling, log management,
10
- * interrupt support, or advanced teardown capabilities.
8
+ * Use to run a Bun application's main Effect with structured error handling,
9
+ * log management, interrupt support, or advanced teardown capabilities.
11
10
  *
12
11
  * **Details**
13
12
  *
@@ -31,9 +30,8 @@ export declare const runMain: {
31
30
  *
32
31
  * **When to use**
33
32
  *
34
- * Use to run an Effect as your application's main program,
35
- * especially when you need structured error handling, log management,
36
- * interrupt support, or advanced teardown capabilities.
33
+ * Use to run a Bun application's main Effect with structured error handling,
34
+ * log management, interrupt support, or advanced teardown capabilities.
37
35
  *
38
36
  * **Details**
39
37
  *
@@ -60,9 +58,8 @@ export declare const runMain: {
60
58
  *
61
59
  * **When to use**
62
60
  *
63
- * Use to run an Effect as your application's main program,
64
- * especially when you need structured error handling, log management,
65
- * interrupt support, or advanced teardown capabilities.
61
+ * Use to run a Bun application's main Effect with structured error handling,
62
+ * log management, interrupt support, or advanced teardown capabilities.
66
63
  *
67
64
  * **Details**
68
65
  *
@@ -1 +1 @@
1
- {"version":3,"file":"BunRuntime.d.ts","sourceRoot":"","sources":["../src/BunRuntime.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAA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EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,IAAI,CAAA;IACvC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,CAAC,CAAC,EAAE,CAAC,EACH,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EACpB,OAAO,CAAC,EAAE;QACR,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;QACpD,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;KACzC,GACA,IAAI,CAAA;CACc,CAAA"}
@@ -36,9 +36,8 @@ import * as NodeRuntime from "@effect/platform-node-shared/NodeRuntime";
36
36
  *
37
37
  * **When to use**
38
38
  *
39
- * Use to run an Effect as your application's main program,
40
- * especially when you need structured error handling, log management,
41
- * interrupt support, or advanced teardown capabilities.
39
+ * Use to run a Bun application's main Effect with structured error handling,
40
+ * log management, interrupt support, or advanced teardown capabilities.
42
41
  *
43
42
  * **Details**
44
43
  *
@@ -1 +1 @@
1
- {"version":3,"file":"BunRuntime.js","names":["NodeRuntime","runMain"],"sources":["../src/BunRuntime.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,OAAO,KAAKA,WAAW,MAAM,0CAA0C;AAIvE;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,OAAO,MAAMC,OAAO,GAgEhBD,WAAW,CAACC,OAAO","ignoreList":[]}
1
+ {"version":3,"file":"BunRuntime.js","names":["NodeRuntime","runMain"],"sources":["../src/BunRuntime.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,OAAO,KAAKA,WAAW,MAAM,0CAA0C;AAIvE;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,OAAO,MAAMC,OAAO,GA8DhBD,WAAW,CAACC,OAAO","ignoreList":[]}
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.73",
4
+ "version": "4.0.0-beta.75",
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.73"
48
+ "effect": "^4.0.0-beta.75"
49
49
  },
50
50
  "dependencies": {
51
- "@effect/platform-node-shared": "^4.0.0-beta.73"
51
+ "@effect/platform-node-shared": "^4.0.0-beta.75"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/bun": "^1.3.13",
55
- "effect": "^4.0.0-beta.73"
55
+ "effect": "^4.0.0-beta.75"
56
56
  },
57
57
  "scripts": {
58
58
  "codegen": "effect-utils codegen",
@@ -77,7 +77,7 @@ import * as BunStream from "./BunStream.ts"
77
77
  /**
78
78
  * Bun serve options accepted by the HTTP server, extended with typed route definitions.
79
79
  *
80
- * @category Options
80
+ * @category options
81
81
  * @since 4.0.0
82
82
  */
83
83
  export type ServeOptions<R extends string> =
package/src/BunRuntime.ts CHANGED
@@ -39,9 +39,8 @@ import type { Teardown } from "effect/Runtime"
39
39
  *
40
40
  * **When to use**
41
41
  *
42
- * Use to run an Effect as your application's main program,
43
- * especially when you need structured error handling, log management,
44
- * interrupt support, or advanced teardown capabilities.
42
+ * Use to run a Bun application's main Effect with structured error handling,
43
+ * log management, interrupt support, or advanced teardown capabilities.
45
44
  *
46
45
  * **Details**
47
46
  *
@@ -65,9 +64,8 @@ export const runMain: {
65
64
  *
66
65
  * **When to use**
67
66
  *
68
- * Use to run an Effect as your application's main program,
69
- * especially when you need structured error handling, log management,
70
- * interrupt support, or advanced teardown capabilities.
67
+ * Use to run a Bun application's main Effect with structured error handling,
68
+ * log management, interrupt support, or advanced teardown capabilities.
71
69
  *
72
70
  * **Details**
73
71
  *
@@ -96,9 +94,8 @@ export const runMain: {
96
94
  *
97
95
  * **When to use**
98
96
  *
99
- * Use to run an Effect as your application's main program,
100
- * especially when you need structured error handling, log management,
101
- * interrupt support, or advanced teardown capabilities.
97
+ * Use to run a Bun application's main Effect with structured error handling,
98
+ * log management, interrupt support, or advanced teardown capabilities.
102
99
  *
103
100
  * **Details**
104
101
  *