@dokebi/sse 0.0.0-stage → 0.1.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/AI.md +132 -0
- package/LICENSE +21 -0
- package/README.md +83 -2
- package/dist/browser/sse-client.js +201 -0
- package/dist/client/index.d.ts +90 -0
- package/dist/client/index.js +353 -0
- package/dist/client/react.d.ts +18 -0
- package/dist/client/react.js +96 -0
- package/dist/client/vue.d.ts +15 -0
- package/dist/client/vue.js +64 -0
- package/dist/errors.d.ts +12 -0
- package/dist/errors.js +16 -0
- package/dist/gateway.d.ts +41 -0
- package/dist/gateway.js +733 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -0
- package/dist/install.d.ts +18 -0
- package/dist/install.js +24 -0
- package/dist/log.d.ts +25 -0
- package/dist/log.js +102 -0
- package/dist/options.d.ts +27 -0
- package/dist/options.js +63 -0
- package/dist/plugin.d.ts +6 -0
- package/dist/plugin.js +90 -0
- package/dist/types.d.ts +132 -0
- package/dist/types.js +4 -0
- package/dist/wire.d.ts +17 -0
- package/dist/wire.js +44 -0
- package/options.schema.json +73 -0
- package/package.json +101 -4
package/package.json
CHANGED
|
@@ -1,6 +1,103 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dokebi/sse",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "Server-sent events for @dokebi/web: authenticated streams, rooms, cross-worker fan-out over @dokebi/event-bus, and a browser client",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./client": {
|
|
16
|
+
"types": "./dist/client/index.d.ts",
|
|
17
|
+
"import": "./dist/client/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./client/vue": {
|
|
20
|
+
"types": "./dist/client/vue.d.ts",
|
|
21
|
+
"import": "./dist/client/vue.js"
|
|
22
|
+
},
|
|
23
|
+
"./client/react": {
|
|
24
|
+
"types": "./dist/client/react.d.ts",
|
|
25
|
+
"import": "./dist/client/react.js"
|
|
26
|
+
},
|
|
27
|
+
"./client/bundle": "./dist/browser/sse-client.js"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"dist",
|
|
31
|
+
"options.schema.json",
|
|
32
|
+
"README.md",
|
|
33
|
+
"AI.md",
|
|
34
|
+
"LICENSE"
|
|
35
|
+
],
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=24.0.0"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"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",
|
|
41
|
+
"typecheck": "tsc -p tsconfig.test.json --noEmit",
|
|
42
|
+
"test": "tsc -p tsconfig.test.json && node --experimental-eventsource --test \".tmp/tests/tests/*.test.js\""
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"@dokebi/core": "^0.2.0",
|
|
46
|
+
"@dokebi/web": "^0.2.0",
|
|
47
|
+
"@dokebi/event-bus": "^0.1.0",
|
|
48
|
+
"fastify": "^5.12.7",
|
|
49
|
+
"react": ">=18",
|
|
50
|
+
"vue": "^3.3.0"
|
|
51
|
+
},
|
|
52
|
+
"peerDependenciesMeta": {
|
|
53
|
+
"@dokebi/event-bus": {
|
|
54
|
+
"optional": true
|
|
55
|
+
},
|
|
56
|
+
"react": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"vue": {
|
|
60
|
+
"optional": true
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"@dokebi/cluster": "0.1.2",
|
|
65
|
+
"@dokebi/config": "0.2.3",
|
|
66
|
+
"@dokebi/event-bus": "0.1.2",
|
|
67
|
+
"@dokebi/health": "0.1.2",
|
|
68
|
+
"@dokebi/nats": "0.1.2",
|
|
69
|
+
"@dokebi/web": "0.2.0",
|
|
70
|
+
"react": "19.3.0",
|
|
71
|
+
"react-test-renderer": "19.3.0",
|
|
72
|
+
"vite": "8.3.4",
|
|
73
|
+
"vue": "3.5.44"
|
|
74
|
+
},
|
|
75
|
+
"dokebi": {
|
|
76
|
+
"schemaVersion": 2,
|
|
77
|
+
"id": "dokebi-sse",
|
|
78
|
+
"core": "^0.2.0",
|
|
79
|
+
"dependencies": [
|
|
80
|
+
{
|
|
81
|
+
"name": "dokebi-web",
|
|
82
|
+
"version": "^0.2.0"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "dokebi-event-bus",
|
|
86
|
+
"version": "^0.1.0",
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "dokebi-health",
|
|
91
|
+
"version": "^0.1.0",
|
|
92
|
+
"optional": true
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"installModule": "dist/install.js",
|
|
96
|
+
"optionsSchema": "options.schema.json",
|
|
97
|
+
"documentation": "AI.md"
|
|
98
|
+
},
|
|
99
|
+
"publishConfig": {
|
|
100
|
+
"access": "public",
|
|
101
|
+
"registry": "https://registry.npmjs.org/"
|
|
102
|
+
}
|
|
103
|
+
}
|