Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remnawave/node-contract

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remnawave/node-contract - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

12

build/commands/handler/add-user.command.d.ts

@@ -14,3 +14,3 @@ import { z } from 'zod';

const RequestSchema: z.ZodObject<{
data: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
data: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
type: z.ZodLiteral<"trojan">;

@@ -138,5 +138,5 @@ tag: z.ZodString;

level?: number | undefined;
}>]>;
}>]>, "many">;
}, "strip", z.ZodTypeAny, {
data: {
data: ({
type: "trojan";

@@ -182,5 +182,5 @@ username: string;

http_password: string;
};
})[];
}, {
data: {
data: ({
type: "trojan";

@@ -226,3 +226,3 @@ username: string;

level?: number | undefined;
};
})[];
}>;

@@ -229,0 +229,0 @@ type Request = z.infer<typeof RequestSchema>;

@@ -67,3 +67,3 @@ "use strict";

AddUserCommand.RequestSchema = zod_1.z.object({
data: zod_1.z.discriminatedUnion('type', [
data: zod_1.z.array(zod_1.z.discriminatedUnion('type', [
BaseTrojanUser,

@@ -75,3 +75,3 @@ BaseVlessUser,

BaseHttpUser,
]),
])),
});

@@ -78,0 +78,0 @@ AddUserCommand.ResponseSchema = zod_1.z.object({

{
"name": "@remnawave/node-contract",
"version": "0.2.4",
"version": "0.2.5",
"description": "A node-contract library for Remnawave Panel",

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

Sorry, the diff of this file is not supported yet

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