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
103
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.1.9 to 0.1.10

4

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

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

activeUserInbounds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
expireAt: z.ZodEffects<z.ZodString, Date, string>;
expireAt: z.ZodEffects<z.ZodDate, Date, unknown>;
createdAt: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;

@@ -50,3 +50,2 @@ lastTrafficResetAt: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;

username: string;
expireAt: string;
status?: "DISABLED" | "LIMITED" | "EXPIRED" | "ACTIVE" | undefined;

@@ -59,2 +58,3 @@ createdAt?: string | undefined;

trafficLimitStrategy?: "MONTH" | "NO_RESET" | "DAY" | "WEEK" | undefined;
expireAt?: unknown;
lastTrafficResetAt?: string | undefined;

@@ -61,0 +61,0 @@ trojanPassword?: string | undefined;

@@ -82,8 +82,6 @@ "use strict";

expireAt: zod_1.z
.string({
.preprocess((val) => new Date(val), zod_1.z.date({
required_error: 'Expiration date is required',
invalid_type_error: 'Invalid date format',
})
.datetime({ message: 'Invalid date format', offset: true, local: true })
.transform((str) => new Date(str))
}))
.describe('Date format: 2025-01-17T15:38:45.065Z'),

@@ -90,0 +88,0 @@ createdAt: zod_1.z

@@ -82,8 +82,6 @@ "use strict";

expireAt: zod_1.z
.string({
.preprocess((val) => new Date(val), zod_1.z.date({
required_error: 'Expiration date is required',
invalid_type_error: 'Invalid date format',
})
.datetime({ message: 'Invalid date format', offset: true, local: true })
.transform((str) => new Date(str))
}))
.describe('Date format: 2025-01-17T15:38:45.065Z'),

@@ -90,0 +88,0 @@ createdAt: zod_1.z

{
"name": "@remnawave/backend-contract",
"version": "0.1.9",
"version": "0.1.10",
"public": true,

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

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