@sockethub/server 5.0.0-alpha.6 → 5.0.0-alpha.7
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/index.js +166465 -0
- package/dist/index.js.map +1877 -0
- package/package.json +46 -31
- package/sockethub.config.example.json +0 -32
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sockethub/server",
|
|
3
3
|
"description": "A polyglot messaging service, server libraries",
|
|
4
|
-
"version": "5.0.0-alpha.
|
|
4
|
+
"version": "5.0.0-alpha.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"author": "Nick Jennings <nick@silverbucket.net>",
|
|
@@ -9,7 +9,20 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"main": "
|
|
12
|
+
"main": "dist/index.js",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"bun": "./src/index.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"src/",
|
|
22
|
+
"dist/",
|
|
23
|
+
"bin/",
|
|
24
|
+
"res/"
|
|
25
|
+
],
|
|
13
26
|
"bin": "bin/sockethub",
|
|
14
27
|
"preferGlobal": true,
|
|
15
28
|
"engines": {
|
|
@@ -41,45 +54,47 @@
|
|
|
41
54
|
},
|
|
42
55
|
"homepage": "https://sockethub.org",
|
|
43
56
|
"dependencies": {
|
|
44
|
-
"@sentry/bun": "^10.
|
|
45
|
-
"@sockethub/activity-streams": "^4.4.0-alpha.
|
|
46
|
-
"@sockethub/client": "^5.0.0-alpha.
|
|
47
|
-
"@sockethub/crypto": "^1.0.0-alpha.
|
|
48
|
-
"@sockethub/data-layer": "^1.0.0-alpha.
|
|
49
|
-
"@sockethub/schemas": "^3.0.0-alpha.
|
|
50
|
-
"body-parser": "1.20.
|
|
51
|
-
"chalk": "^5.
|
|
52
|
-
"debug": "4.3
|
|
53
|
-
"ejs": "3.1.10",
|
|
54
|
-
"express": "4.
|
|
57
|
+
"@sentry/bun": "^10.36.0",
|
|
58
|
+
"@sockethub/activity-streams": "^4.4.0-alpha.7",
|
|
59
|
+
"@sockethub/client": "^5.0.0-alpha.7",
|
|
60
|
+
"@sockethub/crypto": "^1.0.0-alpha.7",
|
|
61
|
+
"@sockethub/data-layer": "^1.0.0-alpha.7",
|
|
62
|
+
"@sockethub/schemas": "^3.0.0-alpha.7",
|
|
63
|
+
"body-parser": "^1.20.4",
|
|
64
|
+
"chalk": "^5.6.2",
|
|
65
|
+
"debug": "^4.4.3",
|
|
66
|
+
"ejs": "^3.1.10",
|
|
67
|
+
"express": "^4.22.1",
|
|
55
68
|
"express-rate-limit": "^8.2.1",
|
|
56
|
-
"jquery": "3.7.1",
|
|
57
|
-
"nconf": "0.12.1",
|
|
58
|
-
"socket.io": "4.7.5"
|
|
69
|
+
"jquery": "^3.7.1",
|
|
70
|
+
"nconf": "^0.12.1",
|
|
71
|
+
"socket.io": "^4.7.5"
|
|
59
72
|
},
|
|
60
73
|
"scripts": {
|
|
74
|
+
"build": "bun build src/index.ts --outdir dist --target node --format esm --sourcemap=external",
|
|
75
|
+
"clean": "rm -rf dist",
|
|
61
76
|
"dev": "DEBUG=sockethub* bun run --hot ./bin/sockethub --examples",
|
|
62
77
|
"start": "DEBUG=sockethub* bun run ./bin/sockethub"
|
|
63
78
|
},
|
|
64
79
|
"devDependencies": {
|
|
65
|
-
"@types/body-parser": "1.19.
|
|
80
|
+
"@types/body-parser": "^1.19.6",
|
|
66
81
|
"@types/bun": "latest",
|
|
67
|
-
"@types/debug": "4.1.12",
|
|
68
|
-
"@types/express": "4.17.
|
|
69
|
-
"@types/jquery": "3.5.
|
|
70
|
-
"@types/nconf": "0.10.
|
|
71
|
-
"@types/sinon": "17.0.
|
|
72
|
-
"jaribu": "2.2.3",
|
|
73
|
-
"sinon": "17.0.
|
|
82
|
+
"@types/debug": "^4.1.12",
|
|
83
|
+
"@types/express": "^4.17.25",
|
|
84
|
+
"@types/jquery": "^3.5.33",
|
|
85
|
+
"@types/nconf": "^0.10.7",
|
|
86
|
+
"@types/sinon": "^17.0.4",
|
|
87
|
+
"jaribu": "^2.2.3",
|
|
88
|
+
"sinon": "^17.0.2",
|
|
74
89
|
"web-streams-polyfill": "^3.3.3"
|
|
75
90
|
},
|
|
76
91
|
"optionalDependencies": {
|
|
77
|
-
"@sockethub/examples": "^1.0.0-alpha.
|
|
78
|
-
"@sockethub/platform-dummy": "3.0.0-alpha.
|
|
79
|
-
"@sockethub/platform-feeds": "4.0.0-alpha.
|
|
80
|
-
"@sockethub/platform-irc": "4.0.0-alpha.
|
|
81
|
-
"@sockethub/platform-metadata": "1.0.1-alpha.
|
|
82
|
-
"@sockethub/platform-xmpp": "5.0.0-alpha.
|
|
92
|
+
"@sockethub/examples": "^1.0.0-alpha.7",
|
|
93
|
+
"@sockethub/platform-dummy": "^3.0.0-alpha.7",
|
|
94
|
+
"@sockethub/platform-feeds": "^4.0.0-alpha.7",
|
|
95
|
+
"@sockethub/platform-irc": "^4.0.0-alpha.7",
|
|
96
|
+
"@sockethub/platform-metadata": "^1.0.1-alpha.2",
|
|
97
|
+
"@sockethub/platform-xmpp": "^5.0.0-alpha.7"
|
|
83
98
|
},
|
|
84
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "38927776c210a22bc54ceb86ccc7276c5f27b463"
|
|
85
100
|
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"activity-streams": {
|
|
3
|
-
"opts": {
|
|
4
|
-
"specialObjs": ["credentials"]
|
|
5
|
-
}
|
|
6
|
-
},
|
|
7
|
-
"examples": {
|
|
8
|
-
"enabled": false,
|
|
9
|
-
"secret": 1234567890
|
|
10
|
-
},
|
|
11
|
-
"sockethub": {
|
|
12
|
-
"port": 10550,
|
|
13
|
-
"host": "localhost",
|
|
14
|
-
"path": "/sockethub"
|
|
15
|
-
},
|
|
16
|
-
"log_file": "",
|
|
17
|
-
"platforms": [
|
|
18
|
-
"@sockethub/platform-dummy",
|
|
19
|
-
"@sockethub/platform-feeds",
|
|
20
|
-
"@sockethub/platform-irc",
|
|
21
|
-
"@sockethub/platform-xmpp"
|
|
22
|
-
],
|
|
23
|
-
"public": {
|
|
24
|
-
"protocol": "http",
|
|
25
|
-
"host": "localhost",
|
|
26
|
-
"port": 10550,
|
|
27
|
-
"path": "/"
|
|
28
|
-
},
|
|
29
|
-
"redis": {
|
|
30
|
-
"url": "redis://127.0.0.1:6379"
|
|
31
|
-
}
|
|
32
|
-
}
|