2021-01-07 18:06:09 +00:00
|
|
|
// Copyright 2018-2021 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';
|
2020-09-09 22:50:44 +00:00
|
|
|
import { getUserAgent } from './getUserAgent';
|
2020-02-12 21:30:58 +00:00
|
|
|
import { hasExpired } from './hasExpired';
|
2021-03-04 21:44:57 +00:00
|
|
|
import { incrementMessageCounter } 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,
|
|
|
|
sessionStructureToArrayBuffer,
|
|
|
|
} from './sessionTranslation';
|
2020-04-15 23:12:28 +00:00
|
|
|
import * as zkgroup from './zkgroup';
|
2021-03-13 01:22:36 +00:00
|
|
|
import { StartupQueue } from './StartupQueue';
|
2021-04-20 23:16:49 +00:00
|
|
|
import { postLinkExperience } from './postLinkExperience';
|
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,
|
2021-03-13 01:22:36 +00:00
|
|
|
StartupQueue,
|
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-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,
|
2020-02-12 21:30:58 +00:00
|
|
|
hasExpired,
|
2021-03-04 21:44:57 +00:00
|
|
|
incrementMessageCounter,
|
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,
|
2018-10-04 01:12:42 +00:00
|
|
|
missingCaseError,
|
2020-09-09 22:50:44 +00:00
|
|
|
parseRemoteClientExpiration,
|
2021-04-20 23:16:49 +00:00
|
|
|
postLinkExperience,
|
2021-03-11 03:21:21 +00:00
|
|
|
queueUpdateMessage,
|
2021-03-04 21:44:57 +00:00
|
|
|
saveNewMessageBatcher,
|
2021-03-11 03:21:21 +00:00
|
|
|
setBatchingStrategy,
|
2021-03-04 20:01:34 +00:00
|
|
|
sessionRecordToProtobuf,
|
|
|
|
sessionStructureToArrayBuffer,
|
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,
|
2018-10-04 01:12:42 +00:00
|
|
|
};
|