electron-store
Advanced tools
Comparing version 7.0.2 to 7.0.3
@@ -6,2 +6,4 @@ 'use strict'; | ||
let isInitialized = false; | ||
// Set up the `ipcMain` handler for communication between renderer and main process. | ||
@@ -18,2 +20,6 @@ const initDataListener = () => { | ||
if (isInitialized) { | ||
return appData; | ||
} | ||
ipcMain.on('electron-store-get-data', event => { | ||
@@ -23,2 +29,4 @@ event.returnValue = appData; | ||
isInitialized = true; | ||
return appData; | ||
@@ -25,0 +33,0 @@ }; |
{ | ||
"name": "electron-store", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"description": "Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18670
115