@coralogix/browser 2.8.3 โ†’ 2.8.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/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## 2.8.5 (2025-06-25)
2
+
3
+ ### ๐Ÿฉน Fixes
4
+
5
+ - **web vitals:** add missing PerformanceNavigationTiming fields to LT event
6
+
7
+ ## 2.8.4 (2025-05-29)
8
+
9
+ ### ๐Ÿฉน Fixes & Improvements
10
+
11
+ ๐Ÿ›  Custom Spans
12
+
13
+ - Traceparent propagation: XHR and Fetch requests now correctly include the global span traceId when using custom spans.
14
+ - Improved span creation: Enhanced the logic for generating custom child spans for more accurate trace hierarchy.
15
+ - Interaction tracing: User interaction instrumentation is now correctly linked to the global span context.
16
+
17
+ ๐Ÿงน Logging
18
+
19
+ - Switched internal warning logs to debug level to reduce noise in production environments.
20
+
1
21
  ## 2.8.3 (2025-05-22)
2
22
 
3
23
  ### ๐Ÿ”ฅ Performance
package/README.md CHANGED
@@ -779,9 +779,16 @@ Labels can be added during span creation for additional context.
779
779
  const customTracer = CoralogixRum.getCustomTracer();
780
780
  const globalSpan = customTracer.startGlobalSpan('global-span', { page: 'posts' });
781
781
 
