@adminforth/agent 2.5.3 → 2.5.5

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.
@@ -0,0 +1,5 @@
1
+ # protobufjs (via @ricky0123/vad-web -> onnxruntime-web) ships a postinstall that
2
+ # generates its CLI typings — irrelevant for a browser bundle, so deny the build.
3
+ # Without an explicit decision pnpm >=11 fails the install with ERR_PNPM_IGNORED_BUILDS.
4
+ allowBuilds:
5
+ protobufjs: false
@@ -58,7 +58,7 @@ export function setupSessionEndpoints(ctx, server) {
58
58
  const sessionId = data.sessionId;
59
59
  const session = yield ctx.adminforth.resource(ctx.options.sessionResource.resourceId).get([Filters.EQ(ctx.options.sessionResource.idField, sessionId)]);
60
60
  if (!session) {
61
- response.setStatus(404, 'Session not found');
61
+ response.setStatus(404);
62
62
  return {
63
63
  error: 'Session not found'
64
64
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/agent",
3
- "version": "2.5.3",
3
+ "version": "2.5.5",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",