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

@colearn/microservices-kit

Package Overview
Dependencies
Maintainers
3
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@colearn/microservices-kit - npm Package Compare versions

Comparing version 0.0.27 to 0.0.28

2

lib/auth-user.js

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

isContentEditor() {
return this.system === auth_1.SystemRole.ContentEditor;
return this.system === auth_1.SystemRole.Contenteditor;
}

@@ -23,0 +23,0 @@ isParent() {

@@ -15,3 +15,3 @@ import type { Request, Response, NextFunction } from 'express';

User = "user",
ContentEditor = "contenteditor"
Contenteditor = "contenteditor"
}

@@ -18,0 +18,0 @@ export declare function getSystemRole(scopes?: string[]): SystemRole | undefined;

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

SystemRole["User"] = "user";
SystemRole["ContentEditor"] = "contenteditor";
SystemRole["Contenteditor"] = "contenteditor";
})(SystemRole = exports.SystemRole || (exports.SystemRole = {}));

@@ -12,0 +12,0 @@ function getSystemRole(scopes) {

{
"name": "@colearn/microservices-kit",
"version": "0.0.27",
"version": "0.0.28",
"description": "colearn microservice kit",

@@ -5,0 +5,0 @@ "author": "Colearn",

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