datadog-lambda-js
Advanced tools
Comparing version 3.54.0 to 3.55.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.datadogLambdaVersion = void 0; | ||
exports.datadogLambdaVersion = "3.54.0"; | ||
exports.datadogLambdaVersion = "3.55.0"; | ||
//# sourceMappingURL=constants.js.map |
"use strict"; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
var __spreadArray = (this && this.__spreadArray) || function (to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -14,4 +35,7 @@ exports.handler = void 0; | ||
if (index_1.getEnvValue("DD_TRACE_ENABLED", "true").toLowerCase() === "true") { | ||
// Looks for the function local version of dd-trace first, before using | ||
// the version provided by the layer | ||
var path = require.resolve("dd-trace", { paths: __spreadArray(["/var/task/node_modules"], __read(module.paths)) }); | ||
// tslint:disable-next-line:no-var-requires | ||
require("dd-trace").init({ | ||
require(path).init({ | ||
tags: { | ||
@@ -18,0 +42,0 @@ "_dd.origin": "lambda", |
@@ -27,4 +27,4 @@ "use strict"; | ||
exports.awsXrayDaemonAddressEnvVar = "AWS_XRAY_DAEMON_ADDRESS"; | ||
exports.ddtraceVersion = "0.32.1"; | ||
exports.ddtraceVersion = "0.34.0"; | ||
exports.apiGatewayEventV2 = "2.0"; | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "datadog-lambda-js", | ||
"version": "3.54.0", | ||
"version": "3.55.0", | ||
"description": "Lambda client library that supports hybrid tracing in node js", | ||
@@ -20,21 +20,21 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@types/aws-lambda": "^8.10.75", | ||
"@types/aws-lambda": "^8.10.76", | ||
"@types/aws-sdk": "^2.7.0", | ||
"@types/jest": "^26.0.22", | ||
"@types/jest": "^26.0.23", | ||
"@types/mock-fs": "4.13.0", | ||
"@types/nock": "^11.1.0", | ||
"@types/node": "^14.14.41", | ||
"@types/node": "^15.6.1", | ||
"@types/promise-retry": "^1.1.3", | ||
"@types/shimmer": "^1.0.1", | ||
"dd-trace": "0.32.1", | ||
"jest": "^26.6.3", | ||
"mock-fs": "4.13.0", | ||
"dd-trace": "0.34.0", | ||
"jest": "^27.0.1", | ||
"mock-fs": "4.14.0", | ||
"nock": "13.0.11", | ||
"prettier": "^2.2.1", | ||
"ts-jest": "^26.5.5", | ||
"prettier": "^2.3.0", | ||
"ts-jest": "^27.0.1", | ||
"tslint": "^6.1.3", | ||
"typescript": "^4.2.4" | ||
"typescript": "^4.3.2" | ||
}, | ||
"dependencies": { | ||
"aws-xray-sdk-core": "^3.3.1", | ||
"aws-xray-sdk-core": "^3.3.3", | ||
"bignumber.js": "^9.0.1", | ||
@@ -41,0 +41,0 @@ "hot-shots": "8.3.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
277065
3891
12
Updatedaws-xray-sdk-core@^3.3.3