@opentelemetry/instrumentation-aws-sdk
Advanced tools
Comparing version 0.39.0 to 0.39.1
@@ -26,3 +26,3 @@ "use strict"; | ||
this.requestPostSpanHook = (request) => { | ||
var _a, _b, _c; | ||
var _a, _b; | ||
switch (request.commandName) { | ||
@@ -40,6 +40,9 @@ case 'SendMessage': | ||
{ | ||
(_c = (_b = request.commandInput) === null || _b === void 0 ? void 0 : _b.Entries) === null || _c === void 0 ? void 0 : _c.forEach((messageParams) => { | ||
var _a; | ||
messageParams.MessageAttributes = (0, MessageAttributes_1.injectPropagationContext)((_a = messageParams.MessageAttributes) !== null && _a !== void 0 ? _a : {}); | ||
}); | ||
const entries = (_b = request.commandInput) === null || _b === void 0 ? void 0 : _b.Entries; | ||
if (Array.isArray(entries)) { | ||
entries.forEach((messageParams) => { | ||
var _a; | ||
messageParams.MessageAttributes = (0, MessageAttributes_1.injectPropagationContext)((_a = messageParams.MessageAttributes) !== null && _a !== void 0 ? _a : {}); | ||
}); | ||
} | ||
} | ||
@@ -46,0 +49,0 @@ break; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.39.0"; | ||
export declare const VERSION = "0.39.1"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.39.0'; | ||
exports.VERSION = '0.39.1'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/instrumentation-aws-sdk", | ||
"version": "0.39.0", | ||
"version": "0.39.1", | ||
"description": "OpenTelemetry automatic instrumentation for the `aws-sdk` package", | ||
@@ -73,3 +73,3 @@ "keywords": [ | ||
"sinon": "15.2.0", | ||
"test-all-versions": "6.0.0", | ||
"test-all-versions": "6.1.0", | ||
"ts-mocha": "10.0.0", | ||
@@ -81,3 +81,3 @@ "typescript": "4.4.4" | ||
}, | ||
"gitHead": "fcea8ca0c83cb1dcd8ac736e5ea4d22ff20dc982" | ||
"gitHead": "9d19ca4103bc72bd42e28979fee19bd08d85b721" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
228734
1622