lemmy-js-client 0.17.2-rc.1 → 0.17.2-rc.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,7 @@ import { CommentReplyView, CommentView, CommunityModeratorView, PersonMentionVie
3
3
  export interface Login {
4
4
  username_or_email: string;
5
5
  password: string;
6
+ totp_token?: string;
6
7
  }
7
8
  /**
8
9
  * Register a new user.
@@ -84,6 +85,7 @@ export interface SaveUserSettings {
84
85
  show_read_posts?: boolean;
85
86
  show_new_post_notifs?: boolean;
86
87
  discussion_languages?: number[];
88
+ generate_totp?: boolean;
87
89
  auth: string;
88
90
  }
89
91
  export interface ChangePassword {
@@ -16,6 +16,7 @@ export interface LocalUserSettings {
16
16
  show_new_post_notifs: boolean;
17
17
  email_verified: boolean;
18
18
  accepted_application: boolean;
19
+ totp_url?: string;
19
20
  }
20
21
  export interface PersonSafe {
21
22
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
- "version": "0.17.2-rc.1",
3
+ "version": "0.17.2-rc.2",
4
4
  "description": "A javascript / typescript client for Lemmy",
5
5
  "repository": "https://github.com/LemmyNet/lemmy-js-client",
6
6
  "license": "AGPL-3.0",