@kubun/hub 0.16.0 → 0.17.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/lib/hub-store.js +1 -1
- package/package.json +10 -10
package/lib/hub-store.js
CHANGED
|
@@ -226,7 +226,7 @@ export function createHubStore(params) {
|
|
|
226
226
|
logPosition: row.sequence_id
|
|
227
227
|
} : {}
|
|
228
228
|
}));
|
|
229
|
-
const cursor = messages.
|
|
229
|
+
const cursor = messages.at(-1)?.sequenceID ?? null;
|
|
230
230
|
return {
|
|
231
231
|
messages,
|
|
232
232
|
cursor,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubun/hub",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"license": "see LICENSE.md",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"@enkaku/server": "^0.21.2",
|
|
19
19
|
"@hono/node-server": "^2.1.1",
|
|
20
20
|
"@kokuin/token": "^0.5.0",
|
|
21
|
-
"@kubun/db-adapter": "^0.
|
|
22
|
-
"@kubun/db-provider": "^0.
|
|
23
|
-
"@kubun/http-util": "^0.
|
|
21
|
+
"@kubun/db-adapter": "^0.17.0",
|
|
22
|
+
"@kubun/db-provider": "^0.17.0",
|
|
23
|
+
"@kubun/http-util": "^0.17.0",
|
|
24
24
|
"@kumiai/hub-protocol": "^0.9.0",
|
|
25
25
|
"@kumiai/hub-server": "^0.9.0",
|
|
26
26
|
"@sozai/event": "^0.1.3",
|
|
27
27
|
"get-port": "^7.2.0",
|
|
28
|
-
"hono": "^4.13.
|
|
28
|
+
"hono": "^4.13.7",
|
|
29
29
|
"kysely": "^0.29.5"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@enkaku/http-fetch": "^0.21.0",
|
|
34
34
|
"@enkaku/protocol": "^0.21.1",
|
|
35
35
|
"@enkaku/transport": "^0.21.0",
|
|
36
|
-
"@kubun/db-better-sqlite": "^0.
|
|
37
|
-
"@kubun/db-node-sqlite": "^0.
|
|
38
|
-
"@kubun/db-postgres": "^0.
|
|
36
|
+
"@kubun/db-better-sqlite": "^0.17.0",
|
|
37
|
+
"@kubun/db-node-sqlite": "^0.17.0",
|
|
38
|
+
"@kubun/db-postgres": "^0.17.0",
|
|
39
39
|
"@kumiai/hub-conformance": "^0.9.0",
|
|
40
40
|
"@kumiai/mls": "^0.9.0",
|
|
41
41
|
"@sozai/async": "^0.2.1",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "pnpm run build:clean && pnpm run build:js && pnpm run build:types",
|
|
49
49
|
"build:clean": "del lib",
|
|
50
|
-
"build:js": "swc src -d ./lib --config-file ../../node_modules/@kigu/dev/swc.json --strip-leading-paths",
|
|
51
|
-
"build:types": "tsc --emitDeclarationOnly --skipLibCheck",
|
|
50
|
+
"build:js": "del 'lib/**/*.js' && swc src -d ./lib --config-file ../../node_modules/@kigu/dev/swc.json --strip-leading-paths",
|
|
51
|
+
"build:types": "del 'lib/**/*.d.ts' 'lib/**/*.d.ts.map' && tsc --emitDeclarationOnly --skipLibCheck",
|
|
52
52
|
"test:types": "tsc --noEmit -p tsconfig.test.json"
|
|
53
53
|
}
|
|
54
54
|
}
|