pushy-electron 1.0.7 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/Pushy.d.ts CHANGED
@@ -28,7 +28,7 @@ declare namespace Pushy {
28
28
 
29
29
  function disconnect(): void
30
30
 
31
- function alert(win: BrowserWindow, msg: string)
31
+ function alert(win: BrowserWindow, msg: string): void
32
32
  }
33
33
 
34
34
  export = Pushy
package/lib/Pushy.js CHANGED
@@ -2,7 +2,7 @@ const api = require('../util/api');
2
2
  const config = require('../config');
3
3
  const mqtt = require('../util/mqtt');
4
4
  const { dialog } = require('electron');
5
- const localStorage = new (require('electron-store'))();
5
+ const localStorage = require('../util/storage');
6
6
 
7
7
  module.exports = {
8
8
  listen() {