@sentry/ember 7.90.0 → 7.92.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.
package/addon/index.ts CHANGED
@@ -94,7 +94,7 @@ export const instrumentRoutePerformance = <T extends RouteConstructor>(BaseRoute
94
94
  origin: 'auto.ui.ember',
95
95
  startTimestamp,
96
96
  })
97
- .finish();
97
+ .end();
98
98
  return result;
99
99
  };
100
100
 
@@ -132,13 +132,13 @@ export function _instrumentEmberRouter(
132
132
  if (nextInstance) {
133
133
  return;
134
134
  }
135
- activeTransaction?.finish();
135
+ activeTransaction?.end();
136
136
  getBackburner().off('end', finishActiveTransaction);
137
137
  };
138
138
 
139
139
  routerService.on('routeWillChange', (transition: Transition) => {
140
140
  const { fromRoute, toRoute } = getTransitionInformation(transition, routerService);
141
- activeTransaction?.finish();
141
+ activeTransaction?.end();
142
142
  activeTransaction = startTransaction({
143
143
  name: `route:${toRoute}`,
144
144
  op: 'navigation',
@@ -160,10 +160,10 @@ export function _instrumentEmberRouter(
160
160
  if (!transitionSpan || !activeTransaction) {
161
161
  return;
162
162
  }
163
- transitionSpan.finish();
163
+ transitionSpan.end();
164
164
 
165
165
  if (disableRunloopPerformance) {
166
- activeTransaction.finish();
166
+ activeTransaction.end();
167
167
  return;
168
168
  }
169
169
 
@@ -200,7 +200,7 @@ function _instrumentEmberRunloop(config: EmberSentryConfig): void {
200
200
  return;
201
201
  }
202
202
  if (currentQueueSpan) {
203
- currentQueueSpan.finish();
203
+ currentQueueSpan.end();
204
204
  }
205
205
  currentQueueStart = timestampInSeconds();
206
206
 
@@ -218,7 +218,7 @@ function _instrumentEmberRunloop(config: EmberSentryConfig): void {
218
218
  startTimestamp: currentQueueStart,
219
219
  endTimestamp: now,
220
220
  })
221
- .finish();
221
+ .end();
222
222
  }
223
223
  currentQueueStart = undefined;
224
224
  }
@@ -241,7 +241,7 @@ function _instrumentEmberRunloop(config: EmberSentryConfig): void {
241
241
  return;
242
242
  }
243
243
  if (currentQueueSpan) {
244
- currentQueueSpan.finish();
244
+ currentQueueSpan.end();
245
245
  currentQueueSpan = undefined;
246
246
  }
247
247
  });
@@ -378,7 +378,7 @@ function _instrumentInitialLoad(config: EmberSentryConfig): void {
378
378
  origin: 'auto.ui.ember',
379
379
  startTimestamp,
380
380
  });
381
- span?.finish(endTimestamp);
381
+ span?.end(endTimestamp);
382
382
  performance.clearMarks(startName);
383
383
  performance.clearMarks(endName);
384
384
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/ember",
3
- "version": "7.90.0",
3
+ "version": "7.92.0",
4
4
  "description": "Official Sentry SDK for Ember.js",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/ember",
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@embroider/macros": "^1.9.0",
35
- "@sentry/browser": "7.90.0",
36
- "@sentry/types": "7.90.0",
37
- "@sentry/utils": "7.90.0",
35
+ "@sentry/browser": "7.92.0",
36
+ "@sentry/types": "7.92.0",
37
+ "@sentry/utils": "7.92.0",
38
38
  "ember-auto-import": "^1.12.1 || ^2.4.3",
39
39
  "ember-cli-babel": "^7.26.11",
40
40
  "ember-cli-htmlbars": "^6.1.1",