(fix): some ts-sdk stuff
All checks were successful
CI / checks (push) Successful in 4m45s

This commit is contained in:
Alois 2026-07-05 00:23:27 +02:00
commit 20cbb45743
2 changed files with 45 additions and 13 deletions

View file

@ -405,7 +405,7 @@ export class MTPClient {
},
(error) => emit(normalizedOptions.logger, {
hint: "error",
type: "error",
type: "Error",
error: String(error),
}),
);
@ -610,7 +610,7 @@ export class MTPClient {
} catch (error) {
emit(this.#options.logger, {
hint: "error",
type: "error",
type: "Error",
error: String(error),
direction: "send",
});
@ -631,7 +631,7 @@ export class MTPClient {
} catch (error) {
emit(this.#options.logger, {
hint: "error",
type: "error",
type: "Error",
error: String(error),
direction: "send",
});