aboutsummaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'javascript')
-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;