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

Sign up to get free protection for your applications and to get access to all the features.
package/dist/http.d.ts CHANGED
@@ -858,7 +858,7 @@ 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/block_instance`
862
862
  */
863
863
  adminBlockInstance(form: AdminBlockInstanceParams, options?: RequestOptions): Promise<SuccessResponse>;
864
864
  /**
package/dist/http.js CHANGED
@@ -969,10 +969,10 @@ class LemmyHttp {
969
969
  /**
970
970
  * Globally block an instance as admin.
971
971
  *
972
- * `HTTP.Post /admin/block/instance`
972
+ * `HTTP.Post /admin/block_instance`
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/block_instance", form, options);
976
976
  }
977
977
  /**
978
978
  * Globally allow an instance as admin.
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.10",
4
+ "version": "0.20.0-api-v4.11",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",