@yaswap/bitcoin 2.9.4 → 2.10.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +224 -199
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,420 +1,445 @@
1
1
  # @yaswap/bitcoin
2
2
 
3
+ ## 2.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Pump to version v2.10.1
8
+ - Updated dependencies
9
+ - @yaswap/client@2.10.1
10
+ - @yaswap/errors@2.10.1
11
+ - @yaswap/types@2.10.1
12
+ - @yaswap/utils@2.10.1
13
+
14
+ ## 2.10.0
15
+
16
+ ### Minor Changes
17
+
18
+ - Use latest axios which support fetch adapter
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
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
+
3
28
  ## 2.9.4
4
29
 
5
30
  ### Patch Changes
6
31
 
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
32
+ - Change bitcoin fee API endpoint
33
+ - Updated dependencies
34
+ - @yaswap/client@2.9.4
35
+ - @yaswap/errors@2.9.4
36
+ - @yaswap/types@2.9.4
37
+ - @yaswap/utils@2.9.4
13
38
 
14
39
  ## 2.9.3
15
40
 
16
41
  ### Patch Changes
17
42
 
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
43
+ - Change IPFS endpoint
44
+ - Updated dependencies
45
+ - @yaswap/client@2.9.3
46
+ - @yaswap/errors@2.9.3
47
+ - @yaswap/types@2.9.3
48
+ - @yaswap/utils@2.9.3
24
49
 
25
50
  ## 2.9.2
26
51
 
27
52
  ### Patch Changes
28
53
 
29
- - Support HEAD request for @yaswap/client
30
- - Updated dependencies
31
- - @yaswap/client@2.9.2
32
- - @yaswap/errors@2.9.2
33
- - @yaswap/types@2.9.2
34
- - @yaswap/utils@2.9.2
54
+ - Support HEAD request for @yaswap/client
55
+ - Updated dependencies
56
+ - @yaswap/client@2.9.2
57
+ - @yaswap/errors@2.9.2
58
+ - @yaswap/types@2.9.2
59
+ - @yaswap/utils@2.9.2
35
60
 
36
61
  ## 2.9.1
37
62
 
38
63
  ### Patch Changes
39
64
 
40
- - Reset metadata before fetching from ipfs gateway
41
- - Updated dependencies
42
- - @yaswap/client@2.9.1
43
- - @yaswap/errors@2.9.1
44
- - @yaswap/types@2.9.1
45
- - @yaswap/utils@2.9.1
65
+ - Reset metadata before fetching from ipfs gateway
66
+ - Updated dependencies
67
+ - @yaswap/client@2.9.1
68
+ - @yaswap/errors@2.9.1
69
+ - @yaswap/types@2.9.1
70
+ - @yaswap/utils@2.9.1
46
71
 
47
72
  ## 2.9.0
48
73
 
49
74
  ### Minor Changes
50
75
 
51
- - Integrate with self-hosted IPFS node
76
+ - Integrate with self-hosted IPFS node
52
77
 
53
78
  ### Patch Changes
54
79
 
55
- - Updated dependencies
56
- - @yaswap/client@2.9.0
57
- - @yaswap/errors@2.9.0
58
- - @yaswap/types@2.9.0
59
- - @yaswap/utils@2.9.0
80
+ - Updated dependencies
81
+ - @yaswap/client@2.9.0
82
+ - @yaswap/errors@2.9.0
83
+ - @yaswap/types@2.9.0
84
+ - @yaswap/utils@2.9.0
60
85
 
61
86
  ## 2.8.0
62
87
 
63
88
  ### Minor Changes
64
89
 
65
- - Add new return info to chain.getTokenBalance and nft.fetch
90
+ - Add new return info to chain.getTokenBalance and nft.fetch
66
91
 
67
92
  ### Patch Changes
68
93
 
69
- - Updated dependencies
70
- - @yaswap/client@2.8.0
71
- - @yaswap/errors@2.8.0
72
- - @yaswap/types@2.8.0
73
- - @yaswap/utils@2.8.0
94
+ - Updated dependencies
95
+ - @yaswap/client@2.8.0
96
+ - @yaswap/errors@2.8.0
97
+ - @yaswap/types@2.8.0
98
+ - @yaswap/utils@2.8.0
74
99
 
75
100
  ## 2.7.7
76
101
 
77
102
  ### Patch Changes
78
103
 
79
- - Remove debug log
80
- - Updated dependencies
81
- - @yaswap/client@2.7.7
82
- - @yaswap/errors@2.7.7
83
- - @yaswap/types@2.7.7
84
- - @yaswap/utils@2.7.7
104
+ - Remove debug log
105
+ - Updated dependencies
106
+ - @yaswap/client@2.7.7
107
+ - @yaswap/errors@2.7.7
108
+ - @yaswap/types@2.7.7
109
+ - @yaswap/utils@2.7.7
85
110
 
86
111
  ## 2.7.6
87
112
 
88
113
  ### Patch Changes
89
114
 
90
- - Fetch multiple YA-NFT info at one time
91
- - Updated dependencies
92
- - @yaswap/client@2.7.6
93
- - @yaswap/errors@2.7.6
94
- - @yaswap/types@2.7.6
95
- - @yaswap/utils@2.7.6
115
+ - Fetch multiple YA-NFT info at one time
116
+ - Updated dependencies
117
+ - @yaswap/client@2.7.6
118
+ - @yaswap/errors@2.7.6
119
+ - @yaswap/types@2.7.6
120
+ - @yaswap/utils@2.7.6
96
121
 
97
122
  ## 2.7.5
98
123
 
99
124
  ### Patch Changes
100
125
 
101
- - Throw fee in InsufficientBalanceError for Yacoin
102
- - Updated dependencies
103
- - @yaswap/client@2.7.5
104
- - @yaswap/errors@2.7.5
105
- - @yaswap/types@2.7.5
106
- - @yaswap/utils@2.7.5
126
+ - Throw fee in InsufficientBalanceError for Yacoin
127
+ - Updated dependencies
128
+ - @yaswap/client@2.7.5
129
+ - @yaswap/errors@2.7.5
130
+ - @yaswap/types@2.7.5
131
+ - @yaswap/utils@2.7.5
107
132
 
108
133
  ## 2.7.4
109
134
 
110
135
  ### Patch Changes
111
136
 
112
- - Correct formular to calculate yacoin transaction bytes
113
- - Updated dependencies
114
- - @yaswap/client@2.7.4
115
- - @yaswap/errors@2.7.4
116
- - @yaswap/types@2.7.4
117
- - @yaswap/utils@2.7.4
137
+ - Correct formular to calculate yacoin transaction bytes
138
+ - Updated dependencies
139
+ - @yaswap/client@2.7.4
140
+ - @yaswap/errors@2.7.4
141
+ - @yaswap/types@2.7.4
142
+ - @yaswap/utils@2.7.4
118
143
 
119
144
  ## 2.7.3
120
145
 
121
146
  ### Patch Changes
122
147
 
123
- - Change ipfs endpoint and timeout for getting token metadata
124
- - Updated dependencies
125
- - @yaswap/client@2.7.3
126
- - @yaswap/errors@2.7.3
127
- - @yaswap/types@2.7.3
128
- - @yaswap/utils@2.7.3
148
+ - Change ipfs endpoint and timeout for getting token metadata
149
+ - Updated dependencies
150
+ - @yaswap/client@2.7.3
151
+ - @yaswap/errors@2.7.3
152
+ - @yaswap/types@2.7.3
153
+ - @yaswap/utils@2.7.3
129
154
 
130
155
  ## 2.7.2
131
156
 
132
157
  ### Patch Changes
133
158
 
134
- - Init YacoinSingleWallet
135
- - Updated dependencies
136
- - @yaswap/client@2.7.2
137
- - @yaswap/errors@2.7.2
138
- - @yaswap/types@2.7.2
139
- - @yaswap/utils@2.7.2
159
+ - Init YacoinSingleWallet
160
+ - Updated dependencies
161
+ - @yaswap/client@2.7.2
162
+ - @yaswap/errors@2.7.2
163
+ - @yaswap/types@2.7.2
164
+ - @yaswap/utils@2.7.2
140
165
 
141
166
  ## 2.7.1
142
167
 
143
168
  ### Patch Changes
144
169
 
145
- - Use bitcoinselect
146
- - Updated dependencies
147
- - @yaswap/client@2.7.1
148
- - @yaswap/errors@2.7.1
149
- - @yaswap/types@2.7.1
150
- - @yaswap/utils@2.7.1
170
+ - Use bitcoinselect
171
+ - Updated dependencies
172
+ - @yaswap/client@2.7.1
173
+ - @yaswap/errors@2.7.1
174
+ - @yaswap/types@2.7.1
175
+ - @yaswap/utils@2.7.1
151
176
 
152
177
  ## 2.7.0
153
178
 
154
179
  ### Minor Changes
155
180
 
156
- - Finalize single wallet version
181
+ - Finalize single wallet version
157
182
 
158
183
  ### Patch Changes
159
184
 
160
- - Updated dependencies
161
- - @yaswap/client@2.7.0
162
- - @yaswap/errors@2.7.0
163
- - @yaswap/types@2.7.0
164
- - @yaswap/utils@2.7.0
185
+ - Updated dependencies
186
+ - @yaswap/client@2.7.0
187
+ - @yaswap/errors@2.7.0
188
+ - @yaswap/types@2.7.0
189
+ - @yaswap/utils@2.7.0
165
190
 
166
191
  ## 2.6.12
167
192
 
168
193
  ### Patch Changes
169
194
 
170
- - Change sweep output size to 39
195
+ - Change sweep output size to 39
171
196
 
172
197
  ## 2.6.11
173
198
 
174
199
  ### Patch Changes
175
200
 
176
- - Use coinselect-segwit
201
+ - Use coinselect-segwit
177
202
 
178
203
  ## 2.6.10
179
204
 
180
205
  ### Patch Changes
181
206
 
182
- - Calculate fee correctly based on sat/vB
207
+ - Calculate fee correctly based on sat/vB
183
208
 
184
209
  ## 2.6.9
185
210
 
186
211
  ### Patch Changes
187
212
 
188
- - Fix issues with ECPair
213
+ - Fix issues with ECPair
189
214
 
190
215
  ## 2.6.8
191
216
 
192
217
  ### Patch Changes
193
218
 
194
- - Update BitcoinSingleWalletProvider
219
+ - Update BitcoinSingleWalletProvider
195
220
 
196
221
  ## 2.6.7
197
222
 
198
223
  ### Patch Changes
199
224
 
200
- - Try adding single wallet
225
+ - Try adding single wallet
201
226
 
202
227
  ## 2.6.6
203
228
 
204
229
  ### Patch Changes
205
230
 
206
- - Remove debug log
207
- - Updated dependencies
208
- - @yaswap/client@2.6.6
209
- - @yaswap/errors@2.6.6
210
- - @yaswap/types@2.6.6
211
- - @yaswap/utils@2.6.6
231
+ - Remove debug log
232
+ - Updated dependencies
233
+ - @yaswap/client@2.6.6
234
+ - @yaswap/errors@2.6.6
235
+ - @yaswap/types@2.6.6
236
+ - @yaswap/utils@2.6.6
212
237
 
213
238
  ## 2.6.5
214
239
 
215
240
  ### Patch Changes
216
241
 
