-
Notifications
You must be signed in to change notification settings - Fork 42
Conversation
@lucacasonato fab! (sorry for the slow response), this looks good, I'll rerun the tests (for whatever reason they don't seem to run from other contributers), I suspect will need to update some references to Event... if Event is gone tests must fail. :) Aside: I'm glad to remove Event as that's a browser global. |
Ok, I have this working/passing tests. 672e4ea One thing I am wondering about is whether we should vendorize the types (to deno.land/x/lambda/mod.d.ts or something), that way it's a little easier for this to be included in the DENO_DIR... That said, it should be in the layer anyway since we do |
It might be a good idea to move it into this repo - we wouldn't be reliant on unpkg being up then. It would make updating the version slightly more work though.
You can change that here I think: https://github.com/hayd/deno-lambda/settings/actions. |
Sorry for the delay, I will rip this band aid (I was waiting for 0.28.0 but since I might skip this version - #19) and merge this next week. I'll write a tiny deno script which will download Including it in the repo seems a little cleaner, the slightly more work seems worth it. :) |
Sounds good. Deno 0.28.1 was just released to fix the linking to OpenSSL https://github.com/denoland/deno/releases/tag/v0.28.1. |
cc @brianleroux here too, just to note this would be a breaking API change. What we could do is keep the old Note, the layer caches |
thx for the heads up! nice thing about publishing to SAR is we get real semver so this shouldn't be an issue 👍 |
Merged in #23. I will add SAR later this weekend (sorry for the delay). I do wonder if we should define |
Thanks @lucacasonato ! |
Is there a clever way for deno to work out which types are exported so they'd show in the documentation? e.g. use named export rather than * ? https://deno.land/x/lambda/mod.ts?doc |
Not right now. export ... from ...; statements are currently ignored by the website. |
This gives access to all the AWS event types and responses.
The
Event
interface is gone and is replaced by different individual events likeAPIGatewayProxyEvent
. There are now also results:APIGatewayProxyResult
.