@oas-tools/oas-telemetry 0.6.0 → 0.6.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oas-tools/oas-telemetry",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "This package exports an Express middleware that traces requests and responses of an Express application using OpenTelemetry.",
5
5
  "author": "Manuel Otero",
6
6
  "contributors": [
package/src/index.js CHANGED
@@ -42,7 +42,7 @@ export default function oasTelemetry(OasTlmConfig) {
42
42
  }
43
43
  }
44
44
  console.log("baseURL: ", globalOasTlmConfig.baseURL);
45
- globalOasTlmConfig.dynamicExporter.changeExporter( OasTlmConfig.exporter ?? new InMemoryExporter() );
45
+ globalOasTlmConfig.dynamicExporter.changeExporter( globalOasTlmConfig.exporter ?? new InMemoryExporter() );
46
46
 
47
47
  if (globalOasTlmConfig.spec)
48
48
  dbglog(`Spec content provided`);