ngx-matomo-client
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -62,3 +62,2 @@ import { EnvironmentProviders, Provider, Type } from '@angular/core'; | ||
export declare function withRouter(config?: MatomoRouterConfiguration): MatomoFeature; | ||
export declare function provideRouterInternal(config?: MatomoRouterConfiguration): Provider[]; | ||
/** Add some matomo router interceptors */ | ||
@@ -65,0 +64,0 @@ export declare function withRouterInterceptors(interceptors: Type<MatomoRouterInterceptor>[]): MatomoFeature; |
import { ModuleWithProviders } from '@angular/core'; | ||
import { MatomoRouterConfigurationWithInterceptors } from './router/configuration'; | ||
import { MatomoRouter } from './router/matomo-router.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class NgxMatomoRouterModule { | ||
private readonly router; | ||
constructor(router: MatomoRouter, parent?: NgxMatomoRouterModule); | ||
static forRoot({ interceptors, ...config }?: MatomoRouterConfigurationWithInterceptors): ModuleWithProviders<NgxMatomoRouterModule>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatomoRouterModule, never>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxMatomoRouterModule, [null, { optional: true; skipSelf: true; }]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxMatomoRouterModule, never, never, never>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<NgxMatomoRouterModule>; | ||
} |
{ | ||
"name": "ngx-matomo-client", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"author": "Emmanuel Roux (https://github.com/EmmanuelRoux)", | ||
@@ -5,0 +5,0 @@ "description": "Matomo (fka. Piwik) client for Angular applications", |
<h1 align="center"> | ||
<p><img src="https://github.com/EmmanuelRoux/ngx-matomo/blob/ef38fdae3a5e5b1d1cdb1c9ba9d3a753117b7d80/logo-small.png" alt="matomo-logo" style="height: 24px; vertical-align: middle;" /> ngx-matomo-client</p> | ||
<p>Matomo Analytics client for Angular</p> | ||
<div><img src="https://github.com/EmmanuelRoux/ngx-matomo/blob/ef38fdae3a5e5b1d1cdb1c9ba9d3a753117b7d80/logo-small.png" alt="matomo-logo" style="height: 24px; vertical-align: middle;" /> ngx-matomo-client</div> | ||
<div>Matomo Analytics client for Angular</div> | ||
</h1> | ||
<p align="center"> | ||
<a href="https://angular.io/"><img src="https://img.shields.io/badge/Angular-16-limegreen.svg?logo=angular" alt="Angular 16"></a> | ||
<a href="https://www.npmjs.com/package/ngx-matomo-client"><img src="https://img.shields.io/npm/v/ngx-matomo-client/latest.svg?logo=npm&logoColor=fff&label=NPM+package&color=limegreen" alt="NPM latest version"></a> | ||
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-limegreen.svg" alt="MIT license"></a> | ||
<a href="https://github.com/semantic-release/semantic-release"><img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-limegreen.svg" alt="semantic-release"></a> | ||
<a href="https://www.buymeacoffee.com/emmanuelroux"><img src="https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee" alt="Sponsorship"></a> | ||
</p> | ||
<div align="center"> | ||
@@ -19,23 +27,4 @@ <br> | ||
<br> | ||
<br> | ||
</div> | ||
<p align="center"> | ||
<a href="https://angular.io/"> | ||
<img src="https://img.shields.io/badge/Angular-16-limegreen.svg?logo=angular" alt="Angular 16"> | ||
</a> | ||
<a href="https://www.npmjs.com/package/ngx-matomo-client"> | ||
<img src="https://img.shields.io/npm/v/ngx-matomo-client/latest.svg?logo=npm&logoColor=fff&label=NPM+package&color=limegreen" alt="NPM latest version"> | ||
</a> | ||
<a href="https://opensource.org/licenses/MIT"> | ||
<img src="https://img.shields.io/badge/License-MIT-limegreen.svg" alt="MIT license"> | ||
</a> | ||
<a href="https://github.com/semantic-release/semantic-release"> | ||
<img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-limegreen.svg" alt="semantic-release"> | ||
</a> | ||
<a href="https://www.buymeacoffee.com/emmanuelroux"> | ||
<img src="https://img.shields.io/badge/-buy_me_a%C2%A0coffee-gray?logo=buy-me-a-coffee" alt="Sponsorship"> | ||
</a> | ||
</p> | ||
<hr> | ||
@@ -199,3 +188,3 @@ | ||
```ts | ||
import { | ||
import { | ||
provideMatomo, | ||
@@ -315,3 +304,3 @@ withRouter | ||
```ts | ||
import { | ||
import { | ||
provideMatomo, | ||
@@ -417,3 +406,3 @@ withRouter, | ||
```typescript | ||
import { | ||
import { | ||
withRouterInterceptors, | ||
@@ -648,4 +637,3 @@ MatomoRouterInterceptor | ||
Also, feel free to use the new `NgModule`-free way of providing `ngx-matomo-client` using `provideMatomo()` function instead of | ||
importing `NgxMatomoModule` and `NgxMatomoRouterModule`. | ||
Also, feel free to use the new `NgModule`-free way of providing `ngx-matomo-client` using `provideMatomo()` function instead of importing `NgxMatomoModule` and `NgxMatomoRouterModule`. | ||
@@ -786,3 +774,3 @@ ## Configuration reference | ||
```ts | ||
import { | ||
import { | ||
MATOMO_SCRIPT_FACTORY | ||
@@ -798,5 +786,5 @@ } from 'ngx-matomo-client'; | ||
providers: [ | ||
{ | ||
{ | ||
provide: MATOMO_SCRIPT_FACTORY, | ||
useValue: myScriptFactory | ||
useValue: myScriptFactory | ||
} | ||
@@ -803,0 +791,0 @@ ], |
@@ -1,1 +0,1 @@ | ||
export declare const version = "^5.0.1"; | ||
export declare const version = "^5.0.2"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '^5.0.1'; | ||
exports.version = '^5.0.2'; | ||
//# sourceMappingURL=version.js.map |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
987138
9844
897