Update SAM example to v119; fix readme link
This commit is contained in:
parent
d63a8efc0d
commit
b8a1c5f2c0
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue