feat: complete Ancestor quote bot with production-ready Docker support
This commit is contained in:
29
node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.d.ts
generated
vendored
29
node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.d.ts
generated
vendored
@@ -1,7 +1,15 @@
|
||||
import { type OlmMachine, type OutgoingRequest, PutDehydratedDeviceRequest, UploadSigningKeysRequest } from "@matrix-org/matrix-sdk-crypto-wasm";
|
||||
import { type Logger } from "../logger.ts";
|
||||
import { type IHttpOpts, type MatrixHttpApi } from "../http-api/index.ts";
|
||||
import { type UIAuthCallback } from "../interactive-auth.ts";
|
||||
import { OlmMachine } from "@matrix-org/matrix-sdk-crypto-wasm";
|
||||
import { IHttpOpts, MatrixHttpApi } from "../http-api";
|
||||
import { UIAuthCallback } from "../interactive-auth";
|
||||
/**
|
||||
* Common interface for all the request types returned by `OlmMachine.outgoingRequests`.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export interface OutgoingRequest {
|
||||
readonly id: string | undefined;
|
||||
readonly type: number;
|
||||
}
|
||||
/**
|
||||
* OutgoingRequestManager: turns `OutgoingRequest`s from the rust sdk into HTTP requests
|
||||
*
|
||||
@@ -15,22 +23,13 @@ import { type UIAuthCallback } from "../interactive-auth.ts";
|
||||
* @internal
|
||||
*/
|
||||
export declare class OutgoingRequestProcessor {
|
||||
private readonly logger;
|
||||
private readonly olmMachine;
|
||||
private readonly http;
|
||||
constructor(logger: Logger, olmMachine: OlmMachine, http: MatrixHttpApi<IHttpOpts & {
|
||||
constructor(olmMachine: OlmMachine, http: MatrixHttpApi<IHttpOpts & {
|
||||
onlyData: true;
|
||||
}>);
|
||||
makeOutgoingRequest<T>(msg: OutgoingRequest | UploadSigningKeysRequest | PutDehydratedDeviceRequest, uiaCallback?: UIAuthCallback<T>): Promise<void>;
|
||||
/**
|
||||
* Send the HTTP request for a `ToDeviceRequest`
|
||||
*
|
||||
* @param request - request to send
|
||||
* @returns JSON-serialized body of the response, if successful
|
||||
*/
|
||||
private sendToDeviceRequest;
|
||||
makeOutgoingRequest<T>(msg: OutgoingRequest, uiaCallback?: UIAuthCallback<T>): Promise<void>;
|
||||
private makeRequestWithUIA;
|
||||
private requestWithRetry;
|
||||
private rawJsonRequest;
|
||||
}
|
||||
//# sourceMappingURL=OutgoingRequestProcessor.d.ts.map
|
||||
Reference in New Issue
Block a user