217
- - Use electrumClient to get transaction hex
218
- - Updated dependencies
219
- - @yaswap/client@2.6.5
220
- - @yaswap/errors@2.6.5
221
- - @yaswap/types@2.6.5
222
- - @yaswap/utils@2.6.5
242
+ - Use electrumClient to get transaction hex
243
+ - Updated dependencies
244
+ - @yaswap/client@2.6.5
245
+ - @yaswap/errors@2.6.5
246
+ - @yaswap/types@2.6.5
247
+ - @yaswap/utils@2.6.5
223
248
 
224
249
  ## 2.6.4
225
250
 
226
251
  ### Patch Changes
227
252
 
228
- - Fix issue relating to integrate electrumClient
229
- - Updated dependencies
230
- - @yaswap/client@2.6.4
231
- - @yaswap/errors@2.6.4
232
- - @yaswap/types@2.6.4
233
- - @yaswap/utils@2.6.4
253
+ - Fix issue relating to integrate electrumClient
254
+ - Updated dependencies
255
+ - @yaswap/client@2.6.4
256
+ - @yaswap/errors@2.6.4
257
+ - @yaswap/types@2.6.4
258
+ - @yaswap/utils@2.6.4
234
259
 
235
260
  ## 2.6.3
236
261
 
237
262
  ### Patch Changes
238
263
 
239
- - Replace blockCypher with electrumClient
240
- - Updated dependencies
241
- - @yaswap/client@2.6.3
242
- - @yaswap/errors@2.6.3
243
- - @yaswap/types@2.6.3
244
- - @yaswap/utils@2.6.3
264
+ - Replace blockCypher with electrumClient
265
+ - Updated dependencies
266
+ - @yaswap/client@2.6.3
267
+ - @yaswap/errors@2.6.3
268
+ - @yaswap/types@2.6.3
269
+ - @yaswap/utils@2.6.3
245
270
 
246
271
  ## 2.6.2
247
272
 
248
273
  ### Patch Changes
249
274
 
250
- - Improve error handling
251
- - Updated dependencies
252
- - @yaswap/client@2.6.2
253
- - @yaswap/errors@2.6.2
254
- - @yaswap/types@2.6.2
255
- - @yaswap/utils@2.6.2
275
+ - Improve error handling
276
+ - Updated dependencies
277
+ - @yaswap/client@2.6.2
278
+ - @yaswap/errors@2.6.2
279
+ - @yaswap/types@2.6.2
280
+ - @yaswap/utils@2.6.2
256
281
 
257
282
  ## 2.6.1
258
283
 
259
284
  ### Patch Changes
260
285
 
261
- - Fix issue which failed to get block info
262
- - Updated dependencies
263
- - @yaswap/client@2.6.1
264
- - @yaswap/errors@2.6.1
265
- - @yaswap/types@2.6.1
266
- - @yaswap/utils@2.6.1
286
+ - Fix issue which failed to get block info
287
+ - Updated dependencies
288
+ - @yaswap/client@2.6.1
289
+ - @yaswap/errors@2.6.1
290
+ - @yaswap/types@2.6.1
291
+ - @yaswap/utils@2.6.1
267
292
 
268
293
  ## 2.6.0
269
294
 
270
295
  ### Minor Changes
271
296
 
272
- - Support dogecoin chain
297
+ - Support dogecoin chain
273
298
 
274
299
  ### Patch Changes
275
300
 
276
- - Updated dependencies
277
- - @yaswap/client@2.6.0
278
- - @yaswap/errors@2.6.0
279
- - @yaswap/types@2.6.0
280
- - @yaswap/utils@2.6.0
301
+ - Updated dependencies
302
+ - @yaswap/client@2.6.0
303
+ - @yaswap/errors@2.6.0
304
+ - @yaswap/types@2.6.0
305
+ - @yaswap/utils@2.6.0
281
306
 
282
307
  ## 2.5.3
283
308
 
284
309
  ### Patch Changes
285
310
 
