18.0.4 • Published 6 months ago

ngx-bugatlas v18.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

NgxBugatlas

Dependencies

ngx-bugatlasAngular
0.0.214
0.0.315
0.0.716
17.1.317
18.0.418

Install

npm i ngx-bugatlas

Setup

Module based

import { NgxBugatlasModule, NgxBugatlasService } from 'ngx-bugatlas';

@NgModule({
  imports: [ NgxBugatlasModule ],
   providers: [
    {
      provide: ErrorHandler,   
      useClass: MyErrorHandler,
    },
  ],
})

export class AppModule {
  constructor(
    private ngxBugatlasService : NgxBugatlasService,
  )
  {
    const data = {
      api_key:'API_KEY',
      secret_key:'SECRET_KEY',
    }
    this.ngxBugatlasService.seConfigKey(data);
  }
 }
 

Standalone

app.config.ts

import { ApplicationConfig } from '@angular/core';
import { HTTP_INTERCEPTORS, provideHttpClient } from '@angular/common/http';
import { provideAnimations } from '@angular/platform-browser/animations';
import { MyErrorHandler} from 'ngx-bugatlas';


export const appConfig: ApplicationConfig = {
  providers: [
    provideHttpClient(),
   {
      provide: ErrorHandler,
      useClass: MyErrorHandler,
    },

  ]
};
 
 app.component.ts
 @Component({
  selector: 'app-root',
  standalone: true,
  imports: [RouterOutlet, HttpClientModule],
  templateUrl: './app.component.html',
  styleUrl: './app.component.css'
})
export class AppComponent {

  protected bugatlasService = inject(NgxBugatlasService)
  constructor() {
    const data = {
      api_key: 'API_KEY',
      secret_key: 'SECRET_KEY',
    };
    this.bugatlasService.seConfigKey(data);
  }
}

Note: The API_KEY and SECRET_KEY will provided by our team

License

MIT

Website

bugatlas.com

0.0.10

7 months ago

0.0.11

7 months ago

17.1.2

7 months ago

17.1.4

7 months ago

17.1.3

7 months ago

17.1.0

7 months ago

17.0.0

7 months ago

17.1.5

7 months ago

18.0.4

6 months ago

18.0.3

6 months ago

18.0.2

6 months ago

18.0.1

7 months ago

18.0.0

7 months ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago