@@ -48,3 +48,5 @@ /* | ||
const getConfigFileNames = () => | ||
[process.env.NEW_RELIC_CONFIG_FILENAME, 'newrelic.js', 'newrelic.cjs'].filter(Boolean) | ||
[process.env.NEW_RELIC_CONFIG_FILENAME, 'newrelic.js', 'newrelic.cjs', 'newrelic.mjs'].filter( | ||
Boolean | ||
) | ||
@@ -51,0 +53,0 @@ const getConfigFileLocations = () => |
@@ -12,2 +12,3 @@ /* | ||
const { dynamoMiddlewareConfig } = require('./dynamodb') | ||
const { lambdaMiddlewareConfig } = require('./lambda') | ||
const { bedrockMiddlewareConfig } = require('./bedrock') | ||
@@ -19,2 +20,3 @@ const MIDDLEWARE = Symbol('nrMiddleware') | ||
BedrockRuntime: [...middlewareConfig, bedrockMiddlewareConfig], | ||
Lambda: [...middlewareConfig, lambdaMiddlewareConfig], | ||
SNS: [...middlewareConfig, snsMiddlewareConfig], | ||
@@ -21,0 +23,0 @@ SQS: [...middlewareConfig, sqsMiddlewareConfig], |
@@ -252,5 +252,3 @@ /* | ||
'aws.lambda.arn': context.invokedFunctionArn, | ||
'aws.requestId': context.awsRequestId, | ||
'cloud.resource_id': context.invokedFunctionArn, | ||
'cloud.platform': 'aws_lambda' | ||
'aws.requestId': context.awsRequestId | ||
} | ||
@@ -257,0 +255,0 @@ |
{ | ||
"name": "newrelic", | ||
"version": "12.8.2", | ||
"version": "12.9.0", | ||
"author": "New Relic Node.js agent team <nodejs@newrelic.com>", | ||
@@ -164,3 +164,3 @@ "license": "Apache-2.0", | ||
"docs": "rm -rf ./out && jsdoc -c ./jsdoc-conf.jsonc --private -r .", | ||
"integration": "npm run prepare-test && npm run sub-install && BORP_CONF_FILE=.borp.int.yaml time c8 -o ./coverage/integration borp --timeout 600000 --reporter ./test/lib/test-reporter.mjs", | ||
"integration": "npm run sub-install && BORP_CONF_FILE=.borp.int.yaml time c8 -o ./coverage/integration borp --timeout 600000 --reporter ./test/lib/test-reporter.mjs", | ||
"integration:esm": "NODE_OPTIONS='--loader=./esm-loader.mjs' BORP_CONF_FILE=.borp.int-esm.yaml time c8 -o ./coverage/integration-esm borp --reporter ./test/lib/test-reporter.mjs", | ||
@@ -200,3 +200,3 @@ "prepare-test": "npm run docker-env", | ||
"@grpc/proto-loader": "^0.7.5", | ||
"@newrelic/security-agent": "^2.0.0", | ||
"@newrelic/security-agent": "^2.2.0", | ||
"@tyriar/fibonacci-heap": "^2.0.7", | ||
@@ -262,4 +262,3 @@ "concat-stream": "^2.0.0", | ||
"sinon": "^5.1.1", | ||
"superagent": "^9.0.1", | ||
"tap": "^16.3.4" | ||
"superagent": "^9.0.1" | ||
}, | ||
@@ -266,0 +265,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2110768
0.11%43
-2.27%306
0.33%41236
0.13%