aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2020-05-07 17:47:07 -0400
committerHubert Chathi <hubert@uhoreg.ca>2020-05-07 18:01:52 -0400
commit281c5aac212560ab791323c10c776461b6c9cbd6 (patch)
tree62f0506566a8c7093bec11264e5ece82cf3b14d1
parent611d3949cb06447e4281a543957bf877fe074eed (diff)
fix type signature of unpickle in Inbound/OutboundGroupSession
Thanks to Dominic Fischer for spotting.
-rw-r--r--javascript/index.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/index.d.ts b/javascript/index.d.ts
index 682041e..a0107ac 100644
--- a/javascript/index.d.ts
+++ b/javascript/index.d.ts
@@ -63,7 +63,7 @@ declare class InboundGroupSession {
constructor();
free(): void;
pickle(key: string): string;
- unpickle(key: string, pickle: string): string;
+ unpickle(key: string, pickle: string);
create(session_key: string): string;
import_session(session_key: string): string;
decrypt(message: string): object;
@@ -76,7 +76,7 @@ declare class OutboundGroupSession {
constructor();
free(): void;
pickle(key: string): string;
- unpickle(key: string): string;
+ unpickle(key: string, pickle: string);
create(): void;
encrypt(plaintext: string): string;
session_id(): string;