782
- globalSpan.withContext(() => {
783
- const customSpan = globalSpan.startCustomSpan('custom-span', { action: 'scroll' });
784
- customSpan.endSpan();
782
+ // Easily create custom spans for specific operations in your application.
783
+ globalSpan.startCustomSpan('submit-button', { action: 'click' }).endSpan();
784
+
785
+ // You can also use the with context method to modeling a specific flow in your application.
786
+ globalSpan.withContext(async () => {
787
+ globalSpan.startCustomSpan('get-data-btn', { action: 'click' }).endSpan();
788
+ const res = await fetch('my-api-endpoint');
789
+ globalSpan.startCustomSpan('click-on-first-row', { action: 'click' }).endSpan();
790
+
791
+ // ... your code
785
792
  });
786
793
 
787
794
  // note: End the global span only after the operation is complete.
package/index.esm2.js CHANGED
@@ -48,6 +48,46 @@ function generateUUID(placeholder) {
48
48
  : "".concat(1e7, "-").concat(1e3, "-").concat(4e3, "-").concat(8e3, "-").concat(1e11).replace(/[018]/g, generateUUID);
49
49
  }
50
50
 
51
+ var CoralogixEventType;
52
+ (function (CoralogixEventType) {
53
+ CoralogixEventType["ERROR"] = "error";
54
+ CoralogixEventType["NETWORK_REQUEST"] = "network-request";
55
+ CoralogixEventType["LOG"] = "log";
56
+ CoralogixEventType["USER_INTERACTION"] = "user-interaction";
57
+ CoralogixEventType["WEB_VITALS"] = "web-vitals";
58
+ CoralogixEventType["LONG_TASK"] = "longtask";
59
+ CoralogixEventType["RESOURCES"] = "resources";
60
+ CoralogixEventType["INTERNAL"] = "internal";
61
+ CoralogixEventType["DOM"] = "dom";
62
+ CoralogixEventType["CUSTOM_MEASUREMENT"] = "custom-measurement";
63
+ CoralogixEventType["MEMORY_USAGE"] = "memory-usage";
64
+ CoralogixEventType["SCREENSHOT"] = "screenshot";
65
+ CoralogixEventType["CUSTOM_SPAN"] = "custom-span";
66
+ CoralogixEventType["WORKER"] = "web-worker";
67
+ })(CoralogixEventType || (CoralogixEventType = {}));
68
+ var PerformanceTypes;
69
+ (function (PerformanceTypes) {
70
+ PerformanceTypes["Resource"] = "resource";
71
+ PerformanceTypes["LongTask"] = "longtask";
72
+ PerformanceTypes["Navigation"] = "navigation";
73
+ PerformanceTypes["SoftNavigation"] = "soft-navigation";
74
+ })(PerformanceTypes || (PerformanceTypes = {}));
75
+ var OtelNetworkAttrs;
76
+ (function (OtelNetworkAttrs) {
77
+ OtelNetworkAttrs["METHOD"] = "http.method";
78
+ OtelNetworkAttrs["URL"] = "http.url";
79
+ OtelNetworkAttrs["STATUS_CODE"] = "http.status_code";
80
+ OtelNetworkAttrs["HOST"] = "http.host";
81
+ OtelNetworkAttrs["SCHEME"] = "http.scheme";
82
+ OtelNetworkAttrs["STATUS_TEXT"] = "http.status_text";
83
+ OtelNetworkAttrs["RESPONSE_CONTENT_LENGTH"] = "http.response_content_length";
84
+ })(OtelNetworkAttrs || (OtelNetworkAttrs = {}));
85
+ var UrlType;
86
+ (function (UrlType) {
87
+ UrlType["PAGE"] = "page";
88
+ UrlType["NETWORK_REQUEST"] = "network_request";
89
+ })(UrlType || (UrlType = {}));
90
+
51
91
  function isFunction(funktion) {
52
92
  return typeof funktion === 'function';
53
93
  }
@@ -151,45 +191,6 @@ shimmer.unwrap = unwrap;
151
191
  shimmer.massUnwrap = massUnwrap;
152
192
  var shimmer_1 = shimmer;
153
193
 
154
- var CoralogixEventType;
155
- (function (CoralogixEventType) {
156
- CoralogixEventType["ERROR"] = "error";
157
- CoralogixEventType["NETWORK_REQUEST"] = "network-request";
158
- CoralogixEventType["LOG"] = "log";
159
- CoralogixEventType["USER_INTERACTION"] = "user-interaction";
160
- CoralogixEventType["WEB_VITALS"] = "web-vitals";
161
- CoralogixEventType["LONG_TASK"] = "longtask";
162
- CoralogixEventType["RESOURCES"] = "resources";
163
- CoralogixEventType["INTERNAL"] = "internal";
164
- CoralogixEventType["DOM"] = "dom";
165
- CoralogixEventType["CUSTOM_MEASUREMENT"] = "custom-measurement";
166
- CoralogixEventType["MEMORY_USAGE"] = "memory-usage";
167
- CoralogixEventType["SCREENSHOT"] = "screenshot";
168
- CoralogixEventType["CUSTOM_SPAN"] = "custom-span";
169
- })(CoralogixEventType || (CoralogixEventType = {}));
170
- var PerformanceTypes;
171
- (function (PerformanceTypes) {
172
- PerformanceTypes["Resource"] = "resource";
173
- PerformanceTypes["LongTask"] = "longtask";
174
- PerformanceTypes["Navigation"] = "navigation";
175
- PerformanceTypes["SoftNavigation"] = "soft-navigation";
176
- })(PerformanceTypes || (PerformanceTypes = {}));
177
- var OtelNetworkAttrs;
178
- (function (OtelNetworkAttrs) {
179
- OtelNetworkAttrs["METHOD"] = "http.method";
180
- OtelNetworkAttrs["URL"] = "http.url";
181
- OtelNetworkAttrs["STATUS_CODE"] = "http.status_code";
182
- OtelNetworkAttrs["HOST"] = "http.host";
183
- OtelNetworkAttrs["SCHEME"] = "http.scheme";
184
- OtelNetworkAttrs["STATUS_TEXT"] = "http.status_text";
185
- OtelNetworkAttrs["RESPONSE_CONTENT_LENGTH"] = "http.response_content_length";
186
- })(OtelNetworkAttrs || (OtelNetworkAttrs = {}));
187
- var UrlType;
188
- (function (UrlType) {
189
- UrlType["PAGE"] = "page";
190
- UrlType["NETWORK_REQUEST"] = "network_request";
191
- })(UrlType || (UrlType = {}));
192
-
193
194
  var CoralogixLogSeverity;
194
195
  (function (CoralogixLogSeverity) {
195
196
  CoralogixLogSeverity[CoralogixLogSeverity["Debug"] = 1] = "Debug";
@@ -298,7 +299,7 @@ function clearGlobalSpan() {
298
299
  function setCustomTracer(customTracer) {
299
300
  CxGlobal[CUSTOM_TRACER_KEY] = customTracer;
300
301
  }
301
- function getCustomTracer() {
302
+ function getActiveCustomTracer() {
302
303
  return CxGlobal[CUSTOM_TRACER_KEY];
303
304
  }
304
305
  function setCustomTracerIgnoredInstruments(ignoredInstruments) {
@@ -313,13 +314,8 @@ function shouldAttachSpanToGlobalSpan(instrumentationType) {
313
314
  !((_a = getCustomTracerIgnoredInstruments()) === null || _a === void 0 ? void 0 : _a.includes(instrumentationType)));
314
315
  }
315
316
  function attachChildSpanToGlobalSpan(name) {
316
- var span;
317
317
  var globalSpan = getGlobalSpan();
318
- globalSpan.withContext(function () {
319
- var childSpan = globalSpan.startCustomSpan(name);
320
- span = childSpan.span;
321
- });
322
- return span;
318
+ return globalSpan.startCustomSpan(name).span;
323
319
  }
324
320
 
325
321
  var IS_OTEL_READY = 'otelReady';
@@ -1702,24 +1698,8 @@ var CoralogixWebVitalsInstrumentation = /** @class */ (function (_super) {
1702
1698
  var loadingPageObserver = new PerformanceObserver(function (list) {
1703
1699
  var loadTimeMetric;
1704
1700
  list.getEntries().forEach(function (entry) {
1705
- var _a = entry, duration = _a.duration, name = _a.name, type = _a.type, activationStart = _a.activationStart, domComplete = _a.domComplete, domContentLoadedEventEnd = _a.domContentLoadedEventEnd, domContentLoadedEventStart = _a.domContentLoadedEventStart, domInteractive = _a.domInteractive, loadEventEnd = _a.loadEventEnd, loadEventStart = _a.loadEventStart, redirectCount = _a.redirectCount, unloadEventStart = _a.unloadEventStart, unloadEventEnd = _a.unloadEventEnd;
1706
- loadTimeMetric = {
1707
- name: 'LT',
1708
- id: generateWebVitalUniqueID(),
1709
- value: duration,
1710
- url: name,
1711
- navigationType: type,
1712
- activationStart: activationStart,
1713
- domComplete: domComplete,
1714
- domContentLoadedEventEnd: domContentLoadedEventEnd,
1715
- domContentLoadedEventStart: domContentLoadedEventStart,
1716
- domInteractive: domInteractive,
1717
- loadEventEnd: loadEventEnd,
1718
- loadEventStart: loadEventStart,
1719
- redirectCount: redirectCount,
1720
- unloadEventStart: unloadEventStart,
1721
- unloadEventEnd: unloadEventEnd,
1722
- };
1701
+ var _a = entry, duration = _a.duration, name = _a.name, type = _a.type;
1702
+ loadTimeMetric = __assign(__assign({}, deepClone(entry)), { name: 'LT', id: generateWebVitalUniqueID(), value: duration, url: name, navigationType: type });
1723
1703
  if (duration) {
1724
1704
  _this.onReport(loadTimeMetric);
1725
1705
  }
@@ -2084,10 +2064,10 @@ var CoralogixUserInteractionInstrumentation = /** @class */ (function (_super) {
2084
2064
  this.handler = function (e) {
2085
2065
  var span;
2086
2066
  if (shouldAttachSpanToGlobalSpan(CoralogixEventType.USER_INTERACTION)) {
2087
- span = attachChildSpanToGlobalSpan(USER_INTERACTION_INSTRUMENTATION_NAME);
2067
+ span = attachChildSpanToGlobalSpan(CoralogixEventType.USER_INTERACTION);
2088
2068
  }
2089
2069
  else {
2090
- span = _this.tracer.startSpan(USER_INTERACTION_INSTRUMENTATION_NAME);
2070
+ span = _this.tracer.startSpan(CoralogixEventType.USER_INTERACTION);
2091
2071
  }
2092
2072
  var eventTarget = e.target;
2093
2073
  var config = getSdkConfig();
@@ -2606,32 +2586,32 @@ var INSTRUMENTATIONS = [
2606
2586
  },
2607
2587
  {
2608
2588
  Instrument: CoralogixInternalInstrumentation,
2609
- confKey: INTERNAL_INSTRUMENTATION_NAME,
2589
+ confKey: CoralogixEventType.INTERNAL,
2610
2590
  disable: false,
2611
2591
  },
2612
2592
  {
2613
2593
  Instrument: CoralogixDOMInstrumentation,
2614
- confKey: DOM_INSTRUMENTATION_NAME,
2594
+ confKey: CoralogixEventType.DOM,
2615
2595
  disable: false,
2616
2596
  },
2617
2597
  {
2618
2598
  Instrument: CoralogixCustomMeasurementInstrumentation,
2619
- confKey: CUSTOM_MEASUREMENT_INSTRUMENTATION_NAME,
2599
+ confKey: CoralogixEventType.CUSTOM_MEASUREMENT,
2620
2600
  disable: false,
2621
2601
  },
2622
2602
  {
2623
2603
  Instrument: CoralogixMemoryUsageInstrumentation,
2624
- confKey: MEMORY_USAGE_INSTRUMENTATION_NAME,
2604
+ confKey: CoralogixEventType.MEMORY_USAGE,
2625
2605
  disable: false,
2626
2606
  },
2627
2607
  {
2628
2608
  Instrument: CoralogixScreenshotInstrumentation,
2629
- confKey: SCREENSHOT_INSTRUMENTATION_NAME,
2609
+ confKey: CoralogixEventType.SCREENSHOT,
2630
2610
  disable: false,
2631
2611
  },
2632
2612
  {
2633
2613
  Instrument: CoralogixWorkerInstrumentation,
2634
- confKey: WORKER_INSTRUMENTATION,
2614
+ confKey: CoralogixEventType.WORKER,
2635
2615
  disable: false,
2636
2616
  },
2637
2617
  ];
@@ -4121,17 +4101,28 @@ var CxPropagator = /** @class */ (function () {
4121
4101
  };
4122
4102
  CxPropagator.prototype.inject = function (context, carrier, setter) {
4123
4103
  var _a, _b;
4104
+ function checkSpanContextChanges() {
4105
+ if (shouldAttachSpanToGlobalSpan(CoralogixEventType.NETWORK_REQUEST)) {
4106
+ var globalSpan = getGlobalSpan();
4107
+ var currentSpanContext = trace.getSpanContext(context);
4108
+ var globalTraceId = globalSpan.span.spanContext().traceId;
4109
+ if (currentSpanContext) {
4110
+ currentSpanContext.traceId = globalTraceId;
4111
+ context = trace.setSpanContext(context, currentSpanContext);
4112
+ }
4113
+ }
4114
+ }
4124
4115
  var allowedUrls = (_b = (_a = this.config.traceParentInHeader) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.allowedTracingUrls;
4116
+ var shouldInjectContext = true;
4125
4117
  if (allowedUrls) {
4126
4118
  var span = trace.getSpan(context);
4127
4119
  var url = span.attributes[OtelNetworkAttrs.URL];
4128
- var isUrlAllowed = isPatternMatch(url, allowedUrls, 'allowedTracingUrls');
4129
- if (isUrlAllowed) {
4130
- this.internalPropagator.inject(context, carrier, setter);
4131
- }
4132
- return;
4120
+ shouldInjectContext = isPatternMatch(url, allowedUrls, 'allowedTracingUrls');
4121
+ }
4122
+ if (shouldInjectContext) {
4123
+ checkSpanContextChanges();
4124
+ this.internalPropagator.inject(context, carrier, setter);
4133
4125
  }
4134
- this.internalPropagator.inject(context, carrier, setter);
4135
4126
  };
4136
4127
  return CxPropagator;
4137
4128
  }());
@@ -4210,7 +4201,7 @@ function resolveUrlBlueprinters(urlBlueprinters) {
4210
4201
  return resolvedUrlBlueprinters;
4211
4202
  }
4212
4203
 
4213
- var SDK_VERSION = '2.8.3';
4204
+ var SDK_VERSION = '2.8.5';
4214
4205
 
4215
4206
  function shouldDropEvent(cxRumEvent, options) {
4216
4207
  if (isDocumentErrorWithoutMessage(cxRumEvent)) {
@@ -4729,8 +4720,8 @@ var CoralogixRum = {
4729
4720
  var _this = this;
4730
4721
  try {
4731
4722
  // Check if CoralogixRum already inited.
4732
- if (isInited) {
4733
- console.warn('CoralogixRum already inited.');
4723
+ if (isInited && (options === null || options === void 0 ? void 0 : options.debug)) {
4724
+ console.debug('CoralogixRum already initialized, skipping init');
4734
4725
  return;
4735
4726
  }
4736
4727
  // Abort if not in browser environment.
@@ -4769,7 +4760,7 @@ var CoralogixRum = {
4769
4760
  if (pluginConf) {
4770
4761
  var instrumentation = void 0;
4771
4762
  switch (confKey) {
4772
- case WORKER_INSTRUMENTATION: {
4763
+ case CoralogixEventType.WORKER: {
4773
4764
  if (resolvedOptions_1.workerSupport) {
4774
4765
  instrumentation = new Instrument(pluginConf, errorsInstrumentation, _this);
4775
4766
  }
@@ -4792,12 +4783,12 @@ var CoralogixRum = {
4792
4783
  instrumentation = new Instrument(__assign(__assign({}, pluginConf), { ignoreUrls: ignoreUrls_1, traceParentInHeader: traceParentInHeader_1 }));
4793
4784
  break;
4794
4785
  }
4795
- case INTERNAL_INSTRUMENTATION_NAME: {
4786
+ case CoralogixEventType.INTERNAL: {
4796
4787
  instrumentation = new Instrument(pluginConf);
4797
4788
  saveInternalRumData(INTERNAL_INSTRUMENTATION_NAME, instrumentation);
4798
4789
  break;
4799
4790
  }
4800
- case SCREENSHOT_INSTRUMENTATION_NAME: {
4791
+ case CoralogixEventType.SCREENSHOT: {
4801
4792
  if ((_c = resolvedOptions_1.sessionRecordingConfig) === null || _c === void 0 ? void 0 : _c.enable) {
4802
4793
  instrumentation = new Instrument(pluginConf);
4803
4794
  screenshotInstrumentation =
@@ -4805,7 +4796,7 @@ var CoralogixRum = {
4805
4796
  }
4806
4797
  break;
4807
4798
  }
4808
- case MEMORY_USAGE_INSTRUMENTATION_NAME: {
4799
+ case CoralogixEventType.MEMORY_USAGE: {
4809
4800
  if (resolvedOptions_1.memoryUsageConfig.enabled &&
4810
4801
  isMeasureUserAgentSpecificMemoryAllowed()) {
4811
4802
  instrumentation = new Instrument(pluginConf);
@@ -4872,7 +4863,7 @@ var CoralogixRum = {
4872
4863
  saveInternalRumData(NETWORK_URL_LABEL_PROVIDERS_KEY, networkUrlLabelProviders);
4873
4864
  isInited = true;
4874
4865
  if (options === null || options === void 0 ? void 0 : options.debug) {
4875
- console.info('Coralogix Browser SDK - initialization has completed');
4866
+ console.debug('Coralogix Browser SDK - initialization has completed');
4876
4867
  }
4877
4868
  reportInternalEvent('init');
4878
4869
  }
@@ -4890,7 +4881,7 @@ var CoralogixRum = {
4890
4881
  console.debug('Coralogix Browser SDK - TraceParentInHeader is not enabled');
4891
4882
  return;
4892
4883
  }
4893
- if (getCustomTracer()) {
4884
+ if (getActiveCustomTracer()) {
4894
4885
  console.warn('Coralogix Browser SDK - Custom tracer already exists');
4895
4886
  return;
4896
4887
  }
@@ -4899,7 +4890,7 @@ var CoralogixRum = {
4899
4890
  return {
4900
4891
  startGlobalSpan: function (name, labels) {
4901
4892
  if (getGlobalSpan()) {
4902
- console.warn('Coralogix Browser SDK - Global span already exists');
4893
+ console.warn('Coralogix Browser SDK - Global span already exists');
4903
4894
  return;
4904
4895
  }
4905
4896
  setCustomTracerIgnoredInstruments((ignoredList === null || ignoredList === void 0 ? void 0 : ignoredList.ignoredInstruments) || []);
@@ -4920,13 +4911,16 @@ var CoralogixRum = {
4920
4911
  clearGlobalSpan();
4921
4912
  },
4922
4913
  startCustomSpan: function (name, labels) {
4923
- var customSpan = tracer.startSpan(name);
4924
- customSpan[CoralogixAttributes.EVENT_TYPE] =
4925
- CoralogixEventType.CUSTOM_SPAN;
4926
- if (labels) {
4927
- setCustomLabelsForSpan(customSpan, labels);
4928
- }
4929
- markSpanAsOtelToSend(customSpan);
4914
+ var customSpan;
4915
+ context.with(trace.setSpan(context.active(), globalSpan), function () {
4916
+ customSpan = tracer.startSpan(name);
4917
+ customSpan[CoralogixAttributes.EVENT_TYPE] =
4918
+ CoralogixEventType.CUSTOM_SPAN;
4919
+ if (labels) {
4920
+ setCustomLabelsForSpan(customSpan, labels);
4921
+ }
4922
+ markSpanAsOtelToSend(customSpan);
4923
+ });
4930
4924
  return {
4931
4925
  span: customSpan,
4932
4926
  endSpan: function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coralogix/browser",
3
- "version": "2.8.3",
3
+ "version": "2.8.5",
4
4
  "description": "Official Coralogix SDK for browsers",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Coralogix",
@@ -5,7 +5,7 @@ export declare function setGlobalSpan(globalSpan: GlobalSpan): void;
5
5
  export declare function getGlobalSpan(): GlobalSpan;
6
6
  export declare function clearGlobalSpan(): void;
7
7
  export declare function setCustomTracer(customTracer: Tracer): void;
8
- export declare function getCustomTracer(): Tracer;
8
+ export declare function getActiveCustomTracer(): Tracer;
9
9
  export declare function clearCustomTracer(): void;
10
10
  export declare function setCustomTracerIgnoredInstruments(ignoredInstruments: CustomTracerIgnoredInstruments[]): void;
11
11
  export declare function getCustomTracerIgnoredInstruments(): CustomTracerIgnoredInstruments[];
@@ -1,8 +1,5 @@
1
1
  import { InstrumentationConfig } from '@opentelemetry/instrumentation';
2
- import { CUSTOM_MEASUREMENT_INSTRUMENTATION_NAME, DOM_INSTRUMENTATION_NAME, INTERNAL_INSTRUMENTATION_NAME, WORKER_INSTRUMENTATION } from './instrumentation.consts';
3
- import { MEMORY_USAGE_INSTRUMENTATION_NAME } from './memory-usage';
4
- import { SCREENSHOT_INSTRUMENTATION_NAME } from './screenshot/screenshot.utils';
5
- import { CoralogixOtelWebOptionsInstrumentations } from '../types';
2
+ import { CoralogixEventType, CoralogixOtelWebOptionsInstrumentations } from '../types';
6
3
  export interface CoralogixWebVitalsMetrics {
7
4
  lcp: boolean;
8
5
  fid: boolean;
@@ -34,6 +31,6 @@ export declare enum ResourceInitiatorTypes {
34
31
  }
35
32
  export type InternalInstrumentationConfig = {
36
33
  Instrument: any;
37
- confKey: keyof CoralogixOtelWebOptionsInstrumentations | typeof CUSTOM_MEASUREMENT_INSTRUMENTATION_NAME | typeof INTERNAL_INSTRUMENTATION_NAME | typeof DOM_INSTRUMENTATION_NAME | typeof MEMORY_USAGE_INSTRUMENTATION_NAME | typeof SCREENSHOT_INSTRUMENTATION_NAME | typeof WORKER_INSTRUMENTATION;
34
+ confKey: keyof CoralogixOtelWebOptionsInstrumentations | CoralogixEventType;
38
35
  disable: boolean;
39
36
  };
package/src/types.d.ts CHANGED
@@ -45,7 +45,8 @@ export declare enum CoralogixEventType {
45
45
  CUSTOM_MEASUREMENT = "custom-measurement",
46
46
  MEMORY_USAGE = "memory-usage",
47
47
  SCREENSHOT = "screenshot",
48
- CUSTOM_SPAN = "custom-span"
48
+ CUSTOM_SPAN = "custom-span",
49
+ WORKER = "web-worker"
49
50
  }
50
51
  export declare enum PerformanceTypes {
51
52
  Resource = "resource",
package/src/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.8.3";
1
+ export declare const SDK_VERSION = "2.8.5";