(feat): add max message size to wasm
Some checks failed
CI / rustfmt (push) Successful in 17s
CI / wasm build (push) Successful in 1m15s
CI / clippy (push) Successful in 1m30s
CI / test (push) Successful in 1m48s
CI / example (push) Successful in 1m32s
CI / duplicate code (push) Failing after 29s
CI / web client (push) Failing after 30s
CI / cargo-machete (push) Successful in 1m7s
CI / cargo-deny (push) Failing after 2m23s
Some checks failed
CI / rustfmt (push) Successful in 17s
CI / wasm build (push) Successful in 1m15s
CI / clippy (push) Successful in 1m30s
CI / test (push) Successful in 1m48s
CI / example (push) Successful in 1m32s
CI / duplicate code (push) Failing after 29s
CI / web client (push) Failing after 30s
CI / cargo-machete (push) Successful in 1m7s
CI / cargo-deny (push) Failing after 2m23s
(feat): add pq key generation to wasm (qol): update gitignores
This commit is contained in:
parent
15cc1d4c5e
commit
d9ad5e5b3d
23 changed files with 341 additions and 1996 deletions
2
wasm/types/mtp_wasm.d.ts
vendored
2
wasm/types/mtp_wasm.d.ts
vendored
|
|
@ -48,6 +48,7 @@ export class ConnectionConfig implements DisposableWasmObject {
|
|||
free(): void;
|
||||
[Symbol.dispose](): void;
|
||||
client_id: bigint;
|
||||
max_message_size: number;
|
||||
server_certificate_hashes: string[];
|
||||
readonly url: string;
|
||||
}
|
||||
|
|
@ -158,6 +159,7 @@ export function ed25519_generate(): Ed25519GenerateResult;
|
|||
export function ed25519_verify(public_key: Uint8Array, message: Uint8Array, signature: Uint8Array): void;
|
||||
export function format_frame(frame: Uint8Array): string;
|
||||
export function keyring_from_ed25519(secret_key: Uint8Array, public_key: Uint8Array): Uint8Array;
|
||||
export function keyring_generate(): Uint8Array;
|
||||
export function main(): void;
|
||||
export function parse_auth_response(response: Uint8Array): AuthResponse;
|
||||
export function parse_frame(frame: Uint8Array): ParsedFrame;
|
||||
|
|
|
|||
Loading…
Reference in a new issue