Updated on 2026-08-14
This commit is contained in:
parent
146261c8fc
commit
458fc16dcb
3 changed files with 9 additions and 3 deletions
|
|
@ -36,7 +36,12 @@ internal class DefaultWcRespondService : WcRespondService {
|
||||||
}
|
}
|
||||||
is Wallet.Model.JsonRpcResponse.JsonRpcResult -> {
|
is Wallet.Model.JsonRpcResponse.JsonRpcResult -> {
|
||||||
Timber.tag(WC_TAG).i("Successful respond $response for request $request")
|
Timber.tag(WC_TAG).i("Successful respond $response for request $request")
|
||||||
response.result.right()
|
if (response.result == null) {
|
||||||
|
Timber.tag(WC_TAG).e(
|
||||||
|
"Response result is null, but it should be String. Casted to empty",
|
||||||
|
)
|
||||||
|
}
|
||||||
|
(response.result ?: "").right()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
continuation.resume(result)
|
continuation.resume(result)
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,7 @@ internal class DefaultWcPairUseCaseTest {
|
||||||
proposerPublicKey = "",
|
proposerPublicKey = "",
|
||||||
relayProtocol = "",
|
relayProtocol = "",
|
||||||
relayData = "",
|
relayData = "",
|
||||||
|
scopedProperties = null,
|
||||||
)
|
)
|
||||||
private val sdkVerifyContext: Wallet.Model.VerifyContext
|
private val sdkVerifyContext: Wallet.Model.VerifyContext
|
||||||
get() = Wallet.Model.VerifyContext(
|
get() = Wallet.Model.VerifyContext(
|
||||||
|
|
|
||||||
|
|
@ -74,8 +74,8 @@ zxingQrCode = "3.5.1"
|
||||||
kotlinSerialization = "1.8.0"
|
kotlinSerialization = "1.8.0"
|
||||||
kotlinDatetime = "0.6.2"
|
kotlinDatetime = "0.6.2"
|
||||||
arrow = "1.2.4" # 2.0.1 breaks the build
|
arrow = "1.2.4" # 2.0.1 breaks the build
|
||||||
reownCore = "1.1.2"
|
reownCore = "1.4.9"
|
||||||
reownWeb3 = "1.1.2"
|
reownWeb3 = "1.4.9"
|
||||||
prettyLogger = "2.2.0"
|
prettyLogger = "2.2.0"
|
||||||
okHttp-prettyLogging = "3.1.0"
|
okHttp-prettyLogging = "3.1.0"
|
||||||
chucker = "4.0.0"
|
chucker = "4.0.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue