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

@katomaran/nest-role-group

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@katomaran/nest-role-group - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

dist/config/config.service.js

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

get redisExpiry() {
return parseInt(this.get('REDIS_EXPIRY') || '900', 10); // default to 900 seconds if not set
return parseInt(this.get('REDIS_EXPIRY') || '900', 10);
}

@@ -65,0 +65,0 @@ };

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

const config_module_1 = require("../config/config.module");
const config_service_1 = require("../config/config.service");
const ioredis_1 = require("ioredis");

@@ -25,6 +26,7 @@ let RedisModule = class RedisModule {

provide: 'REDIS_CLIENT',
useFactory: () => {
const redisUrl = process.env.REDIS_URL || 'redis://127.0.0.1:6379';
useFactory: (configService) => {
const redisUrl = configService.redisUrl;
return new ioredis_1.Redis(redisUrl);
},
inject: [config_service_1.ConfigService],
},

@@ -31,0 +33,0 @@ redis_service_1.RedisService,

{
"name": "@katomaran/nest-role-group",
"version": "0.0.4",
"version": "0.0.5",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

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