cardano_wallet 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -3
- data/lib/cardano_wallet/shared.rb +6 -0
- data/lib/cardano_wallet/shelley.rb +6 -0
- 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: 3ff97345f66a326cdbb4cfa28e0458ea55a0bb5eca469c2f86ef939837618c03
|
4
|
+
data.tar.gz: a8a4515006fa955c86f072ce4b3233023cff3ffdf049958858a24b7dc7099842
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a661209422fe8e47bb7bc964107fb7726fb08b350db98e636eaeb224ce09447b7ea23b2663152bd27094a48e306f93c826b15b2d912c6111491f82bb22677aa
|
7
|
+
data.tar.gz: 8070466c5997132e9c878b302065a3796415494c36b0b7f579f8da7d64d553d4d141a0be1d276d77f5cca3da0ebdfcaa949b8be75f07d6a0c8f289d591f55e73
|
data/README.md
CHANGED
@@ -6,9 +6,6 @@
|
|
6
6
|
<a href="https://github.com/piotr-iohk/cardano-wallet-rb/releases">
|
7
7
|
<img src="https://img.shields.io/github/release/piotr-iohk/cardano-wallet-rb.svg" />
|
8
8
|
</a>
|
9
|
-
<a href="https://codecov.io/gh/piotr-iohk/cardano-wallet-rb">
|
10
|
-
<img src="https://codecov.io/gh/piotr-iohk/cardano-wallet-rb/branch/master/graph/badge.svg?token=OmUMUeyR21" />
|
11
|
-
</a>
|
12
9
|
<a href="https://github.com/piotr-iohk/cardano-wallet-rb/actions?query=workflow%3ATests">
|
13
10
|
<img src="https://github.com/piotr-iohk/cardano-wallet-rb/workflows/Tests/badge.svg" />
|
14
11
|
</a>
|
@@ -55,6 +55,12 @@ module CardanoWallet
|
|
55
55
|
body: payload.to_json,
|
56
56
|
headers: { 'Content-Type' => 'application/json' })
|
57
57
|
end
|
58
|
+
|
59
|
+
# @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getAccountKeyShared
|
60
|
+
def get_acc_public_key(wid, query = {})
|
61
|
+
query_formatted = query.empty? ? '' : Utils.to_query(query)
|
62
|
+
self.class.get("/shared-wallets/#{wid}/keys#{query_formatted}")
|
63
|
+
end
|
58
64
|
end
|
59
65
|
|
60
66
|
# API for Wallets
|
@@ -99,6 +99,12 @@ module CardanoWallet
|
|
99
99
|
body: payload.to_json,
|
100
100
|
headers: { 'Content-Type' => 'application/json' })
|
101
101
|
end
|
102
|
+
|
103
|
+
# @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getAccountKey
|
104
|
+
def get_acc_public_key(wid, query = {})
|
105
|
+
query_formatted = query.empty? ? '' : Utils.to_query(query)
|
106
|
+
self.class.get("/wallets/#{wid}/keys#{query_formatted}")
|
107
|
+
end
|
102
108
|
end
|
103
109
|
|
104
110
|
# API for Wallets
|
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.8
|
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-05-
|
11
|
+
date: 2021-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|