@teikyo/enkaku 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/lib/plugin.js +2 -0
  2. package/package.json +3 -3
package/lib/plugin.js CHANGED
@@ -83,6 +83,8 @@ function composeVerifyToken(first, second) {
83
83
  let disposing;
84
84
  ctx.onShutdown(async ()=>{
85
85
  disposing = server.dispose();
86
+ // Observed here so a rejection before the close hook is not unhandled; onClose reports it.
87
+ void disposing.catch(()=>{});
86
88
  await transport.dispose();
87
89
  });
88
90
  ctx.onClose(async ()=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teikyo/enkaku",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Enkaku RPC plugin for Sozai HTTP servers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,13 +24,13 @@
24
24
  "@enkaku/server": "^0.21.4",
25
25
  "@kokuin/capability": "^0.4.0",
26
26
  "@sozai/http-server": "^0.1.0",
27
- "@teikyo/access": "0.1.0"
27
+ "@teikyo/access": "^0.1.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@enkaku/client": "^0.21.3",
31
31
  "@enkaku/http-fetch": "^0.21.4",
32
32
  "@kokuin/token": "^0.5.0",
33
- "@teikyo/hozon": "0.1.0",
33
+ "@teikyo/hozon": "^0.1.1",
34
34
  "@types/node": "^26.6.4",
35
35
  "del-cli": "^7.0.0",
36
36
  "hono": "^4.13.13",