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.5 to 0.0.6

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

1

api/controllers/users.ts

@@ -13,2 +13,3 @@ export const USERS_CONTROLLER = 'users' as const;

DELETE_USER: '/delete/:uuid',
UPDATE: '/update',
} as const;

@@ -58,2 +58,3 @@ import * as CONTROLLERS from './controllers';

`${ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.DELETE_USER}/${uuid}`,
UPDATE: `${ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.UPDATE}`,
},

@@ -60,0 +61,0 @@ SUBSCRIPTION: {

@@ -15,2 +15,3 @@ "use strict";

DELETE_USER: '/delete/:uuid',
UPDATE: '/update',
};

@@ -79,2 +79,3 @@ "use strict";

DELETE_USER: (uuid) => `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.DELETE_USER}/${uuid}`,
UPDATE: `${exports.ROOT}/${CONTROLLERS.USERS_CONTROLLER}/${CONTROLLERS.USERS_ROUTES.UPDATE}`,
},

@@ -81,0 +82,0 @@ SUBSCRIPTION: {

@@ -26,1 +26,2 @@ "use strict";

__exportStar(require("./revoke-user-subscription.command"), exports);
__exportStar(require("./update-user.command"), exports);

@@ -241,2 +241,7 @@ "use strict";

},
UPDATE_USER_WITH_INBOUNDS_ERROR: {
code: 'A049',
message: 'Update user with inbounds error',
httpCode: 500,
},
};

@@ -10,1 +10,2 @@ export * from './create-user.command';

export * from './revoke-user-subscription.command';
export * from './update-user.command';

@@ -238,2 +238,7 @@ export const ERRORS = {

},
UPDATE_USER_WITH_INBOUNDS_ERROR: {
code: 'A049',
message: 'Update user with inbounds error',
httpCode: 500,
},
} as const;

2

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