ton_sdk_client 1.19.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6868c6fe12ffd4126d1eeb38b3030a3ed5d7f035dae0fec74b9d84db10114c4
4
- data.tar.gz: e54ded382e777172f4c55f900900b8bb05c8eb92e446a7a14da9940183cf84a6
3
+ metadata.gz: b2505e8728fde891a77e7ba520d4d465757220891c03731b685b632963508154
4
+ data.tar.gz: 29dc859c271d8534e04d9de0464d78b2d773db8dce304fdc1ab56a59428644e4
5
5
  SHA512:
6
- metadata.gz: 7d72968fce6441bc33b7c39eb1901acbeeea916aeb44975775bbe2bd95d0bd45d5cba2b80a175a5b259f00c171e5b1868fb22cdaa947a9c2786a62aad42548f5
7
- data.tar.gz: 2677cd3d469893a7404b23df694fd756650ca90775d80d990556fa39d2fd3c36e19539be190031b17d291d466c7f14b74c32255f7a4fac1787c1b6109ddb5442
6
+ metadata.gz: 9183bc4f29e8a6b17cd9985ffb7dbab5508b0a5ca8a46afc7d049e602cc20c51d5d2bc39e39ef5b262a1d38946e12bd7ca78945db4cb1bc7fc46e4ff8a26d6b5
7
+ data.tar.gz: b7421f58b1a8efa63fe36bba7e5fd55cdfd3e6b5171575c81136f4a506678df09f1aef4e025f3848a8ccd5d6927f417affd8ac03b26de9ce874d96701d885079
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  all the changes are always according to the ones of the main TON SDK library; and on top on that, there may be additional ones
4
4
 
5
+ 1.20.x
6
+ -----
7
+ * NetworkConfig and AbiContract have been changed (not mentioned explicitly in Changelog of TON SDK )
8
+
5
9
 
6
10
  1.15.x
7
11
  -----
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # TON SDK client in Ruby and for Ruby
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/ton_sdk_client.png)](https://badge.fury.io/rb/ton_sdk_client)
4
- [![TON SDK version](https://img.shields.io/badge/TON%20SDK%20version-1.19.0-green)](https://github.com/tonlabs/TON-SDK/tree/1.19.0)
4
+ [![TON SDK version](https://img.shields.io/badge/TON%20SDK%20version-1.20.0-green)](https://github.com/tonlabs/TON-SDK/tree/1.20.0)
5
5
 
6
6
  Ruby gem-client bindings for [TON SDK](https://github.com/tonlabs/TON-SDK) which allows one to communicate with [FreeTON](https://freeton.org) blockchain in Ruby.
7
7
 
@@ -549,10 +549,11 @@ module TonSdk
549
549
  end
550
550
 
551
551
  class AbiContract
552
- attr_reader :abi_version, :header, :functions, :events, :data, :fields
552
+ attr_reader :abi_version, :version, :header, :functions, :events, :data, :fields
553
553
 
554
554
  def initialize(
555
555
  abi_version: nil,
556
+ version: nil,
556
557
  header: [],
557
558
  functions: [],
558
559
  events: [],
@@ -560,6 +561,7 @@ module TonSdk
560
561
  fields: []
561
562
  )
562
563
  @abi_version = abi_version
564
+ @version = version
563
565
  @header = header
564
566
  @functions = functions
565
567
  @events = events
@@ -571,11 +573,12 @@ module TonSdk
571
573
  {
572
574
  abi_version: @abi_version,
573
575
  :"ABI version" => @abi_version, #TODO
576
+ version: @version,
574
577
  header: @header,
575
578
  functions: @functions&.map(&:to_h),
576
579
  events: @events&.map(&:to_h),
577
580
  data: @data&.map(&:to_h),
578
- fields: @fields
581
+ fields: @fields&.map(&:to_h)
579
582
  }
580
583
  end
581
584
 
@@ -608,6 +611,7 @@ module TonSdk
608
611
 
609
612
  self.new(
610
613
  abi_version: j["ABI version"],
614
+ version: j["version"],
611
615
  header: j["header"],
612
616
  functions: fn_s,
613
617
  events: ev_s,
@@ -5,15 +5,16 @@ module TonSdk
5
5
  :server_address,
6
6
  :endpoints,
7
7
  :network_retries_count,
8
+ :max_reconnect_timeout,
9
+ :reconnect_timeout,
8
10
  :message_retries_count,
9
11
  :message_processing_timeout,
10
12
  :wait_for_timeout,
11
13
  :out_of_sync_threshold,
12
- :reconnect_timeout,
13
- :max_reconnect_timeout,
14
14
  :sending_endpoint_count,
15
15
  :latency_detection_interval,
16
16
  :max_latency,
17
+ :query_timeout,
17
18
  :access_key,
18
19
  keyword_init: true
19
20
  ) do
@@ -30,6 +31,7 @@ module TonSdk
30
31
  sending_endpoint_count: 2,
31
32
  latency_detection_interval: 60000,
32
33
  max_latency: 60000,
34
+ query_timeout: 60000,
33
35
  access_key: nil
34
36
  )
35
37
  super
@@ -1,4 +1,4 @@
1
1
  module TonSdk
2
- VERSION = "1.19.0"
3
- NATIVE_SDK_VERSION = "1.19.0"
2
+ VERSION = "1.20.0"
3
+ NATIVE_SDK_VERSION = "1.20.0"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ton_sdk_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Maslakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-14 00:00:00.000000000 Z
11
+ date: 2021-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi