Move SignalProtocolStore off window

This commit is contained in:
Fedor Indutny
2025-10-06 17:02:13 -07:00
committed by GitHub
parent 065017ce52
commit 911133decd
36 changed files with 295 additions and 393 deletions

View File

@@ -36,6 +36,10 @@ import { createProxyAgent } from '../util/createProxyAgent.js';
import type { ProxyAgent } from '../util/createProxyAgent.js';
import type { FetchFunctionType } from '../util/uploads/tusProtocol.js';
import { VerificationTransport } from '../types/VerificationTransport.js';
import type {
CapabilitiesType,
CapabilitiesUploadType,
} from '../types/Capabilities.d.ts';
import type { HeaderListType } from '../types/WebAPI.d.ts';
import { ZERO_ACCESS_KEY } from '../types/SealedSender.js';
import { toLogFormat } from '../types/errors.js';
@@ -851,16 +855,6 @@ export type WebAPIConnectType = {
connect: (options: WebAPIConnectOptionsType) => WebAPIType;
};
// When updating this make sure to update `observedCapabilities` type in
// ts/types/Storage.d.ts
export type CapabilitiesType = {
attachmentBackfill: boolean;
};
export type CapabilitiesUploadType = {
attachmentBackfill: true;
spqr: true;
};
type StickerPackManifestType = Uint8Array;
export type GroupCredentialType = {