Skip to content

Commit

Permalink
Bump java SDK version (#115)
Browse files Browse the repository at this point in the history
* Bump java SDK version

* Update readme
  • Loading branch information
Ifropc authored Aug 3, 2023
1 parent e672c84 commit 6438f49
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Maven:
<dependency>
<groupId>org.stellar</groupId>
<artifactId>wallet-sdk</artifactId>
<version>0.9.2</version>
<version>0.10.0</version>
</dependency>
```

Gradle:

```gradle
implementation("org.stellar:wallet-sdk:0.9.2")
implementation("org.stellar:wallet-sdk:0.10.0")
```

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ val jvmVersion = JavaVersion.VERSION_1_8

allprojects {
group = "org.stellar.wallet-sdk"
version = "0.9.2"
version = "0.10.0"
}

subprojects {
Expand Down
3 changes: 2 additions & 1 deletion examples/SEP-24/src/main/kotlin/org/stellar/example/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ suspend fun main() {

// Send transaction with transfer
val anchorTransaction = (statusChange.transaction as WithdrawalTransaction)
val transfer = stellar.transaction(keypair).transferWithdrawalTransaction(anchorTransaction, asset).build()
val transfer =
stellar.transaction(keypair).transferWithdrawalTransaction(anchorTransaction, asset).build()

transfer.sign(keypair)

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
coroutines = "1.6.4"
google-gson = "2.8.9"
hoplite = "2.7.0"
java-stellar-sdk = "0.34.2"
java-stellar-sdk = "0.40.0"
dokka = "1.6.10"
kotlin = "1.8.20"
kotlinx-json = "1.5.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ interface WalletSigner {
* @constructor Create empty Json http signer
* @property url url to which requests should be made
* @property requestTransformer optional transformer of the default request. Can be used for
* authentication purposes, etc.
* authentication purposes, etc.
*/
class DomainSigner(val url: String, val requestTransformer: HttpRequestBuilder.() -> Unit = {}) :
DefaultSigner() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.stellar.walletsdk.horizon

import java.time.Duration
import kotlin.math.min
import mu.KotlinLogging
import org.stellar.sdk.*
import org.stellar.sdk.responses.SubmitTransactionTimeoutResponseException
Expand All @@ -12,7 +13,6 @@ import org.stellar.walletsdk.exception.ValidationException
import org.stellar.walletsdk.extension.accountOrNull
import org.stellar.walletsdk.horizon.transaction.TransactionBuilder
import org.stellar.walletsdk.util.toTimeBounds
import kotlin.math.min

private val log = KotlinLogging.logger {}

Expand Down

0 comments on commit 6438f49

Please sign in to comment.