286
- - Support documents field in token metadata
287
- - Updated dependencies
288
- - @yaswap/client@2.5.3
289
- - @yaswap/errors@2.5.3
290
- - @yaswap/types@2.5.3
291
- - @yaswap/utils@2.5.3
311
+ - Support documents field in token metadata
312
+ - Updated dependencies
313
+ - @yaswap/client@2.5.3
314
+ - @yaswap/errors@2.5.3
315
+ - @yaswap/types@2.5.3
316
+ - @yaswap/utils@2.5.3
292
317
 
293
318
  ## 2.5.2
294
319
 
295
320
  ### Patch Changes
296
321
 
297
- - Add missing logic to find claim and refund transaction for EVM chain
298
- - Updated dependencies
299
- - @yaswap/client@2.5.2
300
- - @yaswap/errors@2.5.2
301
- - @yaswap/types@2.5.2
302
- - @yaswap/utils@2.5.2
322
+ - Add missing logic to find claim and refund transaction for EVM chain
323
+ - Updated dependencies
324
+ - @yaswap/client@2.5.2
325
+ - @yaswap/errors@2.5.2
326
+ - @yaswap/types@2.5.2
327
+ - @yaswap/utils@2.5.2
303
328
 
304
329
  ## 2.5.1
305
330
 
306
331
  ### Patch Changes
307
332
 
308
- - Fix issue which fails to initiate swap transaction for YAC
309
- - Updated dependencies
310
- - @yaswap/client@2.5.1
311
- - @yaswap/errors@2.5.1
312
- - @yaswap/types@2.5.1
313
- - @yaswap/utils@2.5.1
333
+ - Fix issue which fails to initiate swap transaction for YAC
334
+ - Updated dependencies
335
+ - @yaswap/client@2.5.1
336
+ - @yaswap/errors@2.5.1
337
+ - @yaswap/types@2.5.1
338
+ - @yaswap/utils@2.5.1
314
339
 
315
340
  ## 2.5.0
316
341
 
317
342
  ### Minor Changes
318
343
 
319
- - Support litecoin chain
344
+ - Support litecoin chain
320
345
 
321
346
  ### Patch Changes
322
347
 
323
- - Updated dependencies
324
- - @yaswap/client@2.5.0
325
- - @yaswap/errors@2.5.0
326
- - @yaswap/types@2.5.0
327
- - @yaswap/utils@2.5.0
348
+ - Updated dependencies
349
+ - @yaswap/client@2.5.0
350
+ - @yaswap/errors@2.5.0
351
+ - @yaswap/types@2.5.0
352
+ - @yaswap/utils@2.5.0
328
353
 
329
354
  ## 2.4.0
330
355
 
331
356
  ### Minor Changes
332
357
 
333
- - Add API to getBaseURL
358
+ - Add API to getBaseURL
334
359
 
335
360
  ### Patch Changes
336
361
 
337
- - Updated dependencies
338
- - @yaswap/client@2.4.0
339
- - @yaswap/errors@2.4.0
340
- - @yaswap/types@2.4.0
341
- - @yaswap/utils@2.4.0
362
+ - Updated dependencies
363
+ - @yaswap/client@2.4.0
364
+ - @yaswap/errors@2.4.0
365
+ - @yaswap/types@2.4.0
366
+ - @yaswap/utils@2.4.0
342
367
 
343
368
  ## 2.3.3
344
369
 
345
370
  ### Patch Changes
346
371
 
347
- - Change timelock values to production
348
- - Updated dependencies
349
- - @yaswap/client@2.3.3
350
- - @yaswap/errors@2.3.3
351
- - @yaswap/types@2.3.3
352
- - @yaswap/utils@2.3.3
372
+ - Change timelock values to production
373
+ - Updated dependencies
374
+ - @yaswap/client@2.3.3
375
+ - @yaswap/errors@2.3.3
376
+ - @yaswap/types@2.3.3
377
+ - @yaswap/utils@2.3.3
353
378
 
354
379
  ## 2.3.2
355
380
 
356
381
  ### Patch Changes
357
382
 
