Skip to content

Commit

Permalink
v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
astuyve committed Jul 18, 2023
1 parent 8956a5b commit 3f7ff21
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,8 @@ const handler = async (event, responseStream, _context) => {

module.exports.gzip = streamifyResponse(handler)
```

## Contributors
[AJ Stuyvenberg](https://github.com/astuyve)
[Luka Matic](https://github.com/maticluka999)
[Paulo Ricardo Xavier Giusti](https://github.com/prxg22)
5 changes: 4 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { APIGatewayProxyEventV2, Callback, Context } from 'aws-lambda';
import { ResponseStream } from './ResponseStream';
export declare function isInAWS(): boolean;
export declare function streamifyResponse(handler: Function): Function;
export type RequestHandler = (ev: APIGatewayProxyEventV2, streamResponse: ResponseStream, ctx?: Context, callback?: Callback) => any | Promise<any>;
export declare function streamifyResponse(handler: RequestHandler): RequestHandler;
export { ResponseStream } from './ResponseStream';
//# sourceMappingURL=index.d.ts.map
2 changes: 1 addition & 1 deletion dist/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lambda-stream",
"version": "0.4.0",
"version": "0.5.0",
"description": "awslambda.streamifyResponse, but locally and with typescript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 3f7ff21

Please sign in to comment.