New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@remnawave/backend-contract

Package Overview
Dependencies
Maintainers
0
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remnawave/backend-contract - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

4

build/commands/hosts/update.command.js

@@ -43,4 +43,4 @@ "use strict";

host: zod_1.z.optional(zod_1.z.string()),
alpn: zod_1.z.optional(zod_1.z.nativeEnum(alpn_1.ALPN).nullable()),
fingerprint: zod_1.z.optional(zod_1.z.nativeEnum(fingerprints_1.FINGERPRINTS).nullable()),
alpn: zod_1.z.optional(zod_1.z.enum([alpn_1.ALPN_VALUES[0], ...alpn_1.ALPN_VALUES]).nullable()),
fingerprint: zod_1.z.optional(zod_1.z.enum([fingerprints_1.FINGERPRINTS_VALUES[0], ...fingerprints_1.FINGERPRINTS_VALUES]).nullable()),
allowInsecure: zod_1.z.optional(zod_1.z.boolean()),

@@ -47,0 +47,0 @@ isDisabled: zod_1.z.optional(zod_1.z.boolean()),

import { z } from 'zod';
import { REST_API } from '../../api';
import { ALPN } from '../../constants/hosts/alpn';
import { FINGERPRINTS } from '../../constants/hosts/fingerprints';
import { ALPN, ALPN_VALUES } from '../../constants/hosts/alpn';
import { FINGERPRINTS, FINGERPRINTS_VALUES } from '../../constants/hosts/fingerprints';
import { HostsSchema } from '../../models';

@@ -41,4 +41,6 @@

host: z.optional(z.string()),
alpn: z.optional(z.nativeEnum(ALPN).nullable()),
fingerprint: z.optional(z.nativeEnum(FINGERPRINTS).nullable()),
alpn: z.optional(z.enum([ALPN_VALUES[0], ...ALPN_VALUES]).nullable()),
fingerprint: z.optional(
z.enum([FINGERPRINTS_VALUES[0], ...FINGERPRINTS_VALUES]).nullable(),
),
allowInsecure: z.optional(z.boolean()),

@@ -45,0 +47,0 @@ isDisabled: z.optional(z.boolean()),

{
"name": "@remnawave/backend-contract",
"version": "0.0.20",
"version": "0.0.21",
"description": "A contract library for Remnawave",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc