@todesktop/runtime
Advanced tools
Comparing version 0.2.0-1 to 0.2.0-2
@@ -8,3 +8,3 @@ "use strict"; | ||
// This initializes everything. It must be called (at the top of their main script) | ||
init({ autoUpdater = true, logger: customLogger, } = {}) { | ||
init({ autoUpdater = true, customLogger, } = {}) { | ||
const logger = new Logger_1.default(customLogger); | ||
@@ -11,0 +11,0 @@ if (autoUpdater) { |
@@ -14,3 +14,3 @@ import * as electronUpdater from "electron-updater"; | ||
constructor({ log, logger, }: { | ||
log: (...args: unknown[]) => void; | ||
log: (level: string, ...args: unknown[]) => void; | ||
logger: LoggerInterface; | ||
@@ -24,3 +24,3 @@ }); | ||
constructor({ log, logger, }: { | ||
log: (...args: unknown[]) => void; | ||
log: (level: string, ...args: unknown[]) => void; | ||
logger: LoggerInterface; | ||
@@ -27,0 +27,0 @@ }); |
@@ -76,3 +76,5 @@ "use strict"; | ||
class SquirrelWindowsUpdaterAgent { | ||
constructor({ log, logger, }) { | ||
constructor({ log, | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
logger, }) { | ||
_log_1.set(this, void 0); | ||
@@ -79,0 +81,0 @@ __classPrivateFieldSet(this, _log_1, log); |
@@ -7,3 +7,3 @@ { | ||
"name": "@todesktop/runtime", | ||
"version": "0.2.0-1", | ||
"version": "0.2.0-2", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "author": "Adam Lynch <contact@adamlynch.com> (http://adamlynch.com/)", |
42001
753