@sentry/opentelemetry 8.43.0 → 8.45.0

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.
@@ -1 +1 @@
1
- {"type":"module","version":"8.43.0","sideEffects":false}
1
+ {"type":"module","version":"8.45.0","sideEffects":false}
@@ -1,4 +1,5 @@
1
1
  import type { ReadableSpan } from '@opentelemetry/sdk-trace-base';
2
+ import type { TransactionEvent } from '@sentry/core';
2
3
  /**
3
4
  * A Sentry-specific exporter that converts OpenTelemetry Spans to Sentry Spans & Transactions.
4
5
  */
@@ -21,4 +22,6 @@ export declare class SentrySpanExporter {
21
22
  /** Clear the flush timeout. */
22
23
  private _clearTimeout;
23
24
  }
25
+ /** Exported only for tests. */
26
+ export declare function createTransactionForOtelSpan(span: ReadableSpan): TransactionEvent;
24
27
  //# sourceMappingURL=spanExporter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spanExporter.d.ts","sourceRoot":"","sources":["../../src/spanExporter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAoClE;;GAEG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,aAAa,CAA4C;IAkBjE,OAAO,CAAC,oBAAoB,CAAqC;IACjE,OAAO,CAAC,uBAAuB,CAAS;IACxC,OAAO,CAAC,mBAAmB,CAA4C;IACvE,OAAO,CAAC,wBAAwB,CAAS;gBAEtB,OAAO,CAAC,EAAE;QAC3B,4IAA4I;QAC5I,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;IAOD,4BAA4B;IACrB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAyCvC,kDAAkD;IAC3C,KAAK,IAAI,IAAI;IA2BpB,0BAA0B;IACnB,KAAK,IAAI,IAAI;IAKpB,+BAA+B;IAC/B,OAAO,CAAC,aAAa;CAMtB"}
1
+ {"version":3,"file":"spanExporter.d.ts","sourceRoot":"","sources":["../../src/spanExporter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,KAAK,EAKV,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AAkCtB;;GAEG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,aAAa,CAA4C;IAkBjE,OAAO,CAAC,oBAAoB,CAAqC;IACjE,OAAO,CAAC,uBAAuB,CAAS;IACxC,OAAO,CAAC,mBAAmB,CAA4C;IACvE,OAAO,CAAC,wBAAwB,CAAS;gBAEtB,OAAO,CAAC,EAAE;QAC3B,4IAA4I;QAC5I,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;IAOD,4BAA4B;IACrB,MAAM,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAyCvC,kDAAkD;IAC3C,KAAK,IAAI,IAAI;IA6BpB,0BAA0B;IACnB,KAAK,IAAI,IAAI;IAKpB,+BAA+B;IAC/B,OAAO,CAAC,aAAa;CAMtB;AAiED,+BAA+B;AAC/B,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,YAAY,GAAG,gBAAgB,CAqEjF"}
@@ -1,4 +1,5 @@
1
1
  import { ReadableSpan } from '@opentelemetry/sdk-trace-base';
2
+ import { TransactionEvent } from '@sentry/core';
2
3
  /**
3
4
  * A Sentry-specific exporter that converts OpenTelemetry Spans to Sentry Spans & Transactions.
4
5
  */
@@ -21,4 +22,6 @@ export declare class SentrySpanExporter {
21
22
  /** Clear the flush timeout. */
22
23
  private _clearTimeout;
23
24
  }
25
+ /** Exported only for tests. */
26
+ export declare function createTransactionForOtelSpan(span: ReadableSpan): TransactionEvent;
24
27
  //# sourceMappingURL=spanExporter.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/opentelemetry",
3
- "version": "8.43.0",
3
+ "version": "8.45.0",
4
4
  "description": "Official Sentry utilities for OpenTelemetry",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/opentelemetry",
@@ -39,7 +39,7 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@sentry/core": "8.43.0"
42
+ "@sentry/core": "8.45.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@opentelemetry/api": "^1.9.0",