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.56 to 0.0.57

9

build/commands/users/create-user.command.js

@@ -98,2 +98,11 @@ "use strict";

.optional(),
lastTrafficResetAt: zod_1.z.coerce
.date({
required_error: 'Expiration date is required',
invalid_type_error: 'Invalid expiration date format',
})
.refine(() => new Date(), {
message: 'Expiration date cannot be in the past',
})
.optional(),
});

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

@@ -99,2 +99,11 @@ import { z } from 'zod';

.optional(),
lastTrafficResetAt: z.coerce
.date({
required_error: 'Expiration date is required',
invalid_type_error: 'Invalid expiration date format',
})
.refine(() => new Date(), {
message: 'Expiration date cannot be in the past',
})
.optional(),
});

@@ -101,0 +110,0 @@

2

package.json
{
"name": "@remnawave/backend-contract",
"version": "0.0.56",
"version": "0.0.57",
"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