358
- - Fix token issues
359
- - Updated dependencies
360
- - @yaswap/client@2.3.2
361
- - @yaswap/errors@2.3.2
362
- - @yaswap/types@2.3.2
363
- - @yaswap/utils@2.3.2
383
+ - Fix token issues
384
+ - Updated dependencies
385
+ - @yaswap/client@2.3.2
386
+ - @yaswap/errors@2.3.2
387
+ - @yaswap/types@2.3.2
388
+ - @yaswap/utils@2.3.2
364
389
 
365
390
  ## 2.3.1
366
391
 
367
392
  ### Patch Changes
368
393
 
369
- - Change timelock fee duration and amount
370
- - Updated dependencies
371
- - @yaswap/client@2.3.1
372
- - @yaswap/errors@2.3.1
373
- - @yaswap/types@2.3.1
374
- - @yaswap/utils@2.3.1
394
+ - Change timelock fee duration and amount
395
+ - Updated dependencies
396
+ - @yaswap/client@2.3.1
397
+ - @yaswap/errors@2.3.1
398
+ - @yaswap/types@2.3.1
399
+ - @yaswap/utils@2.3.1
375
400
 
376
401
  ## 2.3.0
377
402
 
378
403
  ### Minor Changes
379
404
 
380
- - Support create YA-Token/YA-NFT
405
+ - Support create YA-Token/YA-NFT
381
406
 
382
407
  ### Patch Changes
383
408
 
384
- - Updated dependencies
385
- - @yaswap/client@2.3.0
386
- - @yaswap/errors@2.3.0
387
- - @yaswap/types@2.3.0
388
- - @yaswap/utils@2.3.0
409
+ - Updated dependencies
410
+ - @yaswap/client@2.3.0
411
+ - @yaswap/errors@2.3.0
412
+ - @yaswap/types@2.3.0
413
+ - @yaswap/utils@2.3.0
389
414
 
390
415
  ## 2.2.0
391
416
 
392
417
  ### Minor Changes
393
418
 
394
- - Integrate YA-token/YA-NFT
419
+ - Integrate YA-token/YA-NFT
395
420
 
396
421
  ### Patch Changes
397
422
 
398
- - Updated dependencies
399
- - @yaswap/client@2.2.0
400
- - @yaswap/errors@2.2.0
401
- - @yaswap/types@2.2.0
402
- - @yaswap/utils@2.2.0
423
+ - Updated dependencies
424
+ - @yaswap/client@2.2.0
425
+ - @yaswap/errors@2.2.0
426
+ - @yaswap/types@2.2.0
427
+ - @yaswap/utils@2.2.0
403
428
 
404
429
  ## 2.1.0
405
430
 
406
431
  ### Minor Changes
407
432
 
408
- - Support batch request for Yacoin
433
+ - Support batch request for Yacoin
409
434
 
410
435
  ### Patch Changes
411
436
 
412
- - Updated dependencies
413
- - @yaswap/client@2.1.0
414
- - @yaswap/errors@2.1.0
415
- - @yaswap/types@2.1.0
416
- - @yaswap/utils@2.1.0
437
+ - Updated dependencies
438
+ - @yaswap/client@2.1.0
439
+ - @yaswap/errors@2.1.0
440
+ - @yaswap/types@2.1.0
441
+ - @yaswap/utils@2.1.0
417
442
 
418
443
  ## 2.0.0
419
444
 
420
- - First version
445
+ - First version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaswap/bitcoin",
3
- "version": "2.9.4",
3
+ "version": "2.10.1",
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.4",
24
- "@yaswap/errors": "2.9.4",
25
- "@yaswap/types": "2.9.4",
26
- "@yaswap/utils": "2.9.4",
23
+ "@yaswap/client": "2.10.1",
24
+ "@yaswap/errors": "2.10.1",
25
+ "@yaswap/types": "2.10.1",
26
+ "@yaswap/utils": "2.10.1",
27
27
  "bip174": "^2.0.1",
28
28
  "bip32": "2.0.6",
29
29
  "bip39": "^3.0.4",