cardano_wallet 0.4.0 → 0.4.1

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: ff6a6b64dbaa80f7564f05e29c28068676945ff5bca968563ae764720af2d5b8
4
- data.tar.gz: a1aa9f10c95dba5d28c749859b43b0756c6bf94ee0035dacc987b2a233b8e0bc
3
+ metadata.gz: 2818b4fc7a9045e2727ceaa830f1483c0d27944119c8b37c52b58d0135315808
4
+ data.tar.gz: 4885e446b178c89d1706a13d462b6f723a3fb00e39bb24493376e814a264d9c9
5
5
  SHA512:
6
- metadata.gz: 8b00a425a276b3a2428672484fa0fe301e140ab0ae65c88fc45f7ea3e8b0f8889f20d4f1f04de0d0171fb3ebb9ba43b95cf8f54c9a5469102256d89bda05a376
7
- data.tar.gz: 642380a8b7e87106f1b6f6cf4437a4a7079ebc5d696977764eac4a025b9abd1fcfac066ef8dc7d2629bed24c0d4d3788517f34e71ad47d24ee032a54cf4ba1b1
6
+ metadata.gz: 037bd53bedd96347389dd83036b3e9c604d6423b2d47efaf121c629a79a105066fcbebbdaa71a3eb6c9d47322694d21b5c16e0818c55f144023ec2b756b02f19
7
+ data.tar.gz: 21d117259928e6bfc8e0435cb999f06e97b14c9d8f069ada8cf4324b0952e68dd9bf201e40c51e91f779b157dd86a2ceed66ac951817106b8a28092d18f0c7e5
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency 'rake', '~> 12.3'
38
38
  spec.add_development_dependency 'rspec', '~> 3.7'
39
39
  spec.add_development_dependency 'rubocop', '~> 1.11'
40
- spec.add_development_dependency 'simplecov'
40
+ spec.add_development_dependency 'simplecov', '~> 0.19.0'
41
41
  end
@@ -230,6 +230,16 @@ module CardanoWallet
230
230
  body: { cosigner => acc_pub_key }.to_json,
231
231
  headers: { 'Content-Type' => 'application/json' })
232
232
  end
233
+
234
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getUTxOsStatistics
235
+ def utxo(wid)
236
+ self.class.get("/shared-wallets/#{wid}/statistics/utxos")
237
+ end
238
+
239
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getWalletUtxoSnapshot
240
+ def utxo_snapshot(wid)
241
+ self.class.get("/shared-wallets/#{wid}/utxo")
242
+ end
233
243
  end
234
244
  end
235
245
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CardanoWallet
4
- VERSION = '0.4.0'
4
+ VERSION = '0.4.1'
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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Stachyra
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-14 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bip_mnemonic
@@ -98,16 +98,16 @@ dependencies:
98
98
  name: simplecov
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: 0.19.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: 0.19.0
111
111
  description: Ruby wrapper over cardano-wallet.
112
112
  email:
113
113
  - piotr.stachyra@gmail.com
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  requirements: []
168
- rubygems_version: 3.3.7
168
+ rubygems_version: 3.3.26
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: Ruby wrapper over cardano-wallet.