@moosty/lisk-service-events
Advanced tools
Comparing version 0.0.88 to 0.0.89
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19217
+ Added@moosty/lisk-connection-provider@0.0.89(transitive)
+ Added@moosty/lisk-service-provider@0.0.89(transitive)
- Removed@moosty/lisk-connection-provider@0.0.88(transitive)
- Removed@moosty/lisk-service-provider@0.0.88(transitive)