@hackthenorth/analytics
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -24,2 +24,3 @@ "use strict"; | ||
this.toLog = []; | ||
this.lastStream = {}; | ||
this.config = config; | ||
@@ -26,0 +27,0 @@ document.addEventListener("visibilitychange", () => { |
{ | ||
"name": "@hackthenorth/analytics", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -27,3 +27,3 @@ import { v4 as uuidv4 } from "uuid"; | ||
toLog: Array<LogEntryWithPrevious> = []; | ||
lastStream: {[key: string]: string}; | ||
lastStream: {[key: string]: string} = {}; | ||
config: Config; | ||
@@ -86,2 +86,2 @@ | ||
return BatchedLoggerInstance.configure(config); | ||
} | ||
} |
12069
295