refactor: auth store handling (#201667)

* update module store

* delete auth stores directory
This commit is contained in:
RendyCraft047 2026-05-14 18:47:38 +07:00 • committed by GitHub
commit 2dc9466fac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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'),
};
};