From ff8126771ea3eab08aeed7ec826140c76afe25ec Mon Sep 17 00:00:00 2001 From: Joey Harward Date: Thu, 19 Aug 2021 11:44:32 -0400 Subject: [PATCH 1/2] adding ping interval for PSR (for websocket disconnection issues) update README bump version for release --- README.md | 5 +++++ buildSrc/src/main/kotlin/Dependencies.kt | 4 ++-- protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e37708be..cb5dd64f 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,11 @@ EOS APIs inspired by Key Storage inspired by [Secure Device Storage](https://github.com/adorsys/secure-storage-android) +# Developer Chat + +We have a telegram channel dedicated to Proton development here: +[https://t.me/protondev](https://t.me/protondev) + # MIT License Copyright (c) 2021 Proton Chain LLC, Delaware diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index 0a78678d..d9fb5663 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -23,8 +23,8 @@ const val kotlinVersion = "1.5.21" const val orchidVersion = "0.21.1" object ProtonSdk { - const val versionCode = 44 - const val versionName = "1.0.6" + const val versionCode = 45 + const val versionName = "1.0.7" } object BuildPlugins { diff --git a/protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt b/protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt index 577bce7b..8c188ef8 100644 --- a/protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt +++ b/protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt @@ -797,6 +797,7 @@ class Proton private constructor(context: Context) { .connectTimeout(30, TimeUnit.SECONDS) .readTimeout(30, TimeUnit.SECONDS) .writeTimeout(30, TimeUnit.SECONDS) + .pingInterval(5, TimeUnit.SECONDS) .addInterceptor(logging) .build() From fb9782659801eb33412e2fea510e3729dd575ef7 Mon Sep 17 00:00:00 2001 From: Joey Harward Date: Thu, 9 Sep 2021 21:17:18 -0400 Subject: [PATCH 2/2] adding loan token to markets bump version --- buildSrc/src/main/kotlin/Dependencies.kt | 4 ++-- protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buildSrc/src/main/kotlin/Dependencies.kt b/buildSrc/src/main/kotlin/Dependencies.kt index d9fb5663..e0b23df7 100644 --- a/buildSrc/src/main/kotlin/Dependencies.kt +++ b/buildSrc/src/main/kotlin/Dependencies.kt @@ -23,8 +23,8 @@ const val kotlinVersion = "1.5.21" const val orchidVersion = "0.21.1" object ProtonSdk { - const val versionCode = 45 - const val versionName = "1.0.7" + const val versionCode = 46 + const val versionName = "1.0.8" } object BuildPlugins { diff --git a/protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt b/protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt index 8c188ef8..4a2a1116 100644 --- a/protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt +++ b/protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt @@ -244,7 +244,7 @@ class Proton private constructor(context: Context) { val tokenContracts = getTokenContractsAsync() val marketContracts = tokenContracts.filter { - it.contract == "eosio.token" || it.contract == "xtokens" + it.contract == "eosio.token" || it.contract == "xtokens" || it.contract=="loan.token" } if (updateExchangeRates) {