2020-10-30 20:34:04 +00:00
|
|
|
// Copyright 2020 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2020-04-13 17:37:29 +00:00
|
|
|
import EventTarget from './EventTarget';
|
|
|
|
import AccountManager from './AccountManager';
|
|
|
|
import MessageReceiver from './MessageReceiver';
|
|
|
|
import utils from './Helpers';
|
|
|
|
import Crypto from './Crypto';
|
|
|
|
import { ContactBuffer, GroupBuffer } from './ContactsParser';
|
|
|
|
import SyncRequest from './SyncRequest';
|
|
|
|
import MessageSender from './SendMessage';
|
|
|
|
import StringView from './StringView';
|
2021-06-15 00:09:37 +00:00
|
|
|
import { Storage } from './Storage';
|
2020-04-13 17:37:29 +00:00
|
|
|
import * as WebAPI from './WebAPI';
|
|
|
|
import WebSocketResource from './WebsocketResources';
|
|
|
|
|
|
|
|
export const textsecure = {
|
|
|
|
crypto: Crypto,
|
|
|
|
utils,
|
2021-06-15 00:09:37 +00:00
|
|
|
storage: new Storage(),
|
2020-04-13 17:37:29 +00:00
|
|
|
|
|
|
|
AccountManager,
|
|
|
|
ContactBuffer,
|
|
|
|
EventTarget,
|
|
|
|
GroupBuffer,
|
|
|
|
MessageReceiver,
|
|
|
|
MessageSender,
|
|
|
|
SyncRequest,
|
|
|
|
StringView,
|
|
|
|
WebAPI,
|
|
|
|
WebSocketResource,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default textsecure;
|