@anvia/server 1.0.4 → 1.0.8

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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  Server response helpers for the Anvia client protocol and explicitly generic event streams.
4
4
 
5
+ ## Bun
6
+
7
+ Bun 1.3.14 is the currently tested and supported runtime baseline:
8
+
9
+ ```sh
10
+ bun add @anvia/server @anvia/client
11
+ ```
12
+
13
+ Compatibility tests run these helpers through `Bun.serve`, covering framed JSONL and SSE,
14
+ resumable replay, cancellation cleanup, and installation from packed package artifacts.
15
+
5
16
  ## Client protocol responses
6
17
 
7
18
  Adapt native runtime events at the server boundary, then frame them for the client:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvia/server",
3
- "version": "1.0.4",
3
+ "version": "1.0.8",
4
4
  "description": "Server-side client protocol and generic event stream responses for Anvia.",
5
5
  "author": "anvia",
6
6
  "maintainer": "Indra Zulfi",
@@ -31,10 +31,10 @@
31
31
  "tsup": "^8.5.0",
32
32
  "typescript": "^5.9.3",
33
33
  "vitest": "^4.0.8",
34
- "@anvia/client": "1.0.4"
34
+ "@anvia/client": "1.0.8"
35
35
  },
36
36
  "peerDependencies": {
37
- "@anvia/client": "1.0.4"
37
+ "@anvia/client": "1.0.8"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "tsup src/index.ts --format esm --dts --sourcemap --clean",