@remnawave/node-plugins 0.0.1 → 0.0.3

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.
@@ -55,13 +55,13 @@ export declare const BlacklistPluginSchema: z.ZodObject<{
55
55
  }>;
56
56
  export declare const ConnectionDropPluginSchema: z.ZodObject<{
57
57
  enabled: z.ZodBoolean;
58
- ip: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
58
+ whitelistIps: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
59
59
  }, "strip", z.ZodTypeAny, {
60
60
  enabled: boolean;
61
- ip: string[];
61
+ whitelistIps: string[];
62
62
  }, {
63
63
  enabled: boolean;
64
- ip: string[];
64
+ whitelistIps: string[];
65
65
  }>;
66
66
  export declare const NodePluginsSchema: z.ZodObject<{
67
67
  sharedLists: z.ZodArray<z.ZodObject<{
@@ -120,13 +120,13 @@ export declare const NodePluginsSchema: z.ZodObject<{
120
120
  }>>;
121
121
  connectionDrop: z.ZodOptional<z.ZodObject<{
122
122
  enabled: z.ZodBoolean;
123
- ip: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
123
+ whitelistIps: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodString]>, "many">;
124
124
  }, "strip", z.ZodTypeAny, {
125
125
  enabled: boolean;
126
- ip: string[];
126
+ whitelistIps: string[];
127
127
  }, {
128
128
  enabled: boolean;
129
- ip: string[];
129
+ whitelistIps: string[];
130
130
  }>>;
131
131
  }, "strip", z.ZodTypeAny, {
132
132
  sharedLists: {
@@ -148,7 +148,7 @@ export declare const NodePluginsSchema: z.ZodObject<{
148
148
  } | undefined;
149
149
  connectionDrop?: {
150
150
  enabled: boolean;
151
- ip: string[];
151
+ whitelistIps: string[];
152
152
  } | undefined;
153
153
  }, {
154
154
  sharedLists: {
@@ -170,7 +170,7 @@ export declare const NodePluginsSchema: z.ZodObject<{
170
170
  } | undefined;
171
171
  connectionDrop?: {
172
172
  enabled: boolean;
173
- ip: string[];
173
+ whitelistIps: string[];
174
174
  } | undefined;
175
175
  }>;
176
176
  export type TNodePlugins = z.infer<typeof NodePluginsSchema>;
@@ -25,7 +25,7 @@ exports.BlacklistPluginSchema = zod_1.z.object({
25
25
  });
26
26
  exports.ConnectionDropPluginSchema = zod_1.z.object({
27
27
  enabled: zod_1.z.boolean(),
28
- ip: zod_1.z.array(zod_1.z.union([zod_1.z.string().ip(), zod_1.z.string().startsWith('ext:')])),
28
+ whitelistIps: zod_1.z.array(zod_1.z.union([zod_1.z.string().ip(), zod_1.z.string().startsWith('ext:')])),
29
29
  });
30
30
  exports.NodePluginsSchema = zod_1.z.object({
31
31
  sharedLists: zod_1.z.array(exports.SharedIpListSchema),
@@ -25,7 +25,7 @@ exports.BlacklistPluginSchema = zod_1.z.object({
25
25
  });
26
26
  exports.ConnectionDropPluginSchema = zod_1.z.object({
27
27
  enabled: zod_1.z.boolean(),
28
- ip: zod_1.z.array(zod_1.z.union([zod_1.z.string().ip(), zod_1.z.string().startsWith('ext:')])),
28
+ whitelistIps: zod_1.z.array(zod_1.z.union([zod_1.z.string().ip(), zod_1.z.string().startsWith('ext:')])),
29
29
  });
30
30
  exports.NodePluginsSchema = zod_1.z.object({
31
31
  sharedLists: zod_1.z.array(exports.SharedIpListSchema),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/node-plugins",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "public": true,
5
5
  "license": "AGPL-3.0-only",
6
6
  "description": "A library for Remnawave Node Plugins.",