@dokebi/sse 0.0.0-stage → 0.4.0

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/package.json CHANGED
@@ -1,6 +1,125 @@
1
1
  {
2
2
  "name": "@dokebi/sse",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.4.0",
4
+ "description": "Server-sent events for @dokebi/web: authenticated streams, rooms, cross-worker fan-out over @dokebi/event-bus, and a browser client",
5
+ "keywords": [
6
+ "dokebi",
7
+ "dokebi-plugin",
8
+ "web",
9
+ "sse",
10
+ "realtime"
11
+ ],
12
+ "private": false,
13
+ "type": "module",
14
+ "license": "MIT",
15
+ "main": "./dist/index.js",
16
+ "types": "./dist/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "import": "./dist/index.js"
21
+ },
22
+ "./client": {
23
+ "types": "./dist/client/index.d.ts",
24
+ "import": "./dist/client/index.js"
25
+ },
26
+ "./client/vue": {
27
+ "types": "./dist/client/vue.d.ts",
28
+ "import": "./dist/client/vue.js"
29
+ },
30
+ "./client/react": {
31
+ "types": "./dist/client/react.d.ts",
32
+ "import": "./dist/client/react.js"
33
+ },
34
+ "./client/bundle": "./dist/browser/sse-client.js"
35
+ },
36
+ "files": [
37
+ "dist",
38
+ "options.schema.json",
39
+ "README.md",
40
+ "AI.md",
41
+ "LICENSE"
42
+ ],
43
+ "engines": {
44
+ "node": ">=24.0.0"
45
+ },
46
+ "scripts": {
47
+ "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json && tsc -p tsconfig.browser.json && vite build -c vite.client.config.ts --logLevel warn && node -e \"import('./dist/options.js').then(async (m) => { const { renderOptionsSchema } = await import('@dokebi/core'); process.stdout.write(renderOptionsSchema(m.options)); })\" > options.schema.json",
48
+ "typecheck": "tsc -p tsconfig.test.json --noEmit",
49
+ "test": "node -e \"require('node:fs').rmSync('.tmp/tests',{recursive:true,force:true})\" && tsc -p tsconfig.test.json && node --experimental-eventsource --test \".tmp/tests/tests/*.test.js\""
50
+ },
51
+ "peerDependencies": {
52
+ "@dokebi/core": "^0.4.0",
53
+ "@dokebi/web": "^0.4.0",
54
+ "@dokebi/event-bus": "^0.4.0",
55
+ "fastify": "^5.12.7",
56
+ "react": ">=18",
57
+ "vue": "^3.3.0"
58
+ },
59
+ "peerDependenciesMeta": {
60
+ "@dokebi/event-bus": {
61
+ "optional": true
62
+ },
63
+ "react": {
64
+ "optional": true
65
+ },
66
+ "vue": {
67
+ "optional": true
68
+ }
69
+ },
70
+ "devDependencies": {
71
+ "@dokebi/cluster": "0.4.0",
72
+ "@dokebi/config": "0.4.0",
73
+ "@dokebi/event-bus": "0.4.0",
74
+ "@dokebi/health": "0.4.0",
75
+ "@dokebi/nats": "0.4.0",
76
+ "@dokebi/web": "0.4.0",
77
+ "react": "19.3.0",
78
+ "react-test-renderer": "19.3.0",
79
+ "vite": "8.3.4",
80
+ "vue": "3.5.44"
81
+ },
82
+ "dokebi": {
83
+ "schemaVersion": 2,
84
+ "id": "dokebi-sse",
85
+ "core": "^0.4.0",
86
+ "dependencies": [
87
+ {
88
+ "name": "dokebi-web",
89
+ "version": "^0.4.0"
90
+ },
91
+ {
92
+ "name": "dokebi-event-bus",
93
+ "version": "^0.4.0",
94
+ "optional": true
95
+ },
96
+ {
97
+ "name": "dokebi-health",
98
+ "version": "^0.4.0",
99
+ "optional": true
100
+ }
101
+ ],
102
+ "contributes": [
103
+ "dokebi-web:realtime"
104
+ ],
105
+ "installModule": "dist/install.js",
106
+ "optionsSchema": "options.schema.json",
107
+ "documentation": "AI.md"
108
+ },
109
+ "dokebiCatalog": {
110
+ "kind": "plugin",
111
+ "summary": "Server-sent events (SSE) streams and rooms, delivery across workers, and a browser client",
112
+ "maturity": "preview",
113
+ "provides": [
114
+ "realtime.sse"
115
+ ],
116
+ "doesNot": [
117
+ "No ACK, redelivery or retention (at most once)"
118
+ ],
119
+ "recipes": []
120
+ },
121
+ "publishConfig": {
122
+ "access": "public",
123
+ "registry": "https://registry.npmjs.org/"
124
+ }
125
+ }