diff --git a/keyserver/flow-typed/npm/@matrix-org/olm_vx.x.x.js b/keyserver/flow-typed/npm/@matrix-org/olm_vx.x.x.js --- a/keyserver/flow-typed/npm/@matrix-org/olm_vx.x.x.js +++ b/keyserver/flow-typed/npm/@matrix-org/olm_vx.x.x.js @@ -30,6 +30,12 @@ max_number_of_one_time_keys(): number; generate_one_time_keys(number_of_keys: number): void; remove_one_time_keys(session: Session): void; + generate_prekey(): void; + prekey(): string; + unpublished_prekey(): string; + forget_old_prekey(): void; + mark_prekey_as_published(): void; + last_prekey_publish_time(): number; generate_fallback_key(): void; fallback_key(): string; unpublished_fallback_key(): string; @@ -50,6 +56,7 @@ create_outbound( account: Account, their_identity_key: string, + their_pre_key: string, their_one_time_key: string, ): void; create_inbound(account: Account, one_time_key_message: string): void; diff --git a/web/flow-typed/npm/@matrix-org/olm_vx.x.x.js b/web/flow-typed/npm/@matrix-org/olm_vx.x.x.js --- a/web/flow-typed/npm/@matrix-org/olm_vx.x.x.js +++ b/web/flow-typed/npm/@matrix-org/olm_vx.x.x.js @@ -30,6 +30,12 @@ max_number_of_one_time_keys(): number; generate_one_time_keys(number_of_keys: number): void; remove_one_time_keys(session: Session): void; + generate_prekey(): void; + prekey(): string; + unpublished_prekey(): string; + forget_old_prekey(): void; + mark_prekey_as_published(): void; + last_prekey_publish_time(): number; generate_fallback_key(): void; fallback_key(): string; unpublished_fallback_key(): string; @@ -50,6 +56,7 @@ create_outbound( account: Account, their_identity_key: string, + their_pre_key: string, their_one_time_key: string, ): void; create_inbound(account: Account, one_time_key_message: string): void;