2023-01-03 19:55:46 +00:00
|
|
|
// Copyright 2018 Signal Messenger, LLC
|
2020-10-30 20:34:04 +00:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2018-04-13 21:54:53 +00:00
|
|
|
import * as GoogleChrome from './GoogleChrome';
|
2020-02-12 21:30:58 +00:00
|
|
|
import * as Registration from './registration';
|
2018-04-14 02:14:58 +00:00
|
|
|
import { arrayBufferToObjectURL } from './arrayBufferToObjectURL';
|
2020-01-13 22:28:28 +00:00
|
|
|
import { combineNames } from './combineNames';
|
2019-09-26 19:56:31 +00:00
|
|
|
import { createBatcher } from './batcher';
|
|
|
|
import { createWaitBatcher } from './waitBatcher';
|
2020-07-27 18:15:32 +00:00
|
|
|
import { deleteForEveryone } from './deleteForEveryone';
|
2020-07-07 00:39:55 +00:00
|
|
|
import { downloadAttachment } from './downloadAttachment';
|
2021-02-24 19:07:05 +00:00
|
|
|
import { generateSecurityNumber } from './safetyNumber';
|
2020-07-29 23:20:05 +00:00
|
|
|
import { getStringForProfileChange } from './getStringForProfileChange';
|
2020-09-18 21:43:57 +00:00
|
|
|
import { getTextWithMentions } from './getTextWithMentions';
|
2022-08-18 20:44:53 +00:00
|
|
|
import { getUuidsForE164s } from './getUuidsForE164s';
|
2020-09-09 22:50:44 +00:00
|
|
|
import { getUserAgent } from './getUserAgent';
|
2021-09-08 23:28:18 +00:00
|
|
|
import {
|
2021-09-15 18:45:22 +00:00
|
|
|
initializeMessageCounter,
|
2021-09-08 23:28:18 +00:00
|
|
|
incrementMessageCounter,
|
|
|
|
flushMessageCounter,
|
|
|
|
} from './incrementMessageCounter';
|
2018-10-04 01:12:42 +00:00
|
|
|
import { isFileDangerous } from './isFileDangerous';
|
2019-01-14 21:49:58 +00:00
|
|
|
import { makeLookup } from './makeLookup';
|
2021-03-11 03:21:21 +00:00
|
|
|
import {
|
|
|
|
queueUpdateMessage,
|
|
|
|
saveNewMessageBatcher,
|
|
|
|
setBatchingStrategy,
|
|
|
|
} from './messageBatcher';
|
2020-02-12 21:30:58 +00:00
|
|
|
import { missingCaseError } from './missingCaseError';
|
2020-09-09 22:50:44 +00:00
|
|
|
import { parseRemoteClientExpiration } from './parseRemoteClientExpiration';
|
2020-10-26 14:39:45 +00:00
|
|
|
import { sleep } from './sleep';
|
2021-01-29 22:16:48 +00:00
|
|
|
import { longRunningTaskWrapper } from './longRunningTaskWrapper';
|
|
|
|
import { toWebSafeBase64, fromWebSafeBase64 } from './webSafeBase64';
|
2021-02-18 16:40:26 +00:00
|
|
|
import { mapToSupportLocale } from './mapToSupportLocale';
|
2021-03-04 20:01:34 +00:00
|
|
|
import {
|
|
|
|
sessionRecordToProtobuf,
|
2021-09-24 00:49:05 +00:00
|
|
|
sessionStructureToBytes,
|
2021-03-04 20:01:34 +00:00
|
|
|
} from './sessionTranslation';
|
2020-04-15 23:12:28 +00:00
|
|
|
import * as zkgroup from './zkgroup';
|
2021-05-25 22:40:04 +00:00
|
|
|
import { sendToGroup, sendContentMessageToGroup } from './sendToGroup';
|
2021-05-28 19:11:19 +00:00
|
|
|
import { RetryPlaceholders } from './retryPlaceholders';
|
2021-06-01 20:45:43 +00:00
|
|
|
import * as expirationTimer from './expirationTimer';
|
2021-06-16 00:44:14 +00:00
|
|
|
import { MessageController } from './MessageController';
|
2018-04-13 21:54:53 +00:00
|
|
|
|
2018-10-04 01:12:42 +00:00
|
|
|
export {
|
2021-03-04 21:44:57 +00:00
|
|
|
GoogleChrome,
|
|
|
|
Registration,
|
2018-10-04 01:12:42 +00:00
|
|
|
arrayBufferToObjectURL,
|
2020-01-13 22:28:28 +00:00
|
|
|
combineNames,
|
2019-09-26 19:56:31 +00:00
|
|
|
createBatcher,
|
|
|
|
createWaitBatcher,
|
2020-07-27 18:15:32 +00:00
|
|
|
deleteForEveryone,
|
2020-07-07 00:39:55 +00:00
|
|
|
downloadAttachment,
|
2021-09-08 23:28:18 +00:00
|
|
|
flushMessageCounter,
|
2021-01-29 22:16:48 +00:00
|
|
|
fromWebSafeBase64,
|
2020-06-26 00:08:58 +00:00
|
|
|
generateSecurityNumber,
|
2020-07-29 23:20:05 +00:00
|
|
|
getStringForProfileChange,
|
2020-09-18 21:43:57 +00:00
|
|
|
getTextWithMentions,
|
2020-09-09 22:50:44 +00:00
|
|
|
getUserAgent,
|
2021-03-04 21:44:57 +00:00
|
|
|
incrementMessageCounter,
|
2021-09-15 18:45:22 +00:00
|
|
|
initializeMessageCounter,
|
2018-10-04 01:12:42 +00:00
|
|
|
isFileDangerous,
|
2021-01-29 22:16:48 +00:00
|
|
|
longRunningTaskWrapper,
|
2019-01-14 21:49:58 +00:00
|
|
|
makeLookup,
|
2021-02-18 16:40:26 +00:00
|
|
|
mapToSupportLocale,
|
2021-06-16 00:44:14 +00:00
|
|
|
MessageController,
|
2018-10-04 01:12:42 +00:00
|
|
|
missingCaseError,
|
2020-09-09 22:50:44 +00:00
|
|
|
parseRemoteClientExpiration,
|
2021-03-11 03:21:21 +00:00
|
|
|
queueUpdateMessage,
|
2021-05-28 19:11:19 +00:00
|
|
|
RetryPlaceholders,
|
2021-03-04 21:44:57 +00:00
|
|
|
saveNewMessageBatcher,
|
2021-05-25 22:40:04 +00:00
|
|
|
sendContentMessageToGroup,
|
|
|
|
sendToGroup,
|
2021-03-11 03:21:21 +00:00
|
|
|
setBatchingStrategy,
|
2021-03-04 20:01:34 +00:00
|
|
|
sessionRecordToProtobuf,
|
2021-09-24 00:49:05 +00:00
|
|
|
sessionStructureToBytes,
|
2020-10-26 14:39:45 +00:00
|
|
|
sleep,
|
2021-01-29 22:16:48 +00:00
|
|
|
toWebSafeBase64,
|
2020-04-15 23:12:28 +00:00
|
|
|
zkgroup,
|
2021-06-01 20:45:43 +00:00
|
|
|
expirationTimer,
|
2022-08-18 20:44:53 +00:00
|
|
|
getUuidsForE164s,
|
2018-10-04 01:12:42 +00:00
|
|
|
};
|