serverless-plugin-warmup 8.1.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -258,7 +258,7 @@ The permissions can also be added to all lambdas using setting the role to `IamR
258
258
  ```yaml
259
259
  provider:
260
260
  name: aws
261
- runtime: nodejs16.x
261
+ runtime: nodejs18.x
262
262
  iamRoleStatements:
263
263
  - Effect: 'Allow'
264
264
  Action:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverless-plugin-warmup",
3
- "version": "8.1.0",
3
+ "version": "8.2.0",
4
4
  "description": "Keep your lambdas warm during winter.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/warmer.js CHANGED
@@ -223,7 +223,7 @@ function addWarmUpFunctionToService(service, warmerName, warmerConfig) {
223
223
  memorySize: warmerConfig.memorySize,
224
224
  name: warmerConfig.name,
225
225
  ...(warmerConfig.architecture ? { architecture: warmerConfig.architecture } : {}),
226
- runtime: 'nodejs16.x',
226
+ runtime: 'nodejs18.x',
227
227
  package: warmerConfig.package,
228
228
  timeout: warmerConfig.timeout,
229
229
  ...(Object.keys(warmerConfig.environment).length