@xchainjs/xchain-doge 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,59 @@
1
+ # v.0.5.1 (2022-09-27)
2
+
3
+ ## Fix
4
+
5
+ - Increase value for `setMaximumFeeRate` to reflect current fees
6
+
7
+ # v.0.5.0 (2022-09-05)
8
+
9
+ ## Update
10
+
11
+ - bumped deps on xchain-utils & xchain-client
12
+
13
+ # v.0.3.0 (2022-07-21)
14
+
15
+ - client.deposit() removed, all thorchain deposits were moved to xchain-thorchain-amm
16
+
17
+ # v.0.2.1 (2022-05-05)
18
+
19
+ ## Update
20
+
21
+ - Add `deposit` function to Doge `Client`
22
+ - Update latest dependencies
23
+ - Add tests for `deposit`
24
+
25
+ ## Fix
26
+
27
+ - Fix import of `xchain-client`
28
+
29
+ # v.0.2.0 (2022-03-23)
30
+
31
+ ## Update
32
+
33
+ - Fetch `txHex` optionally by scanning UTXOs #489
34
+ - Cache list of `txHex`s in `getTxHexFromCache` to avoid same requests for same data #490
35
+ - Export `buildTx` (from `utils`) and `getSendTxUrl` (from `blockcypher-api`)
36
+
37
+ ## Breaking change
38
+
39
+ - Remove unspecific `AddressParams` type
40
+
41
+ # v.0.1.2 (2022-02-04)
42
+
43
+ - Use latest axios@0.25.0
44
+ - xchain-client@0.11.1
45
+ - @xchainjs/xchain-util@0.5.1
46
+
47
+ # v.0.1.1 (2022-01-19)
48
+
49
+ ## ADD
50
+
51
+ - Add `getPrefix` to `utils`
52
+
53
+ ## REMOVE
54
+
55
+ - Remove `nodeUrl` from Client constructor
56
+
57
+ # v.0.1.0 (2022-01-15)
58
+
59
+ First release
package/lib/index.esm.js CHANGED
@@ -86702,8 +86702,10 @@ const buildTx = ({ amount, recipient, memo, feeRate, sender, network, sochainUrl
86702
86702
  throw new Error('Balance insufficient for transaction');
86703
86703
  const psbt = new src_9$1({ network: dogeNetwork(network) }); // Network-specific
86704
86704
  // TODO: Doge recommended fees is greater than the recommended by Bitcoinjs-lib (for BTC),
86705
- // so we need to increase the maximum fee rate. Currently, the fast rate fee is near ~650000sats/byte
86706
- psbt.setMaximumFeeRate(650000);
86705
+ // so we need to increase the maximum fee rate. Currently, the fast rate fee is near ~750000sats/byte
86706
+ // https://thornode.ninerealms.com/thorchain/inbound_addresses?height=7526662 (09-27-2022)
86707
+ // For now we increase it by 10x
86708
+ psbt.setMaximumFeeRate(7500000);
86707
86709
  const params = { sochainUrl, network, address: sender };
86708
86710
  for (const utxo of inputs) {
86709
86711
  psbt.addInput({