refactor: auth store handling (#201667)
* update module store * delete auth stores directory
This commit is contained in:
parent
f7e4d3d0fc
commit
2dc9466fac
1 changed files with 35 additions and 55 deletions
|
|
@ -1,21 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
exports.ExposeAuthStore = () => {
|
||||
window.AuthStore = {};
|
||||
window.AuthStore.AppState = window.require('WAWebSocketModel').Socket;
|
||||
window.AuthStore.Cmd = window.require('WAWebCmd').Cmd;
|
||||
window.AuthStore.Conn = window.require('WAWebConnModel').Conn;
|
||||
window.AuthStore.OfflineMessageHandler = window.require(
|
||||
'WAWebOfflineHandler',
|
||||
).OfflineMessageHandler;
|
||||
window.AuthStore.PairingCodeLinkUtils = window.require(
|
||||
'WAWebAltDeviceLinkingApi',
|
||||
);
|
||||
window.AuthStore.Base64Tools = window.require('WABase64');
|
||||
window.AuthStore.RegistrationUtils = {
|
||||
...window.require('WAWebCompanionRegClientUtils'),
|
||||
...window.require('WAWebAdvSignatureApi'),
|
||||
...window.require('WAWebUserPrefsInfoStore'),
|
||||
...window.require('WAWebSignalStoreApi'),
|
||||
};
|
||||
};
|
||||
Loading…
Reference in a new issue