react-matomo
Advanced tools
Comparing version
@@ -76,3 +76,3 @@ "use strict"; | ||
_a.sent(); | ||
if (this.args.disabled || !this.tracker) { | ||
if (!this.tracker) { | ||
return [2 /*return*/]; | ||
@@ -92,3 +92,3 @@ } | ||
_a.sent(); | ||
if (this.args.disabled || !this.tracker) { | ||
if (!this.tracker) { | ||
return [2 /*return*/]; | ||
@@ -109,3 +109,5 @@ } | ||
this.args = args; | ||
this.init(); | ||
if (!this.args.disabled) { | ||
this.init(); | ||
} | ||
} | ||
@@ -112,0 +114,0 @@ return MatomoTracker; |
@@ -74,3 +74,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
_a.sent(); | ||
if (this.args.disabled || !this.tracker) { | ||
if (!this.tracker) { | ||
return [2 /*return*/]; | ||
@@ -90,3 +90,3 @@ } | ||
_a.sent(); | ||
if (this.args.disabled || !this.tracker) { | ||
if (!this.tracker) { | ||
return [2 /*return*/]; | ||
@@ -107,3 +107,5 @@ } | ||
this.args = args; | ||
this.init(); | ||
if (!this.args.disabled) { | ||
this.init(); | ||
} | ||
} | ||
@@ -110,0 +112,0 @@ return MatomoTracker; |
{ | ||
"name": "react-matomo", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/cjs/index.js", |
22801
0.04%453
0.89%