@sentry/angular 7.45.0 → 7.46.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.
Files changed (2) hide show
  1. package/README.md +6 -7
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -76,26 +76,25 @@ see `ErrorHandlerOptions` interface in `src/errorhandler.ts`.
76
76
 
77
77
  ### Tracing
78
78
 
79
- `@sentry/angular` exports a Trace Service, Directive and Decorators that leverage the `@sentry/tracing` Tracing
80
- integration to add Angular related spans to transactions. If the Tracing integration is not enabled, this functionality
81
- will not work. The service itself tracks route changes and durations, where directive and decorators are tracking
79
+ `@sentry/angular` exports a Trace Service, Directive and Decorators that leverage the tracing
80
+ features to add Angular-related spans to transactions. If tracing is not enabled, this functionality
81
+ will not work. The SDK's `TraceService` itself tracks route changes and durations, while directive and decorators are tracking
82
82
  components initializations.
83
83
 
84
84
  #### Install
85
85
 
86
86
  Registering a Trace Service is a 3-step process.
87
87
 
88
- 1. Register and configure the `BrowserTracing` integration from `@sentry/tracing`, including custom Angular routing
88
+ 1. Register and configure the `BrowserTracing` integration, including custom Angular routing
89
89
  instrumentation:
90
90
 
91
91
  ```javascript
92
- import { init, instrumentAngularRouting } from '@sentry/angular';
93
- import { Integrations as TracingIntegrations } from '@sentry/tracing';
92
+ import { init, instrumentAngularRouting, BrowserTracing } from '@sentry/angular';
94
93
 
95
94
  init({
96
95
  dsn: '__DSN__',
97
96
  integrations: [
98
- new TracingIntegrations.BrowserTracing({
97
+ new BrowserTracing({
99
98
  tracingOrigins: ['localhost', 'https://yourserver.io/api'],
100
99
  routingInstrumentation: instrumentAngularRouting,
101
100
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/angular",
3
- "version": "7.45.0",
3
+ "version": "7.46.0",
4
4
  "description": "Official Sentry SDK for Angular",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/angular",
@@ -21,9 +21,9 @@
21
21
  "rxjs": "^6.5.5 || ^7.x"
22
22
  },
23
23
  "dependencies": {
24
- "@sentry/browser": "7.45.0",
25
- "@sentry/types": "7.45.0",
26
- "@sentry/utils": "7.45.0",
24
+ "@sentry/browser": "7.46.0",
25
+ "@sentry/types": "7.46.0",
26
+ "@sentry/utils": "7.46.0",
27
27
  "tslib": "^2.0.0"
28
28
  },
29
29
  "volta": {