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

@remnawave/backend-contract

Package Overview
Dependencies
Maintainers
0
Versions
77
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.55 to 0.0.56

9

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

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

}),
createdAt: 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(),
});

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

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

}),
createdAt: 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(),
});

@@ -92,0 +101,0 @@

2

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