cns 2.0.5 → 2.0.6
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/Gemfile.lock +2 -2
- data/lib/cns/apibc.rb +1 -1
- data/lib/cns/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea39a36e26ed2f5c695cdbd7fe43597f19b39880f5ccb86efd4c895eefc0374a
|
4
|
+
data.tar.gz: cbeb87ea002b927408eed546e65b9cc411ba6e4f9104eb33025d164bc8bceda2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf0d51cb5cc7261e328aab99e73de0068ed95646bc48ea61287d8c4583a799344c849a96008ea7460afa9df71f4515662541ff700e27c2ded8cb6e1f5fec9b1e
|
7
|
+
data.tar.gz: fb1be4e1142cdbce553526807d8dc1d23118eecc2e8b307e8b6c4d57685bfecc9e503a1a9f635be0a218c31f10258a32d354103ec6311855fa81189e2df8a1f5
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cns (2.0.
|
4
|
+
cns (2.0.6)
|
5
5
|
curb
|
6
6
|
faraday
|
7
7
|
faraday-retry
|
@@ -81,7 +81,7 @@ GEM
|
|
81
81
|
google-cloud-core (1.8.0)
|
82
82
|
google-cloud-env (>= 1.0, < 3.a)
|
83
83
|
google-cloud-errors (~> 1.0)
|
84
|
-
google-cloud-env (2.3.
|
84
|
+
google-cloud-env (2.3.1)
|
85
85
|
base64 (~> 0.2)
|
86
86
|
faraday (>= 1.0, < 3.a)
|
87
87
|
google-cloud-errors (1.5.0)
|
data/lib/cns/apibc.rb
CHANGED
@@ -103,7 +103,7 @@ module Cns
|
|
103
103
|
# @param [Hash] prm Additional request parameters
|
104
104
|
# @return [Hash] Parsed API response
|
105
105
|
def es_req(act, add, pag = 1, prm = {})
|
106
|
-
pjsn(@escn.get('/api', prm.merge(module: 'account', action: act, address: add, page: pag, apikey: @esky)))
|
106
|
+
pjsn(@escn.get('/v2/api', prm.merge(chainid: 1, module: 'account', action: act, address: add, page: pag, apikey: @esky)))
|
107
107
|
rescue Faraday::Error
|
108
108
|
{status: '0'}
|
109
109
|
end
|
data/lib/cns/version.rb
CHANGED