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

Sign up to get free protection for your applications and to get access to all the features.
package/dist/http.d.ts CHANGED
@@ -207,7 +207,7 @@ export declare class LemmyHttp {
207
207
  /**
208
208
  * Get data of current user.
209
209
  *
210
- * `HTTP.GET /account/settings`
210
+ * `HTTP.GET /account/my_user`
211
211
  */
212
212
  getMyUser(options?: RequestOptions): Promise<MyUserInfo>;
213
213
  /**
@@ -689,7 +689,7 @@ export declare class LemmyHttp {
689
689
  /**
690
690
  * Save your user settings.
691
691
  *
692
- * `HTTP.PUT /account/settings`
692
+ * `HTTP.PUT /account/settings/save`
693
693
  */
694
694
  saveUserSettings(form: SaveUserSettings, options?: RequestOptions): Promise<SuccessResponse>;
695
695
  /**
package/dist/http.js CHANGED
@@ -98,7 +98,7 @@ class LemmyHttp {
98
98
  /**
99
99
  * Get data of current user.
100
100
  *
101
- * `HTTP.GET /account/settings`
101
+ * `HTTP.GET /account/my_user`
102
102
  */
103
103
  getMyUser(options) {
104
104
  return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Get, "/account/my_user", {}, options);
@@ -745,10 +745,10 @@ class LemmyHttp {
745
745
  /**
746
746
  * Save your user settings.
747
747
  *
748
- * `HTTP.PUT /account/settings`
748
+ * `HTTP.PUT /account/settings/save`
749
749
  */
750
750
  saveUserSettings(form, options) {
751
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/account/settings", form, options);
751
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Put, "/account/settings/save", form, options);
752
752
  }
753
753
  /**
754
754
  * Change your user password.
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.5",
4
+ "version": "0.20.0-api-v4.7",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",