lemmy-js-client 0.20.0-api-v4.2 → 0.20.0-api-v4.5

Sign up to get free protection for your applications and to get access to all the features.
package/dist/http.js CHANGED
@@ -101,7 +101,7 @@ class LemmyHttp {
101
101
  * `HTTP.GET /account/settings`
102
102
  */
103
103
  getMyUser(options) {
104
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/settings", {}, options);
104
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/my_user", {}, options);
105
105
  }
106
106
  /**
107
107
  * Export a backup of your user settings, including your saved content,
@@ -1,7 +1,6 @@
1
1
  import type { Language } from "./Language";
2
2
  import type { LanguageId } from "./LanguageId";
3
3
  import type { LocalSiteUrlBlocklist } from "./LocalSiteUrlBlocklist";
4
- import type { MyUserInfo } from "./MyUserInfo";
5
4
  import type { OAuthProvider } from "./OAuthProvider";
6
5
  import type { PersonView } from "./PersonView";
7
6
  import type { PublicOAuthProvider } from "./PublicOAuthProvider";
@@ -14,7 +13,6 @@ export type GetSiteResponse = {
14
13
  site_view: SiteView;
15
14
  admins: Array<PersonView>;
16
15
  version: string;
17
- my_user?: MyUserInfo;
18
16
  all_languages: Array<Language>;
19
17
  discussion_languages: Array<LanguageId>;
20
18
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
3
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.20.0-api-v4.2",
4
+ "version": "0.20.0-api-v4.5",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",