Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temporarily replace built-in webcrypto with @peculiar/webcrypto
The webcrypto API was introduced in Node 15. AWS Lambda (and by extension, Vercel and Netlify) only supports LTS versions of Node. Therefore, we need to use an alternative until Node 16 is supported. I tried replacing it with the built-in crypto module in Node, but I'm afraid it would be incorrect.
- Loading branch information
Showing
3 changed files
with
78 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3a52b18
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: