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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43840673c63b02899e8bcdb4c28e088bb5a7a154dd322f59d1ab250f318d7a7c
4
- data.tar.gz: 493f143440c24e484add14976c3ec92a70b72f15022f22166d8596e23c254c4f
3
+ metadata.gz: 3ff97345f66a326cdbb4cfa28e0458ea55a0bb5eca469c2f86ef939837618c03
4
+ data.tar.gz: a8a4515006fa955c86f072ce4b3233023cff3ffdf049958858a24b7dc7099842
5
5
  SHA512:
6
- metadata.gz: 9076c4d8e5861439b5af3f7f981ccf633bfc3b8fb5b4a62596228ece4d2d13a3c3df9f8dfad6502c8735525fb0b07032e5d552c5242ca99b5ea39c704c2b19b8
7
- data.tar.gz: 70629fd858e3a46d159a547c3735ab470a6797cbcf68645fb131646608d069fee41227627d78491872e03191be068cd9e00277845bbe2c433e4de37e0bceafc9
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CardanoWallet
4
- VERSION = '0.3.7'
4
+ VERSION = '0.3.8'
5
5
  end
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.7
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-19 00:00:00.000000000 Z
11
+ date: 2021-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty