Socket
Socket
Sign inDemoInstall

express-idempotency-redis-adapter

Package Overview
Dependencies
4
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "express-idempotency-redis-adapter",
"version": "1.0.5",
"version": "1.0.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -12,3 +12,3 @@ import {

const timeToLive = 86_400;
const ttl = 86_400;

@@ -37,9 +37,5 @@ type PartialRedisAdapterOptions = {

constructor({
connectionConfig,
connectionInstance,
ttl = timeToLive,
}: RedisAdapterOptions) {
this.#client = connectionInstance ?? createClient(connectionConfig);
this.#ttl = ttl;
constructor(options?: RedisAdapterOptions) {
this.#ttl = options?.ttl ?? ttl;
this.#client = options?.connectionInstance ?? createClient(options?.connectionConfig);
}

@@ -46,0 +42,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc