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

authdb

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authdb - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

6

authdb.js

@@ -10,5 +10,6 @@ var redis = require("redis");

this.port = options.port || 6379;
this.redisClient = redis.createClient(this.port, this.host, {
no_ready_check: true
});
this.redisClient = redis.createClient(this.port, this.host);
return this;

@@ -49,2 +50,3 @@ };

this.redisClient.set(token, JSON.stringify(account), cb);
this.redisClient.expire(token, 3600 * 24 * 30); // token will be valid for 30 days
};

@@ -51,0 +53,0 @@

{
"name": "authdb",
"version": "0.1.0",
"version": "0.2.0",
"description": "database of authenticated users",

@@ -5,0 +5,0 @@ "main": "authdb.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