@jaypie/express 1.2.25 → 1.2.27
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/dist/cjs/index.cjs +10 -2
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +458 -0
- package/dist/cjs/{constants.d.ts → src/constants.d.ts} +1 -1
- package/dist/esm/index.d.ts +458 -13
- package/dist/esm/index.js +10 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{constants.d.ts → src/constants.d.ts} +1 -1
- package/dist/esm/src/index.d.ts +13 -0
- package/package.json +18 -6
- /package/dist/cjs/{adapter → src/adapter}/LambdaRequest.d.ts +0 -0
- /package/dist/cjs/{adapter → src/adapter}/LambdaResponseBuffered.d.ts +0 -0
- /package/dist/cjs/{adapter → src/adapter}/LambdaResponseStreaming.d.ts +0 -0
- /package/dist/cjs/{adapter → src/adapter}/__tests__/LambdaRequest.spec.d.ts +0 -0
- /package/dist/cjs/{adapter → src/adapter}/__tests__/LambdaResponseBuffered.spec.d.ts +0 -0
- /package/dist/cjs/{adapter → src/adapter}/__tests__/LambdaResponseStreaming.spec.d.ts +0 -0
- /package/dist/cjs/{adapter → src/adapter}/__tests__/debug-harness.d.ts +0 -0
- /package/dist/cjs/{adapter → src/adapter}/__tests__/integration.spec.d.ts +0 -0
- /package/dist/cjs/{adapter → src/adapter}/index.d.ts +0 -0
- /package/dist/cjs/{adapter → src/adapter}/types.d.ts +0 -0
- /package/dist/cjs/{cors.helper.d.ts → src/cors.helper.d.ts} +0 -0
- /package/dist/cjs/{decorateResponse.helper.d.ts → src/decorateResponse.helper.d.ts} +0 -0
- /package/dist/cjs/{echo.handler.d.ts → src/echo.handler.d.ts} +0 -0
- /package/dist/cjs/{expressHandler.d.ts → src/expressHandler.d.ts} +0 -0
- /package/dist/cjs/{expressStreamHandler.d.ts → src/expressStreamHandler.d.ts} +0 -0
- /package/dist/cjs/{fabricApiResponse.d.ts → src/fabricApiResponse.d.ts} +0 -0
- /package/dist/cjs/{getCurrentInvokeUuid.adapter.d.ts → src/getCurrentInvokeUuid.adapter.d.ts} +0 -0
- /package/dist/cjs/{http.handler.d.ts → src/http.handler.d.ts} +0 -0
- /package/dist/cjs/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/cjs/{routes.d.ts → src/routes.d.ts} +0 -0
- /package/dist/cjs/{summarizeRequest.helper.d.ts → src/summarizeRequest.helper.d.ts} +0 -0
- /package/dist/cjs/{summarizeResponse.helper.d.ts → src/summarizeResponse.helper.d.ts} +0 -0
- /package/dist/esm/{adapter → src/adapter}/LambdaRequest.d.ts +0 -0
- /package/dist/esm/{adapter → src/adapter}/LambdaResponseBuffered.d.ts +0 -0
- /package/dist/esm/{adapter → src/adapter}/LambdaResponseStreaming.d.ts +0 -0
- /package/dist/esm/{adapter → src/adapter}/__tests__/LambdaRequest.spec.d.ts +0 -0
- /package/dist/esm/{adapter → src/adapter}/__tests__/LambdaResponseBuffered.spec.d.ts +0 -0
- /package/dist/esm/{adapter → src/adapter}/__tests__/LambdaResponseStreaming.spec.d.ts +0 -0
- /package/dist/esm/{adapter → src/adapter}/__tests__/debug-harness.d.ts +0 -0
- /package/dist/esm/{adapter → src/adapter}/__tests__/integration.spec.d.ts +0 -0
- /package/dist/esm/{adapter → src/adapter}/index.d.ts +0 -0
- /package/dist/esm/{adapter → src/adapter}/types.d.ts +0 -0
- /package/dist/esm/{cors.helper.d.ts → src/cors.helper.d.ts} +0 -0
- /package/dist/esm/{decorateResponse.helper.d.ts → src/decorateResponse.helper.d.ts} +0 -0
- /package/dist/esm/{echo.handler.d.ts → src/echo.handler.d.ts} +0 -0
- /package/dist/esm/{expressHandler.d.ts → src/expressHandler.d.ts} +0 -0
- /package/dist/esm/{expressStreamHandler.d.ts → src/expressStreamHandler.d.ts} +0 -0
- /package/dist/esm/{fabricApiResponse.d.ts → src/fabricApiResponse.d.ts} +0 -0
- /package/dist/esm/{getCurrentInvokeUuid.adapter.d.ts → src/getCurrentInvokeUuid.adapter.d.ts} +0 -0
- /package/dist/esm/{http.handler.d.ts → src/http.handler.d.ts} +0 -0
- /package/dist/esm/{routes.d.ts → src/routes.d.ts} +0 -0
- /package/dist/esm/{summarizeRequest.helper.d.ts → src/summarizeRequest.helper.d.ts} +0 -0
- /package/dist/esm/{summarizeResponse.helper.d.ts → src/summarizeResponse.helper.d.ts} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { createLambdaHandler, createLambdaStreamHandler, getCurrentInvoke, LambdaRequest, LambdaResponseBuffered, LambdaResponseStreaming, } from "./adapter/index.js";
|
|
2
|
+
export type { ApiGatewayV1Event, CreateLambdaHandlerOptions, FunctionUrlEvent, LambdaContext, LambdaEvent, LambdaHandler, LambdaResponse, LambdaStreamHandler, ResponseStream, } from "./adapter/index.js";
|
|
3
|
+
export { EXPRESS } from "./constants.js";
|
|
4
|
+
export { default as cors } from "./cors.helper.js";
|
|
5
|
+
export type { CorsConfig } from "./cors.helper.js";
|
|
6
|
+
export { default as fabricApiResponse } from "./fabricApiResponse.js";
|
|
7
|
+
export { default as expressHandler } from "./expressHandler.js";
|
|
8
|
+
export type { ExpressHandlerLocals, ExpressHandlerOptions, JaypieHandlerSetup, JaypieHandlerTeardown, JaypieHandlerValidate, } from "./expressHandler.js";
|
|
9
|
+
export { default as expressHttpCodeHandler } from "./http.handler.js";
|
|
10
|
+
export { default as expressStreamHandler } from "./expressStreamHandler.js";
|
|
11
|
+
export type { ExpressStreamHandler, ExpressStreamHandlerLocals, ExpressStreamHandlerOptions, JaypieStreamHandlerSetup, JaypieStreamHandlerTeardown, JaypieStreamHandlerValidate, } from "./expressStreamHandler.js";
|
|
12
|
+
export { default as getCurrentInvokeUuid } from "./getCurrentInvokeUuid.adapter.js";
|
|
13
|
+
export * from "./routes.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaypie/express",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.27",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/finlaysonstudio/jaypie.git"
|
|
@@ -11,9 +11,14 @@
|
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
"import": {
|
|
15
|
+
"types": "./dist/esm/index.d.ts",
|
|
16
|
+
"default": "./dist/esm/index.js"
|
|
17
|
+
},
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/cjs/index.d.cts",
|
|
20
|
+
"default": "./dist/cjs/index.cjs"
|
|
21
|
+
}
|
|
17
22
|
}
|
|
18
23
|
},
|
|
19
24
|
"main": "./dist/cjs/index.cjs",
|
|
@@ -52,13 +57,20 @@
|
|
|
52
57
|
"@types/cors": "^2.8.17",
|
|
53
58
|
"@types/express": "^5.0.0",
|
|
54
59
|
"@types/node": "^22.13.1",
|
|
55
|
-
"express": "^
|
|
60
|
+
"express": "^5.1.0",
|
|
61
|
+
"rollup-plugin-dts": "^6.1.1",
|
|
56
62
|
"typescript": "^5.3.3"
|
|
57
63
|
},
|
|
58
64
|
"peerDependencies": {
|
|
59
65
|
"@jaypie/aws": "*",
|
|
60
66
|
"@jaypie/kit": "*",
|
|
61
|
-
"@jaypie/logger": "*"
|
|
67
|
+
"@jaypie/logger": "*",
|
|
68
|
+
"express": ">=4.0.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependenciesMeta": {
|
|
71
|
+
"express": {
|
|
72
|
+
"optional": true
|
|
73
|
+
}
|
|
62
74
|
},
|
|
63
75
|
"publishConfig": {
|
|
64
76
|
"access": "public"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/{getCurrentInvokeUuid.adapter.d.ts → src/getCurrentInvokeUuid.adapter.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/{getCurrentInvokeUuid.adapter.d.ts → src/getCurrentInvokeUuid.adapter.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|