@sentry/ember 7.0.0-beta.2 → 7.0.0-rc.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.
|
@@ -380,7 +380,22 @@ export async function instrumentForPerformance(appInstance: ApplicationInstance)
|
|
|
380
380
|
}),
|
|
381
381
|
];
|
|
382
382
|
|
|
383
|
-
|
|
383
|
+
class FakeBrowserTracingClass {
|
|
384
|
+
static id = tracing.BROWSER_TRACING_INTEGRATION_ID;
|
|
385
|
+
public name = FakeBrowserTracingClass.id;
|
|
386
|
+
setupOnce() {
|
|
387
|
+
// noop - We're just faking this class for a lookup
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
if (
|
|
392
|
+
isTesting() &&
|
|
393
|
+
Sentry.getCurrentHub()?.getIntegration(
|
|
394
|
+
// This is a temporary hack because the BrowserTracing integration cannot have a static `id` field for tree
|
|
395
|
+
// shaking reasons. However, `getIntegration` needs that field.
|
|
396
|
+
FakeBrowserTracingClass,
|
|
397
|
+
)
|
|
398
|
+
) {
|
|
384
399
|
// Initializers are called more than once in tests, causing the integrations to not be setup correctly.
|
|
385
400
|
return;
|
|
386
401
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/ember",
|
|
3
|
-
"version": "7.0.0-
|
|
3
|
+
"version": "7.0.0-rc.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",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@embroider/macros": "~0.47.2",
|
|
33
|
-
"@sentry/browser": "7.0.0-
|
|
34
|
-
"@sentry/tracing": "7.0.0-
|
|
35
|
-
"@sentry/types": "7.0.0-
|
|
36
|
-
"@sentry/utils": "7.0.0-
|
|
33
|
+
"@sentry/browser": "7.0.0-rc.0",
|
|
34
|
+
"@sentry/tracing": "7.0.0-rc.0",
|
|
35
|
+
"@sentry/types": "7.0.0-rc.0",
|
|
36
|
+
"@sentry/utils": "7.0.0-rc.0",
|
|
37
37
|
"ember-auto-import": "~1.12.1 || ~2.2.0",
|
|
38
38
|
"ember-cli-babel": "~7.26.6",
|
|
39
39
|
"ember-cli-htmlbars": "^6.0.1",
|