@sentry/opentelemetry 8.0.0-alpha.4 → 8.0.0-alpha.5

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/esm/package.json CHANGED
@@ -1 +1 @@
1
- { "type": "module" }
1
+ {"type":"module","sideEffects":false}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/opentelemetry",
3
- "version": "8.0.0-alpha.4",
3
+ "version": "8.0.0-alpha.5",
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",
@@ -42,9 +42,9 @@
42
42
  "access": "public"
43
43
  },
44
44
  "dependencies": {
45
- "@sentry/core": "8.0.0-alpha.4",
46
- "@sentry/types": "8.0.0-alpha.4",
47
- "@sentry/utils": "8.0.0-alpha.4"
45
+ "@sentry/core": "8.0.0-alpha.5",
46
+ "@sentry/types": "8.0.0-alpha.5",
47
+ "@sentry/utils": "8.0.0-alpha.5"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@opentelemetry/api": "^1.0.0",
@@ -1 +1 @@
1
- {"version":3,"file":"getCurrentHub.d.ts","sourceRoot":"","sources":["../../../src/custom/getCurrentHub.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,GAAG,EAAuD,MAAM,eAAe,CAAC;AAmBjH;;;GAGG;AACH,wBAAgB,aAAa,IAAI,GAAG,CAiEnC"}
1
+ {"version":3,"file":"getCurrentHub.d.ts","sourceRoot":"","sources":["../../../src/custom/getCurrentHub.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,GAAG,EAAuD,MAAM,eAAe,CAAC;AAmBjH;;;GAGG;AACH,wBAAgB,aAAa,IAAI,GAAG,CAgEnC"}
package/types/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import { maybeCaptureExceptionForTimedEvent } from './utils/captureExceptionForTimedEvent';
2
1
  import { getRequestSpanData } from './utils/getRequestSpanData';
3
2
  export type { OpenTelemetryClient } from './types';
4
3
  export { wrapClientClass } from './custom/client';
@@ -25,7 +24,6 @@ export { getClient } from '@sentry/core';
25
24
  * @hidden
26
25
  */
27
26
  declare const _INTERNAL: {
28
- readonly maybeCaptureExceptionForTimedEvent: typeof maybeCaptureExceptionForTimedEvent;
29
27
  readonly getRequestSpanData: typeof getRequestSpanData;
30
28
  };
31
29
  export { _INTERNAL };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,MAAM,uCAAuC,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,WAAW,EACX,WAAW,EACX,eAAe,EACf,aAAa,GACd,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AAEnF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,iBAAiB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGvG,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD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.ts","sourceRoot":"","sources":["../../src/spanProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,KAAK,EAAE,IAAI,EAAE,aAAa,IAAI,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACnG,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAkDnE;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,kBAAmB,YAAW,sBAAsB;;IAO3F;;OAEG;IACI,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,GAAG,IAAI;IAWxD,kBAAkB;IACX,KAAK,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI;IAa9B;;;OAGG;IACH,SAAS,CAAC,uBAAuB,CAAC,KAAK,EAAE,IAAI,GAAG,OAAO;CAGxD"}
@@ -1 +1 @@
1
- {"version":3,"file":"mapStatus.d.ts","sourceRoot":"","sources":["../../../src/utils/mapStatus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAsC7C;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CA4BxD"}
1
+ {"version":3,"file":"mapStatus.d.ts","sourceRoot":"","sources":["../../../src/utils/mapStatus.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAuB7C;;GAEG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAwCxD"}
@@ -1,4 +1,3 @@
1
- import { maybeCaptureExceptionForTimedEvent } from './utils/captureExceptionForTimedEvent';
2
1
  import { getRequestSpanData } from './utils/getRequestSpanData';
3
2
  export { OpenTelemetryClient } from './types';
4
3
  export { wrapClientClass } from './custom/client';
@@ -25,7 +24,6 @@ export { getClient } from '@sentry/core';
25
24
  * @hidden
26
25
  */
27
26
  declare const _INTERNAL: {
28
- readonly maybeCaptureExceptionForTimedEvent: typeof maybeCaptureExceptionForTimedEvent;
29
27
  readonly getRequestSpanData: typeof getRequestSpanData;
30
28
  };
31
29
  export { _INTERNAL };
@@ -1,7 +0,0 @@
1
- import type { Span as OtelSpan, TimedEvent } from '@opentelemetry/sdk-trace-base';
2
- /**
3
- * Maybe capture a Sentry exception for an OTEL timed event.
4
- * This will check if the event is exception-like and in that case capture it as an exception.
5
- */
6
- export declare function maybeCaptureExceptionForTimedEvent(event: TimedEvent, otelSpan?: OtelSpan): void;
7
- //# sourceMappingURL=captureExceptionForTimedEvent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"captureExceptionForTimedEvent.d.ts","sourceRoot":"","sources":["../../../src/utils/captureExceptionForTimedEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,QAAQ,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAKlF;;;GAGG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CA6C/F"}
@@ -1,7 +0,0 @@
1
- import { Span as OtelSpan, TimedEvent } from '@opentelemetry/sdk-trace-base';
2
- /**
3
- * Maybe capture a Sentry exception for an OTEL timed event.
4
- * This will check if the event is exception-like and in that case capture it as an exception.
5
- */
6
- export declare function maybeCaptureExceptionForTimedEvent(event: TimedEvent, otelSpan?: OtelSpan): void;
7
- //# sourceMappingURL=captureExceptionForTimedEvent.d.ts.map