@yaswap/yacoin 2.9.3 → 2.10.0

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,30 @@
1
1
  # @yaswap/bitcoin
2
2
 
3
+ ## 2.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Use latest axios which support fetch adapter
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @yaswap/client@2.10.0
13
+ - @yaswap/errors@2.10.0
14
+ - @yaswap/types@2.10.0
15
+ - @yaswap/utils@2.10.0
16
+
17
+ ## 2.9.4
18
+
19
+ ### Patch Changes
20
+
21
+ - Change bitcoin fee API endpoint
22
+ - Updated dependencies
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
+
3
28
  ## 2.9.3
4
29
 
5
30
  ### Patch Changes
@@ -14,7 +14,7 @@ exports.YacoinFeeApiProvider = void 0;
14
14
  const client_1 = require("@yaswap/client");
15
15
  class YacoinFeeApiProvider extends client_1.Fee {
16
16
  // private _httpClient: HttpClient;
17
- constructor(endpoint = 'https://mempool.space/api/v1/fees/recommended') {
17
+ constructor(endpoint = 'https://cb.yacoin.org/bitcoin_fee_api/api/v1/fees/recommended') {
18
18
  super();
19
19
  // this._httpClient = new HttpClient({ baseURL: endpoint });
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"YacoinFeeApiProvider.js","sourceRoot":"","sources":["../../../lib/fee/YacoinFeeApiProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,2CAAqC;AAGrC,MAAa,oBAAqB,SAAQ,YAAG;IACzC,mCAAmC;IAEnC,YAAY,QAAQ,GAAG,+CAA+C;QAClE,KAAK,EAAE,CAAC;QACR,4DAA4D;IAChE,CAAC;IAEK,OAAO;;YACT,oDAAoD;YACpD,OAAO;gBACH,IAAI,EAAE;oBACF,qBAAqB;oBACrB,GAAG,EAAE,EAAE;oBACP,IAAI,EAAE,EAAE,GAAG,EAAE;iBAChB;gBACD,OAAO,EAAE;oBACL,yBAAyB;oBACzB,GAAG,EAAE,EAAE;oBACP,IAAI,EAAE,EAAE,GAAG,EAAE;iBAChB;gBACD,IAAI,EAAE;oBACF,wBAAwB;oBACxB,GAAG,EAAE,EAAE;oBACP,IAAI,EAAE,EAAE,GAAG,EAAE;iBAChB;aACJ,CAAC;QACN,CAAC;KAAA;CACJ;AA5BD,oDA4BC"}
1
+ {"version":3,"file":"YacoinFeeApiProvider.js","sourceRoot":"","sources":["../../../lib/fee/YacoinFeeApiProvider.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,2CAAqC;AAGrC,MAAa,oBAAqB,SAAQ,YAAG;IACzC,mCAAmC;IAEnC,YAAY,QAAQ,GAAG,+DAA+D;QAClF,KAAK,EAAE,CAAC;QACR,4DAA4D;IAChE,CAAC;IAEK,OAAO;;YACT,oDAAoD;YACpD,OAAO;gBACH,IAAI,EAAE;oBACF,qBAAqB;oBACrB,GAAG,EAAE,EAAE;oBACP,IAAI,EAAE,EAAE,GAAG,EAAE;iBAChB;gBACD,OAAO,EAAE;oBACL,yBAAyB;oBACzB,GAAG,EAAE,EAAE;oBACP,IAAI,EAAE,EAAE,GAAG,EAAE;iBAChB;gBACD,IAAI,EAAE;oBACF,wBAAwB;oBACxB,GAAG,EAAE,EAAE;oBACP,IAAI,EAAE,EAAE,GAAG,EAAE;iBAChB;aACJ,CAAC;QACN,CAAC;KAAA;CACJ;AA5BD,oDA4BC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaswap/yacoin",
3
- "version": "2.9.3",
3
+ "version": "2.10.0",
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.3",
24
- "@yaswap/errors": "2.9.3",
25
- "@yaswap/types": "2.9.3",
26
- "@yaswap/utils": "2.9.3",
23
+ "@yaswap/client": "2.10.0",
24
+ "@yaswap/errors": "2.10.0",
25
+ "@yaswap/types": "2.10.0",
26
+ "@yaswap/utils": "2.10.0",
27
27
  "@yaswap/yacoinjs-coinselect": "^1.1.0",
28
28
  "@yaswap/yacoinjs-lib": "^1.3.0",
29
29
  "bip174": "^2.0.1",