Skip to content

Commit 25498b1

Browse files
authored
v1.17.0 (#26)
* v1.17.0 * working scala version
1 parent fcbb23f commit 25498b1

File tree

9 files changed

+97
-44
lines changed

9 files changed

+97
-44
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Release Notes
22
All notable changes to this project will be documented in this file.
33

4+
## 1.17.0 Jun 27, 2021
5+
6+
### Featured
7+
- Support for TON-Client (1.17.0 Jun 21, 2021)
8+
49
## 1.16.1 Jun 17, 2021
510

611
### Featured

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name := "freeton-sdk-client-scala-binding"
22

3-
version := "1.16.1-M1"
3+
version := "1.17.1"
44

55
organization := "com.dancingcode"
66

333 KB
Binary file not shown.
524 KB
Binary file not shown.
381 KB
Binary file not shown.

src/main/resources/ton_client.dll

355 KB
Binary file not shown.

src/main/scala/ton/sdk/client/modules/Crypto.scala

Lines changed: 75 additions & 42 deletions
Large diffs are not rendered by default.

src/test/scala/ton/sdk/client/modules/clientSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ abstract class ClientSpec[T[_]] extends AsyncFlatSpec with SdkAssertions[T] {
5050

5151
implicit val ef: Effect[T]
5252

53-
private val versionNumber = "1.16.1"
53+
private val versionNumber = "1.17.0"
5454

5555
behavior of "Client"
5656

src/test/scala/ton/sdk/client/modules/cryptoSpec.scala

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ class AsyncCryptoSpec extends CryptoSpec[Future] {
3535
}
3636

3737
// TODO implement and test RegisterSigningBox
38+
39+
// TODO implement and test RegisterEncryptionBox
3840
}
3941

4042
class SyncCryptoSpec extends CryptoSpec[Try] {
@@ -606,4 +608,17 @@ abstract class CryptoSpec[T[_]] extends AsyncFlatSpec with SdkAssertions[T] {
606608
assertSdkError(result)("Invalid hex string: Odd number of digits\r\nhex: [bam]")
607609
}
608610

611+
it should "not get encryption box info" in {
612+
val result = local { implicit ctx =>
613+
call(Request.EncryptionBoxGetInfo(1))
614+
}
615+
assertSdkError(result)("Encryption box is not registered. ID 1")
616+
}
617+
618+
it should "not remove encryption box info" in {
619+
val result = local { implicit ctx =>
620+
call(Request.RemoveEncryptionBox(1))
621+
}
622+
assertValue(result)(())
623+
}
609624
}

0 commit comments

Comments
 (0)