@looopy-ai/aws 2.1.15 → 2.1.17
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.
|
@@ -2,6 +2,7 @@ import { getLogger } from '@looopy-ai/core';
|
|
|
2
2
|
import { Hono as BaseHono } from 'hono';
|
|
3
3
|
import { requestId } from 'hono/request-id';
|
|
4
4
|
import { handlePrompt } from './invocations/prompt';
|
|
5
|
+
const TIMEOUT_15_MINUTES = 15 * 60;
|
|
5
6
|
export const hono = (config) => {
|
|
6
7
|
const app = new BaseHono();
|
|
7
8
|
app.use(requestId());
|
|
@@ -90,7 +91,7 @@ export const hono = (config) => {
|
|
|
90
91
|
}
|
|
91
92
|
});
|
|
92
93
|
});
|
|
93
|
-
return app;
|
|
94
|
+
return Object.assign(app, { idleTimeout: TIMEOUT_15_MINUTES });
|
|
94
95
|
};
|
|
95
96
|
const getAuthContext = async (authorization, decoder) => {
|
|
96
97
|
if (!authorization || !decoder) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@looopy-ai/aws",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.17",
|
|
4
4
|
"description": "AWS storage and providers for Looopy AI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/looopy-ai/lib"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@smithy/types": "^4.9.0",
|
|
56
56
|
"hono": "^4.10.5",
|
|
57
57
|
"pino-http": "^11.0.0",
|
|
58
|
-
"@looopy-ai/core": "2.1.
|
|
58
|
+
"@looopy-ai/core": "2.1.15"
|
|
59
59
|
},
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|