@moosty/lisk-service-events
Advanced tools
Comparing version 0.0.89 to 0.0.90
@@ -32,3 +32,3 @@ "use strict"; | ||
const [status, setStatus] = react_1.useState({}); | ||
const [round, setRound] = react_1.useState({}); | ||
const [round] = react_1.useState({}); | ||
const [forgers, setForgers] = react_1.useState([]); | ||
@@ -62,3 +62,2 @@ const [feeEstimates, setFeeEstimates] = react_1.useState({}); | ||
}); | ||
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 +64,0 @@ serviceClient.on("update.forgers", (forgersData) => setForgers([...forgersData.data])); |
{ | ||
"name": "@moosty/lisk-service-events", | ||
"version": "0.0.89", | ||
"version": "0.0.90", | ||
"description": "Lisk service events", | ||
@@ -17,3 +17,3 @@ "author": "Moosty <info@moosty.com>", | ||
"dependencies": { | ||
"@moosty/lisk-service-provider": "^0.0.89" | ||
"@moosty/lisk-service-provider": "^0.0.90" | ||
}, | ||
@@ -37,3 +37,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "59db4a1f357547a1f56bd0e2dd6c21aeb1ced51c" | ||
"gitHead": "a1de256646535335524e95eeac49c981bdb2bb2d" | ||
} |
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
18985
97
+ Added@moosty/lisk-connection-provider@0.0.90(transitive)
+ Added@moosty/lisk-service-provider@0.0.90(transitive)
- Removed@moosty/lisk-connection-provider@0.0.89(transitive)
- Removed@moosty/lisk-service-provider@0.0.89(transitive)