@remnawave/backend-contract 0.0.19 → 0.0.20

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,8 +40,8 @@ var UpdateHostCommand;
40
40
  path: zod_1.z.optional(zod_1.z.string()),
41
41
  sni: zod_1.z.optional(zod_1.z.string()),
42
42
  host: zod_1.z.optional(zod_1.z.string()),
43
- alpn: zod_1.z.optional(zod_1.z.nativeEnum(alpn_1.ALPN)),
44
- fingerprint: zod_1.z.optional(zod_1.z.nativeEnum(fingerprints_1.FINGERPRINTS)),
43
+ alpn: zod_1.z.optional(zod_1.z.nativeEnum(alpn_1.ALPN).nullable()),
44
+ fingerprint: zod_1.z.optional(zod_1.z.nativeEnum(fingerprints_1.FINGERPRINTS).nullable()),
45
45
  allowInsecure: zod_1.z.optional(zod_1.z.boolean()),
46
46
  isDisabled: zod_1.z.optional(zod_1.z.boolean()),
47
47
  });
@@ -38,8 +38,8 @@ export namespace UpdateHostCommand {
38
38
  path: z.optional(z.string()),
39
39
  sni: z.optional(z.string()),
40
40
  host: z.optional(z.string()),
41
- alpn: z.optional(z.nativeEnum(ALPN)),
42
- fingerprint: z.optional(z.nativeEnum(FINGERPRINTS)),
41
+ alpn: z.optional(z.nativeEnum(ALPN).nullable()),
42
+ fingerprint: z.optional(z.nativeEnum(FINGERPRINTS).nullable()),
43
43
  allowInsecure: z.optional(z.boolean()),
44
44
  isDisabled: z.optional(z.boolean()),
45
45
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnawave/backend-contract",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "A contract library for Remnawave",
5
5
  "main": "index.js",
6
6
  "scripts": {