cardano_wallet 0.3.20 → 0.3.21

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: 14c547e38f46a65fec1d75bdf6d629881ef9aa6238cc8512171f39150a515b80
4
- data.tar.gz: ef6cb57c23cd9521fbb1303efb61a73c6149b3c4e2c0fa990ccf94892ddcf71b
3
+ metadata.gz: 53b9ded131c1aedd5fe453ba2c20bb5d1192b0ad1bcb435919b3e7fe251f91ec
4
+ data.tar.gz: fa9423722096ff2579c87bbf67f03d2ee82295b05188463ed13e134adccd80df
5
5
  SHA512:
6
- metadata.gz: c2d655e969090373c0b86e2e27363e1e564d86c9456f4384d75ad7acd74e207a96ba52e09f3b9fbc6f4b0825ddb58a5c1283cbb497bed5d6b5f8266811ac5c19
7
- data.tar.gz: 6e3afa0d08cc69033db5c2a01fa332bcd9ac4e4cff1d849731ce16559ead31db69aaa040e09a0992d6877be9cc51000abd2c2d3e57e126d26099c6c68b4fc736
6
+ metadata.gz: 33b57b9e32336232e474823d7c39903a222b8f690fc42e4c163c36131ca7010603f498b5654b831a1a04e930a0bdc917557cc43b42c4996cbb20c06d28ce24b3
7
+ data.tar.gz: f3216903a1f14c11cabdbaca1c574783d4a57da60cb7e5d8f1689f6f6fa5d6d7b84a9020815a07c229b467994aecbffc253a41936f504cac707c2623530640b3
@@ -362,8 +362,9 @@ module CardanoWallet
362
362
 
363
363
  # Get tx by id
364
364
  # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getTransaction
365
- def get(wid, tx_id)
366
- self.class.get("/wallets/#{wid}/transactions/#{tx_id}")
365
+ def get(wid, tx_id, query = {})
366
+ query_formatted = query.empty? ? '' : Utils.to_query(query)
367
+ self.class.get("/wallets/#{wid}/transactions/#{tx_id}#{query_formatted}")
367
368
  end
368
369
 
369
370
  # List all wallet's transactions
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CardanoWallet
4
- VERSION = '0.3.20'
4
+ VERSION = '0.3.21'
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.20
4
+ version: 0.3.21
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-04-20 00:00:00.000000000 Z
11
+ date: 2022-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -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.2.32
168
+ rubygems_version: 3.3.7
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: Ruby wrapper over cardano-wallet.