aboutsummaryrefslogtreecommitdiff
path: root/javascript/index.d.ts
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2020-08-14 17:29:25 -0400
committerHubert Chathi <hubert@uhoreg.ca>2020-08-14 17:29:41 -0400
commit171044f3fca084bd1c5c1f8f4bfe146434b07f0b (patch)
treee0d81cc51b02e46bfae638203744f846ec41e380 /javascript/index.d.ts
parenta0284c2ba36ac8433ea752e93b4a0a331a3f0c0b (diff)
add support for fallback keys
Diffstat (limited to 'javascript/index.d.ts')
-rw-r--r--javascript/index.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/javascript/index.d.ts b/javascript/index.d.ts
index a0107ac..9d101a8 100644
--- a/javascript/index.d.ts
+++ b/javascript/index.d.ts
@@ -27,6 +27,8 @@ declare class Account {
max_number_of_one_time_keys(): number;
generate_one_time_keys(number_of_keys: number);
remove_one_time_keys(session: Session);
+ generate_fallback_key();
+ fallback_key(): string;
pickle(key: string): string;
unpickle(key: string, pickle: string);
}