@yaswap/bitcoin 2.9.2 → 2.9.4

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 CHANGED
@@ -1,5 +1,27 @@
1
1
  # @yaswap/bitcoin
2
2
 
3
+ ## 2.9.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Change bitcoin fee API endpoint
8
+ - Updated dependencies
9
+ - @yaswap/client@2.9.4
10
+ - @yaswap/errors@2.9.4
11
+ - @yaswap/types@2.9.4
12
+ - @yaswap/utils@2.9.4
13
+
14
+ ## 2.9.3
15
+
16
+ ### Patch Changes
17
+
18
+ - Change IPFS endpoint
19
+ - Updated dependencies
20
+ - @yaswap/client@2.9.3
21
+ - @yaswap/errors@2.9.3
22
+ - @yaswap/types@2.9.3
23
+ - @yaswap/utils@2.9.3
24
+
3
25
  ## 2.9.2
4
26
 
5
27
  ### Patch Changes
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.BitcoinFeeApiProvider = void 0;
13
13
  const client_1 = require("@yaswap/client");
14
14
  class BitcoinFeeApiProvider extends client_1.Fee {
15
- constructor(endpoint = 'https://mempool.space/api/v1/fees/recommended') {
15
+ constructor(endpoint = 'https://cb.yacoin.org/bitcoin_fee_api/api/v1/fees/recommended') {
16
16
  super();
17
17
  this._httpClient = new client_1.HttpClient({ baseURL: endpoint });
18
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BitcoinFeeApiProvider.js","sourceRoot":"","sources":["../../../lib/fee/BitcoinFeeApiProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAiD;AAGjD,MAAa,qBAAsB,SAAQ,YAAG;IAG1C,YAAY,QAAQ,GAAG,+CAA+C;QAClE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,IAAI,mBAAU,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC7D,CAAC;IAEK,OA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package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaswap/bitcoin",
3
- "version": "2.9.2",
3
+ "version": "2.9.4",
4
4
  "description": "",
5
5
  "author": "yaswap",
6
6
  "homepage": "",
@@ -20,10 +20,10 @@
20
20
  "@types/bitcoinjs-lib": "^5.0.0",
21
21
  "@types/lodash": "^4.14.178",
22
22
  "@types/memoizee": "^0.4.7",
23
- "@yaswap/client": "2.9.2",
24
- "@yaswap/errors": "2.9.2",
25
- "@yaswap/types": "2.9.2",
26
- "@yaswap/utils": "2.9.2",
23
+ "@yaswap/client": "2.9.4",
24
+ "@yaswap/errors": "2.9.4",
25
+ "@yaswap/types": "2.9.4",
26
+ "@yaswap/utils": "2.9.4",
27
27
  "bip174": "^2.0.1",
28
28
  "bip32": "2.0.6",
29
29
  "bip39": "^3.0.4",