deps: update jsonrpsee 0.3.0 (#289)

Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
This commit is contained in:
Greg Hill
2021-08-03 10:26:29 +01:00
committed by GitHub
parent 08a3e6574d
commit 2749bd300b
5 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ keywords = ["parity", "substrate", "blockchain"]
async-std = "1.8.0"
futures = { version = "0.3.9", features = ["compat"], package = "futures" }
futures01 = { package = "futures", version = "0.1.29" }
jsonrpsee-types = "0.2.0"
jsonrpsee-types = "0.3.0"
log = "0.4.13"
serde_json = "1.0.61"
thiserror = "1.0.23"
+6 -5
View File
@@ -48,18 +48,17 @@ use jsonrpsee_types::{
params::{
Id,
JsonRpcParams,
JsonRpcSubscriptionParams,
SubscriptionId,
TwoPointZero,
},
request::{
JsonRpcCallSer,
JsonRpcInvalidRequest,
JsonRpcNotification,
JsonRpcNotificationSer,
},
response::{
JsonRpcResponse,
JsonRpcSubscriptionResponseAlloc,
},
response::JsonRpcResponse,
},
DeserializeOwned,
Error as JsonRpseeError,
@@ -210,7 +209,9 @@ impl SubxtClient {
while let Some(Ok(response)) = from_back.next().await
{
let notif = serde_json::from_str::<
JsonRpcSubscriptionResponseAlloc<JsonValue>,
JsonRpcNotification<
JsonRpcSubscriptionParams<_>,
>,
>(
&response
)