@kumiai/hub-store 0.10.1 → 0.11.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/README.md +7 -7
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -28,13 +28,13 @@ definition. Close the `HozonDB` when the host shuts down.
|
|
|
28
28
|
|
|
29
29
|
## Options
|
|
30
30
|
|
|
31
|
-
| Option
|
|
32
|
-
|
|
33
|
-
| `defaultRetention`
|
|
34
|
-
| `maxRetention`
|
|
35
|
-
| `maxDepth`
|
|
36
|
-
| `maxKeyPackagesPerDID`
|
|
37
|
-
| `maxSubscriptionsPerDID` | `1000`
|
|
31
|
+
| Option | Default | Meaning |
|
|
32
|
+
| ------------------------ | ------------------- | -------------------------------------------------------------------------------- |
|
|
33
|
+
| `defaultRetention` | `0` | Floor, in seconds, on how long a topic's frames are kept. |
|
|
34
|
+
| `maxRetention` | `2592000` (30 days) | Ceiling, in seconds, a subscribe may request. Above it the subscribe is refused. |
|
|
35
|
+
| `maxDepth` | `1000` | Retained log frames per topic. The oldest log frames are evicted first. |
|
|
36
|
+
| `maxKeyPackagesPerDID` | `100` | Ordinary key packages one DID may hold. An upload past it is refused. |
|
|
37
|
+
| `maxSubscriptionsPerDID` | `1000` | Distinct topics one DID may subscribe to. |
|
|
38
38
|
|
|
39
39
|
Set `maxRetention` or `maxDepth` to `Infinity` to disable that bound explicitly.
|
|
40
40
|
These defaults match the memory store. Periodic purge applies the age policy.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kumiai/hub-store",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "SQL hub store for Kumiai hubs, backed by Hozon",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hub",
|
|
@@ -25,21 +25,21 @@
|
|
|
25
25
|
"lib/*"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@hozon/adapter": "^0.
|
|
29
|
-
"@hozon/db": "^0.
|
|
30
|
-
"@kumiai/hub-protocol": "^0.
|
|
31
|
-
"@sozai/event": "^0.1.
|
|
28
|
+
"@hozon/adapter": "^0.2.0",
|
|
29
|
+
"@hozon/db": "^0.4.0",
|
|
30
|
+
"@kumiai/hub-protocol": "^0.11.0",
|
|
31
|
+
"@sozai/event": "^0.1.6"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@enkaku/client": "^0.
|
|
35
|
-
"@enkaku/protocol": "^0.
|
|
36
|
-
"@enkaku/transport": "^0.
|
|
37
|
-
"@hozon/node-sqlite": "^0.
|
|
38
|
-
"@hozon/postgres": "^0.
|
|
39
|
-
"@kokuin/token": "^0.
|
|
40
|
-
"@kumiai/hub-conformance": "^0.
|
|
41
|
-
"@kumiai/hub-server": "^0.
|
|
42
|
-
"@testcontainers/postgresql": "^12.1
|
|
34
|
+
"@enkaku/client": "^0.22.1",
|
|
35
|
+
"@enkaku/protocol": "^0.22.1",
|
|
36
|
+
"@enkaku/transport": "^0.22.1",
|
|
37
|
+
"@hozon/node-sqlite": "^0.2.0",
|
|
38
|
+
"@hozon/postgres": "^0.2.0",
|
|
39
|
+
"@kokuin/token": "^0.6.1",
|
|
40
|
+
"@kumiai/hub-conformance": "^0.11.0",
|
|
41
|
+
"@kumiai/hub-server": "^0.11.0",
|
|
42
|
+
"@testcontainers/postgresql": "^12.2.1"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=24"
|