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

@moosty/lisk-connection-provider

Package Overview
Dependencies
Maintainers
2
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moosty/lisk-connection-provider - npm Package Compare versions

Comparing version 0.0.114 to 0.0.115

8

dist/controllers/ServiceRPCController.js

@@ -43,6 +43,6 @@ "use strict";

const now = new Date().getTime();
if (cache?.result && now > cache.expire) {
if (cache?.result && now < cache.expire) {
return { cache };
}
if (cache && !cache.result) {
if (cache && !cache.result && now < cache.expire) {
this.cache = [{ ...cache, subscriptions: [cb, ...cache?.subscriptions] }, ...this.cache];

@@ -71,3 +71,5 @@ return { cache: true };

}
resolve({});
else {
resolve({});
}
});

@@ -74,0 +76,0 @@ this.getMore = async (method, params = {}, v1 = false) => {

{
"name": "@moosty/lisk-connection-provider",
"version": "0.0.114",
"version": "0.0.115",
"description": "Lisk connection provider component to connect react to Lisk endpoints",

@@ -37,3 +37,3 @@ "author": "Moosty <info@moosty.com>",

},
"gitHead": "70ef3469ad8c73c3d9926c21591f6a44162c4e19"
"gitHead": "696871d21482efc8425f5d8a99662a527262a695"
}

Sorry, the diff of this file is not supported yet

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