lemmy-js-client 0.20.0-instance-blocks.1 → 0.20.0-instance-blocks.2

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.
@@ -46,8 +46,6 @@ export type CreateSite = {
46
46
  federation_debug?: boolean;
47
47
  captcha_enabled?: boolean;
48
48
  captcha_difficulty?: string;
49
- allowed_instances?: Array<string>;
50
- blocked_instances?: Array<string>;
51
49
  registration_mode?: RegistrationMode;
52
50
  oauth_registration?: boolean;
53
51
  content_warning?: string;
@@ -136,14 +136,6 @@ export type EditSite = {
136
136
  * The captcha difficulty. Can be easy, medium, or hard
137
137
  */
138
138
  captcha_difficulty?: string;
139
- /**
140
- * A list of allowed instances. If none are set, federation is open.
141
- */
142
- allowed_instances?: Array<string>;
143
- /**
144
- * A list of blocked instances.
145
- */
146
- blocked_instances?: Array<string>;
147
139
  /**
148
140
  * A list of blocked URLs
149
141
  */
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-instance-blocks.1",
4
+ "version": "0.20.0-instance-blocks.2",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",