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

@kokosro/stm

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kokosro/stm - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

18

index.js

@@ -5,5 +5,13 @@ const Ioredis = require('ioredis');

const defaultOptions = {
driftFactor: 0.01,
retryCount: 100,
retryDelay: 20,
retryJitter: 50,
automaticExtensionThreshold: 500,
};
class Stm extends EventEmitter {
constructor(redisUrl) {
constructor(redisUrl, options = {}) {
super();
this.options = Object.assign(options || {}, defaultOptions);
this.redis = new Ioredis(redisUrl);

@@ -39,9 +47,3 @@ this.prefixes = {

[this.redis],
{
driftFactor: 0.01,
retryCount: 40,
retryDelay: 200,
retryJitter: 200,
automaticExtensionThreshold: 500,
},
this.options,
);

@@ -48,0 +50,0 @@

{
"name": "@kokosro/stm",
"version": "1.0.0",
"version": "1.1.0",
"description": "Redis Short Term Memory",

@@ -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