serverless-newrelic-lambda-layers
Advanced tools
Comparing version 1.1.2 to 1.1.4
@@ -265,2 +265,3 @@ "use strict"; | ||
"nodejs12.x", | ||
"nodejs14.x", | ||
"nodejs8.10", | ||
@@ -310,2 +311,5 @@ "python2.7", | ||
: this.config.accountId; | ||
if (this.config.enableDistributedTracing) { | ||
environment.NEW_RELIC_DISTRIBUTED_TRACING_ENABLED = "true"; | ||
} | ||
environment.NEW_RELIC_TRUSTED_ACCOUNT_KEY = environment.NEW_RELIC_TRUSTED_ACCOUNT_KEY | ||
@@ -389,3 +393,3 @@ ? environment.NEW_RELIC_TRUSTED_ACCOUNT_KEY | ||
getHandlerWrapper(runtime, handler) { | ||
if (["nodejs10.x", "nodejs12.x"].indexOf(runtime) !== -1) { | ||
if (["nodejs10.x", "nodejs12.x", "nodejs14.x"].indexOf(runtime) !== -1) { | ||
return "newrelic-lambda-wrapper.handler"; | ||
@@ -392,0 +396,0 @@ } |
{ | ||
"name": "serverless-newrelic-lambda-layers", | ||
"version": "1.1.2", | ||
"version": "1.1.4", | ||
"description": "Serverless plugin for NewRelic APM AWS Lambda layers.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69772
962