Skip to content

Commit

Permalink
Update ton sdk to 1.18.0 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxvx authored Jul 5, 2021
1 parent 5284f88 commit 0477cfd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
=========

1.17.0
-----

* Updated TON SDK library to version 1.18.0
* Fix integration tests

1.16.0
-----

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- ffi extension
- json extension
- zlib extension
- TON SDK Library __1.17.0__ (download script included)
- TON SDK Library __1.18.0__ (download script included)

## Installation
To install it via [Composer](https://getcomposer.org/) simply run:
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
class Scripts
{
private const DEFAULT_SDK_VERSION = '1.17.0';
private const DEFAULT_SDK_VERSION = '1.18.0';

private const SOURCE_FILE_NAME = [
'win32' => 'tonclient_%s_%s_dll.gz',
Expand Down
4 changes: 2 additions & 2 deletions tests/Integration/TonClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function testVersion(): void
$expected = new ResultOfVersion(
new Response(
[
'version' => '1.17.0'
'version' => '1.18.0'
]
)
);
Expand All @@ -48,7 +48,7 @@ public function testGetApiReference(): void
{
$resultOfGetApiReference = $this->tonClient->getApiReference();

self::assertEquals('1.17.0', $resultOfGetApiReference->getApi()['version']);
self::assertEquals('1.18.0', $resultOfGetApiReference->getApi()['version']);
self::assertCount(9, $resultOfGetApiReference->getApi()['modules']);
}
}

0 comments on commit 0477cfd

Please sign in to comment.