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
2
Versions
81
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.83 to 0.0.84

4

build/backend/commands/users/create-user.command.d.ts

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

description: z.ZodOptional<z.ZodString>;
activateAllInbounds: z.ZodDefault<z.ZodBoolean>;
activateAllInbounds: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {

@@ -27,3 +27,2 @@ username: string;

expireAt: Date;
activateAllInbounds: boolean;
createdAt?: Date | undefined;

@@ -39,2 +38,3 @@ trafficLimitBytes?: number | undefined;

activeUserInbounds?: string[] | undefined;
activateAllInbounds?: boolean | undefined;
}, {

@@ -41,0 +41,0 @@ username: string;

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

.regex(/^[a-zA-Z0-9_-]+$/, 'Username can only contain letters, numbers, underscores and dashes')
.max(32, 'Username must be less than 32 characters')
.max(34, 'Username must be less than 34 characters')
.min(6, 'Username must be at least 6 characters'),

@@ -109,3 +109,3 @@ status: models_1.UsersSchema.shape.status.optional().default(constants_1.USERS_STATUS.ACTIVE),

description: zod_1.z.string().optional(),
activateAllInbounds: zod_1.z.boolean().default(false),
activateAllInbounds: zod_1.z.boolean().optional(),
});

@@ -112,0 +112,0 @@ CreateUserCommand.ResponseSchema = zod_1.z.object({

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

.regex(/^[a-zA-Z0-9_-]+$/, 'Username can only contain letters, numbers, underscores and dashes')
.max(32, 'Username must be less than 32 characters')
.max(34, 'Username must be less than 34 characters')
.min(6, 'Username must be at least 6 characters'),

@@ -109,3 +109,3 @@ status: models_1.UsersSchema.shape.status.optional().default(constants_1.USERS_STATUS.ACTIVE),

description: zod_1.z.string().optional(),
activateAllInbounds: zod_1.z.boolean().default(false),
activateAllInbounds: zod_1.z.boolean().optional(),
});

@@ -112,0 +112,0 @@ CreateUserCommand.ResponseSchema = zod_1.z.object({

{
"name": "@remnawave/backend-contract",
"version": "0.0.83",
"version": "0.0.84",
"public": true,

@@ -5,0 +5,0 @@ "license": "AGPL-3.0-only",

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