You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@micro-sentry/angular

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@micro-sentry/angular - npm Package Compare versions

Comparing version

to
6.3.0

esm2022/lib/provide-micro-sentry.mjs

1

index.d.ts
export * from './lib/modules/micro-sentry.module';
export * from './lib/provide-micro-sentry';
export * from './lib/services/micro-sentry.service';

@@ -3,0 +4,0 @@ export * from './lib/services/micro-sentry-error-bus.service';

2

package.json
{
"name": "@micro-sentry/angular",
"version": "6.2.0",
"version": "6.3.0",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": ">=14.0.0",

@@ -40,5 +40,19 @@ # micro-sentry

Just add it into `app.module.ts` of your application:
You can use provide api in standalone applications:
```typescript
import { provideMicroSentry } from '@micro-sentry/angular';
bootstrapApplication(AppComponent, {
providers: [
provideMicroSentry({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
}),
],
});
```
Or add it into `app.module.ts` of your application:
```typescript
import { MicroSentryModule } from '@micro-sentry/angular';

@@ -48,2 +62,7 @@

imports: [
// option 1: via provide
provideMicroSentry({
dsn: 'https://kj12kj1n23@sentry.domain.com/123',
}),
// options 2: via module
MicroSentryModule.forRoot({

@@ -50,0 +69,0 @@ dsn: 'https://kj12kj1n23@sentry.domain.com/123',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet