Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump java SDK version #115

Merged
merged 2 commits into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading