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