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

@moosty/lisk-service-events

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moosty/lisk-service-events - npm Package Compare versions

Comparing version 0.0.88 to 0.0.89

4

dist/index.js

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

const [status, setStatus] = react_1.useState({});
const [round, setRound] = react_1.useState([]);
const [round, setRound] = react_1.useState({});
const [forgers, setForgers] = react_1.useState([]);

@@ -62,3 +62,3 @@ const [feeEstimates, setFeeEstimates] = react_1.useState({});

});
serviceClient.on("update.round", (roundData) => setRound([...roundData.data]));
serviceClient.on("update.round", (roundData) => setRound({ ...roundData.data }));
serviceClient.on("update.fee_estimates", (feeEstimatesData) => setFeeEstimates((fees) => JSON.stringify(fees) !== JSON.stringify(feeEstimatesData.data) ? { ...feeEstimatesData.data } : fees));

@@ -65,0 +65,0 @@ serviceClient.on("update.forgers", (forgersData) => setForgers([...forgersData.data]));

import { BlockDataType, FeeEstimateDataType, ForgersDataType, NetworkStatusDataType, TransactionDataType } from "../../lisk-connection-provider";
export interface ServiceEventsProps {
block: BlockDataType;
round: RoundType[];
round: RoundType;
forgers: Array<ForgersDataType>;

@@ -6,0 +6,0 @@ transactions: Array<TransactionDataType>;

{
"name": "@moosty/lisk-service-events",
"version": "0.0.88",
"version": "0.0.89",
"description": "Lisk service events",

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

"dependencies": {
"@moosty/lisk-service-provider": "^0.0.88"
"@moosty/lisk-service-provider": "^0.0.89"
},

@@ -37,3 +37,3 @@ "main": "dist/index.js",

},
"gitHead": "939685dc611a0b5f1b57b5cda068966f0b4074cc"
"gitHead": "59db4a1f357547a1f56bd0e2dd6c21aeb1ced51c"
}

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