Skip to content

Commit

Permalink
Merge pull request #38 from ProtonProtocol/develop
Browse files Browse the repository at this point in the history
PSR Ping Interval
  • Loading branch information
Joey Harward authored Sep 10, 2021
2 parents db9af7c + fb97826 commit 3c5f0c3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 46
const val versionName = "1.0.8"
}

object BuildPlugins {
Expand Down
3 changes: 2 additions & 1 deletion protonsdk/src/main/java/com/metallicus/protonsdk/Proton.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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()

Expand Down

0 comments on commit 3c5f0c3

Please sign in to comment.