lemmy-js-client 0.20.0-api-v4.11 → 0.20.0-api-v4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/http.d.ts CHANGED
@@ -684,7 +684,7 @@ export declare class LemmyHttp {
684
684
  /**
685
685
  * Mark all replies as read.
686
686
  *
687
- * `HTTP.POST /user/mark_all_as_read`
687
+ * `HTTP.POST /account/mention/mark_all_as_read`
688
688
  */
689
689
  markAllAsRead(options?: RequestOptions): Promise<GetRepliesResponse>;
690
690
  /**
@@ -858,13 +858,13 @@ export declare class LemmyHttp {
858
858
  /**
859
859
  * Globally block an instance as admin.
860
860
  *
861
- * `HTTP.Post /admin/block_instance`
861
+ * `HTTP.Post /admin/instance/block`
862
862
  */
863
863
  adminBlockInstance(form: AdminBlockInstanceParams, options?: RequestOptions): Promise<SuccessResponse>;
864
864
  /**
865
865
  * Globally allow an instance as admin.
866
866
  *
867
- * `HTTP.Post /admin/allow_instance`
867
+ * `HTTP.Post /admin/instance/allow`
868
868
  */
869
869
  adminAllowInstance(form: AdminAllowInstanceParams, options?: RequestOptions): Promise<SuccessResponse>;
870
870
  /**
package/dist/http.js CHANGED
@@ -737,10 +737,10 @@ class LemmyHttp {
737
737
  /**
738
738
  * Mark all replies as read.
739
739
  *
740
- * `HTTP.POST /user/mark_all_as_read`
740
+ * `HTTP.POST /account/mention/mark_all_as_read`
741
741
  */
742
742
  markAllAsRead(options) {
743
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/user/mark_all_as_read", {}, options);
743
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/account/mention/mark_all_as_read", {}, options);
744
744
  }
745
745
  /**
746
746
  * Save your user settings.
@@ -969,18 +969,18 @@ class LemmyHttp {
969
969
  /**
970
970
  * Globally block an instance as admin.
971
971
  *
972
- * `HTTP.Post /admin/block_instance`
972
+ * `HTTP.Post /admin/instance/block`
973
973
  */
974
974
  adminBlockInstance(form, options) {
975
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/block_instance", form, options);
975
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/instance/block", form, options);
976
976
  }
977
977
  /**
978
978
  * Globally allow an instance as admin.
979
979
  *
980
- * `HTTP.Post /admin/allow_instance`
980
+ * `HTTP.Post /admin/instance/allow`
981
981
  */
982
982
  adminAllowInstance(form, options) {
983
- return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/allow_instance", form, options);
983
+ return __classPrivateFieldGet(this, _LemmyHttp_instances, "m", _LemmyHttp_wrapper).call(this, HttpType.Post, "/admin/instance/allow", form, options);
984
984
  }
985
985
  /**
986
986
  * Upload an image to the server.
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.11",
4
+ "version": "0.20.0-api-v4.13",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",