From 08804611346c589eb9f0ef8dbc06efdb50ab5ab7 Mon Sep 17 00:00:00 2001 From: Michael Telatynski Date: Wed, 29 Mar 2023 08:33:55 +0000 Subject: [PATCH] Correct `message_index` type in return signature of `InboundGroupSession::decrypt` --- javascript/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/index.d.ts b/javascript/index.d.ts index a21a331..afae754 100644 --- a/javascript/index.d.ts +++ b/javascript/index.d.ts @@ -74,7 +74,7 @@ declare class InboundGroupSession { create(session_key: string): string; import_session(session_key: string): string; decrypt(message: string): { - message_index: string; + message_index: number; plaintext: string; }; session_id(): string;