cardano_wallet 0.3.15 → 0.3.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cardano_wallet/shelley.rb +3 -2
- data/lib/cardano_wallet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fa0c383ca96ba2ca8b2293d2754578a41aabc2db26617ca51f0519d662b0820
|
4
|
+
data.tar.gz: 36a2ca1a5a76837978ae826e7d285ac53ab24eccf13678489d9f5383e0695592
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92abce3f9b08f24e9be3138236eb346ab2c992b61b8c4182bc4dbeae02fa572708de671b56d3dbef1ac1bb589bf4ee878369967da05e8c6d8b020de125668a0f
|
7
|
+
data.tar.gz: 9fc6f2d60b340f6cb9161a34d33b2b4b97c49cac0a4ba670c8b5d69dc2e901abed986acdda5f1d5de6e459755b47c2bf61a17161b744271311b9f9d8c530478a
|
@@ -103,8 +103,9 @@ module CardanoWallet
|
|
103
103
|
end
|
104
104
|
|
105
105
|
# @see https://input-output-hk.github.io/cardano-wallet/api/#operation/getWalletKey
|
106
|
-
def get_public_key(wid, role, index)
|
107
|
-
|
106
|
+
def get_public_key(wid, role, index, query = {})
|
107
|
+
query_formatted = query.empty? ? '' : Utils.to_query(query)
|
108
|
+
self.class.get("/wallets/#{wid}/keys/#{role}/#{index}#{query_formatted}")
|
108
109
|
end
|
109
110
|
|
110
111
|
# @see https://input-output-hk.github.io/cardano-wallet/api/#operation/postAccountKey
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cardano_wallet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Stachyra
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|