diff --git a/package.json b/package.json index b6935bb8a..d37bdca13 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "session-messenger-desktop", "productName": "Session", "description": "Private messaging from your desktop", - "version": "1.1.1", + "version": "1.1.2", "license": "GPL-3.0", "author": { "name": "Loki Project", diff --git a/password_preload.js b/password_preload.js index e0cc712ef..d499b1609 100644 --- a/password_preload.js +++ b/password_preload.js @@ -21,19 +21,18 @@ window.getEnvironment = () => config.environment; window.getVersion = () => config.version; window.getAppInstance = () => config.appInstance; -// So far we're only using this for Signal.Types -const Signal = require('./js/modules/signal'); const electron = require('electron'); const ipc = electron.ipcRenderer; - -window.Signal = Signal.setup({ - Attachments: null, - userDataPath: null, - getRegionCode: () => null, -}); - -window.Signal.Logs = require('./js/modules/logs'); +const { + SessionPasswordPrompt, +} = require('./ts/components/session/SessionPasswordPrompt'); + +window.Signal = { + Components: { + SessionPasswordPrompt, + }, +} window.CONSTANTS = { MAX_LOGIN_TRIES: 3,