@sebspark/otel 1.1.1 → 1.1.2

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.
package/dist/index.js CHANGED
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
+ SpanStatusCode: () => import_api7.SpanStatusCode,
33
34
  context: () => import_api7.context,
34
35
  getLogger: () => getLogger,
35
36
  getMeter: () => getMeter,
@@ -950,6 +951,7 @@ var isSpan = (value) => value !== null && value !== void 0 && isFunction(value.s
950
951
  var isSpanOptions = (value) => value !== null && value !== void 0 && (!!value.startTime || !!value.attributes || !!value.kind) && !isSpan(value);
951
952
  // Annotate the CommonJS export names for ESM import in node:
952
953
  0 && (module.exports = {
954
+ SpanStatusCode,
953
955
  context,
954
956
  getLogger,
955
957
  getMeter,
package/dist/index.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  // src/index.ts
2
2
  import {
3
- context as context4
3
+ context as context4,
4
+ SpanStatusCode as SpanStatusCode4
4
5
  } from "@opentelemetry/api";
5
6
 
6
7
  // src/instrumentations.ts
@@ -941,6 +942,7 @@ var isFunction = (value) => typeof value === "function";
941
942
  var isSpan = (value) => value !== null && value !== void 0 && isFunction(value.spanContext) && isFunction(value.end);
942
943
  var isSpanOptions = (value) => value !== null && value !== void 0 && (!!value.startTime || !!value.attributes || !!value.kind) && !isSpan(value);
943
944
  export {
945
+ SpanStatusCode4 as SpanStatusCode,
944
946
  context4 as context,
945
947
  getLogger,
946
948
  getMeter,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/otel",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",