sequence-sdk 1.5 → 1.5.1
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 +4 -4
- data/README.md +1 -1
- data/lib/sequence/account.rb +1 -0
- data/lib/sequence/flavor.rb +1 -0
- data/lib/sequence/stats.rb +9 -3
- data/lib/sequence/transaction.rb +1 -0
- data/lib/sequence/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 701878f877b6db97c0ed9cc56df5b8b0b2ed1d7a41403016c0077bd981f5f39a
|
|
4
|
+
data.tar.gz: 9856b4ce8f72b15e12870ee6e80daea334986f13f2f3d40143e5e0aa641353f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aad7af2cea9f1f767f83a20d0f9037e7691a86904f35d8b6162be06546a1bb8271b2e29114b459ce71ad7de5cccb712292dfd6a494bcd25a1a09187bd485d9e3
|
|
7
|
+
data.tar.gz: ab3237fce6d971cdd7036e185136191258e0bccc332a81bbeb541f85e79a1d219abc818b090561fa4e2c08fbb93ce707619c5fb92136102041231ec0b71afac7
|
data/README.md
CHANGED
data/lib/sequence/account.rb
CHANGED
data/lib/sequence/flavor.rb
CHANGED
data/lib/sequence/stats.rb
CHANGED
|
@@ -8,18 +8,24 @@ module Sequence
|
|
|
8
8
|
# An object describing summary information about a ledger.
|
|
9
9
|
# @private
|
|
10
10
|
class Stats < ResponseObject
|
|
11
|
+
# @!attribute [r] flavor_count
|
|
12
|
+
# The number of flavors in the ledger.
|
|
13
|
+
# @return [Integer]
|
|
14
|
+
attrib :flavor_count
|
|
15
|
+
|
|
11
16
|
# @!attribute [r] asset_count
|
|
12
|
-
#
|
|
17
|
+
# Deprecated. Use {#flavor_count} instead.
|
|
18
|
+
# The number of assets in the ledger.
|
|
13
19
|
# @return [Integer]
|
|
14
20
|
attrib :asset_count
|
|
15
21
|
|
|
16
22
|
# @!attribute [r] account_count
|
|
17
|
-
#
|
|
23
|
+
# The number of accounts in the ledger.
|
|
18
24
|
# @return [Integer]
|
|
19
25
|
attrib :account_count
|
|
20
26
|
|
|
21
27
|
# @!attribute [r] tx_count
|
|
22
|
-
#
|
|
28
|
+
# The number of transactions in the ledger.
|
|
23
29
|
# @return [Integer]
|
|
24
30
|
attrib :tx_count
|
|
25
31
|
|
data/lib/sequence/transaction.rb
CHANGED
|
@@ -39,6 +39,7 @@ module Sequence
|
|
|
39
39
|
attrib(:actions) { |raw| raw.map { |v| Action.new(v) } }
|
|
40
40
|
|
|
41
41
|
# @!attribute [r] contracts
|
|
42
|
+
# Deprecated. Use {Token::ClientModule#list} instead.
|
|
42
43
|
# List of contracts created by the transaction.
|
|
43
44
|
# @return [Array<Contract>]
|
|
44
45
|
attrib(:contracts) { |raw| raw.map { |v| Contract.new(v) } }
|
data/lib/sequence/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sequence-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chain Engineering
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: SDK for Sequence
|
|
14
14
|
email:
|
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
61
61
|
version: '0'
|
|
62
62
|
requirements: []
|
|
63
63
|
rubyforge_project:
|
|
64
|
-
rubygems_version: 2.7.
|
|
64
|
+
rubygems_version: 2.7.3
|
|
65
65
|
signing_key:
|
|
66
66
|
specification_version: 4
|
|
67
67
|
summary: SDK for Sequence
|