Update SAM example to v119; fix readme link

This commit is contained in:
David Beitey 2023-11-14 09:12:16 +10:00
parent d63a8efc0d
commit b8a1c5f2c0
3 changed files with 5 additions and 5 deletions

View File

@ -16,4 +16,4 @@
sam local invoke ExampleFunction sam local invoke ExampleFunction
``` ```
This example connects to https://www.example.com and outputs the page's title as the function result. See the source code in [`app.mjs`](app.mjs) for more details. This example connects to https://www.example.com and outputs the page's title as the function result. See the source code in [`app.mjs`](functions/exampleFunction/app.mjs) for more details.

View File

@ -2,12 +2,12 @@
"name": "ExampleFunction", "name": "ExampleFunction",
"private": true, "private": true,
"version": "0.1.0", "version": "0.1.0",
"description": "AWS Lambda Function that loads Chromium", "description": "AWS Lambda Function that loads Chromium. Refer to https://github.com/Sparticuz/chromium#install for compatible versions.",
"main": "app.mjs", "main": "app.mjs",
"devDependencies": { "devDependencies": {
"@sparticuz/chromium": "^118.0.0" "@sparticuz/chromium": "^119.0.0"
}, },
"dependencies": { "dependencies": {
"puppeteer-core": "^21.4.0" "puppeteer-core": "^21.5.1"
} }
} }

View File

@ -4,6 +4,6 @@
"version": "1.0.0", "version": "1.0.0",
"description": "Chromium layer for AWS Lambda", "description": "Chromium layer for AWS Lambda",
"dependencies": { "dependencies": {
"@sparticuz/chromium": "^118.0.0" "@sparticuz/chromium": "^119.0.0"
} }
} }