@yaswap/yacoin 3.4.0 → 3.4.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 +655 -0
  2. package/package.json +35 -35
package/CHANGELOG.md ADDED
@@ -0,0 +1,655 @@
1
+ # @yaswap/bitcoin
2
+
3
+ ## 3.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Support HD wallet logic
8
+ - Updated dependencies
9
+ - @yaswap/client@3.4.1
10
+ - @yaswap/errors@3.4.1
11
+ - @yaswap/types@3.4.1
12
+ - @yaswap/utils@3.4.1
13
+
14
+ ## 3.4.0
15
+
16
+ ### Minor Changes
17
+
18
+ - Support HD wallet logic
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies
23
+ - @yaswap/client@3.4.0
24
+ - @yaswap/errors@3.4.0
25
+ - @yaswap/types@3.4.0
26
+ - @yaswap/utils@3.4.0
27
+
28
+ ## 3.3.7
29
+
30
+ ### Patch Changes
31
+
32
+ - Add boolean param to convert token/nft name
33
+ - Updated dependencies
34
+ - @yaswap/client@3.3.7
35
+ - @yaswap/errors@3.3.7
36
+ - @yaswap/types@3.3.7
37
+ - @yaswap/utils@3.3.7
38
+
39
+ ## 3.3.6
40
+
41
+ ### Patch Changes
42
+
43
+ - Pump to version v3.3.6
44
+ - Updated dependencies
45
+ - @yaswap/client@3.3.6
46
+ - @yaswap/errors@3.3.6
47
+ - @yaswap/types@3.3.6
48
+ - @yaswap/utils@3.3.6
49
+
50
+ ## 3.3.5
51
+
52
+ ### Patch Changes
53
+
54
+ - Correct the logic to calculate correct transaction size for sweeping case
55
+ - Updated dependencies
56
+ - @yaswap/client@3.3.5
57
+ - @yaswap/errors@3.3.5
58
+ - @yaswap/types@3.3.5
59
+ - @yaswap/utils@3.3.5
60
+
61
+ ## 3.3.4
62
+
63
+ ### Patch Changes
64
+
65
+ - Correct the logic to calculate correct transaction size for sweeping case
66
+ - Updated dependencies
67
+ - @yaswap/client@3.3.4
68
+ - @yaswap/errors@3.3.4
69
+ - @yaswap/types@3.3.4
70
+ - @yaswap/utils@3.3.4
71
+
72
+ ## 3.3.3
73
+
74
+ ### Patch Changes
75
+
76
+ - Send transaction with fixed inputss
77
+ - Updated dependencies
78
+ - @yaswap/client@3.3.3
79
+ - @yaswap/errors@3.3.3
80
+ - @yaswap/types@3.3.3
81
+ - @yaswap/utils@3.3.3
82
+
83
+ ## 3.3.2
84
+
85
+ ### Patch Changes
86
+
87
+ - Modify selectCoins to not use fixedInputs anymore
88
+ - Updated dependencies
89
+ - @yaswap/client@3.3.2
90
+ - @yaswap/errors@3.3.2
91
+ - @yaswap/types@3.3.2
92
+ - @yaswap/utils@3.3.2
93
+
94
+ ## 3.3.1
95
+
96
+ ### Patch Changes
97
+
98
+ - Modify to calculate correct transaction fee for fixed inputs
99
+ - Updated dependencies
100
+ - @yaswap/client@3.3.1
101
+ - @yaswap/errors@3.3.1
102
+ - @yaswap/types@3.3.1
103
+ - @yaswap/utils@3.3.1
104
+
105
+ ## 3.3.0
106
+
107
+ ### Minor Changes
108
+
109
+ - Support API for bitcoin utxo consolidation
110
+
111
+ ### Patch Changes
112
+
113
+ - Updated dependencies
114
+ - @yaswap/client@3.3.0
115
+ - @yaswap/errors@3.3.0
116
+ - @yaswap/types@3.3.0
117
+ - @yaswap/utils@3.3.0
118
+
119
+ ## 3.2.1
120
+
121
+ ### Patch Changes
122
+
123
+ - Lower number requests
124
+ - Updated dependencies
125
+ - @yaswap/client@3.2.1
126
+ - @yaswap/errors@3.2.1
127
+ - @yaswap/types@3.2.1
128
+ - @yaswap/utils@3.2.1
129
+
130
+ ## 3.2.0
131
+
132
+ ### Minor Changes
133
+
134
+ - Add DogecoinSingleWallet
135
+
136
+ ### Patch Changes
137
+
138
+ - Updated dependencies
139
+ - @yaswap/client@3.2.0
140
+ - @yaswap/errors@3.2.0
141
+ - @yaswap/types@3.2.0
142
+ - @yaswap/utils@3.2.0
143
+
144
+ ## 3.1.0
145
+
146
+ ### Minor Changes
147
+
148
+ - Integrate new dogecoin explorer
149
+
150
+ ### Patch Changes
151
+
152
+ - Updated dependencies
153
+ - @yaswap/client@3.1.0
154
+ - @yaswap/errors@3.1.0
155
+ - @yaswap/types@3.1.0
156
+ - @yaswap/utils@3.1.0
157
+
158
+ ## 3.0.1
159
+
160
+ ### Patch Changes
161
+
162
+ - Handle AxiosError in case the transaction/block not found
163
+ - Updated dependencies
164
+ - @yaswap/client@3.0.1
165
+ - @yaswap/errors@3.0.1
166
+ - @yaswap/types@3.0.1
167
+ - @yaswap/utils@3.0.1
168
+
169
+ ## 3.0.0
170
+
171
+ ### Major Changes
172
+
173
+ - Support manifest v3
174
+
175
+ ### Patch Changes
176
+
177
+ - Updated dependencies
178
+ - @yaswap/client@3.0.0
179
+ - @yaswap/errors@3.0.0
180
+ - @yaswap/types@3.0.0
181
+ - @yaswap/utils@3.0.0
182
+
183
+ ## 2.10.7
184
+
185
+ ### Patch Changes
186
+
187
+ - Pump to version v2.10.7
188
+ - Updated dependencies
189
+ - @yaswap/client@2.10.7
190
+ - @yaswap/errors@2.10.7
191
+ - @yaswap/types@2.10.7
192
+ - @yaswap/utils@2.10.7
193
+
194
+ ## 2.10.6
195
+
196
+ ### Patch Changes
197
+
198
+ - Pump to version v2.10.6
199
+ - Updated dependencies
200
+ - @yaswap/client@2.10.6
201
+ - @yaswap/errors@2.10.6
202
+ - @yaswap/types@2.10.6
203
+ - @yaswap/utils@2.10.6
204
+
205
+ ## 2.10.5
206
+
207
+ ### Patch Changes
208
+
209
+ - Pump to version v2.10.5
210
+ - Updated dependencies
211
+ - @yaswap/client@2.10.5
212
+ - @yaswap/errors@2.10.5
213
+ - @yaswap/types@2.10.5
214
+ - @yaswap/utils@2.10.5
215
+
216
+ ## 2.10.4
217
+
218
+ ### Patch Changes
219
+
220
+ - Pump to version v2.10.4
221
+ - Updated dependencies
222
+ - @yaswap/client@2.10.4
223
+ - @yaswap/errors@2.10.4
224
+ - @yaswap/types@2.10.4
225
+ - @yaswap/utils@2.10.4
226
+
227
+ ## 2.10.3
228
+
229
+ ### Patch Changes
230
+
231
+ - Pump to version v2.10.3
232
+ - Updated dependencies
233
+ - @yaswap/client@2.10.3
234
+ - @yaswap/errors@2.10.3
235
+ - @yaswap/types@2.10.3
236
+ - @yaswap/utils@2.10.3
237
+
238
+ ## 2.10.2
239
+
240
+ ### Patch Changes
241
+
242
+ - Pump to version v2.10.2
243
+ - Updated dependencies
244
+ - @yaswap/client@2.10.2
245
+ - @yaswap/errors@2.10.2
246
+ - @yaswap/types@2.10.2
247
+ - @yaswap/utils@2.10.2
248
+
249
+ ## 2.10.1
250
+
251
+ ### Patch Changes
252
+
253
+ - Pump to version v2.10.1
254
+ - Updated dependencies
255
+ - @yaswap/client@2.10.1
256
+ - @yaswap/errors@2.10.1
257
+ - @yaswap/types@2.10.1
258
+ - @yaswap/utils@2.10.1
259
+
260
+ ## 2.10.0
261
+
262
+ ### Minor Changes
263
+
264
+ - Use latest axios which support fetch adapter
265
+
266
+ ### Patch Changes
267
+
268
+ - Updated dependencies
269
+ - @yaswap/client@2.10.0
270
+ - @yaswap/errors@2.10.0
271
+ - @yaswap/types@2.10.0
272
+ - @yaswap/utils@2.10.0
273
+
274
+ ## 2.9.4
275
+
276
+ ### Patch Changes
277
+
278
+ - Change bitcoin fee API endpoint
279
+ - Updated dependencies
280
+ - @yaswap/client@2.9.4
281
+ - @yaswap/errors@2.9.4
282
+ - @yaswap/types@2.9.4
283
+ - @yaswap/utils@2.9.4
284
+
285
+ ## 2.9.3
286
+
287
+ ### Patch Changes
288
+
289
+ - Change IPFS endpoint
290
+ - Updated dependencies
291
+ - @yaswap/client@2.9.3
292
+ - @yaswap/errors@2.9.3
293
+ - @yaswap/types@2.9.3
294
+ - @yaswap/utils@2.9.3
295
+
296
+ ## 2.9.2
297
+
298
+ ### Patch Changes
299
+
300
+ - Support HEAD request for @yaswap/client
301
+ - Updated dependencies
302
+ - @yaswap/client@2.9.2
303
+ - @yaswap/errors@2.9.2
304
+ - @yaswap/types@2.9.2
305
+ - @yaswap/utils@2.9.2
306
+
307
+ ## 2.9.1
308
+
309
+ ### Patch Changes
310
+
311
+ - Reset metadata before fetching from ipfs gateway
312
+ - Updated dependencies
313
+ - @yaswap/client@2.9.1
314
+ - @yaswap/errors@2.9.1
315
+ - @yaswap/types@2.9.1
316
+ - @yaswap/utils@2.9.1
317
+
318
+ ## 2.9.0
319
+
320
+ ### Minor Changes
321
+
322
+ - Integrate with self-hosted IPFS node
323
+
324
+ ### Patch Changes
325
+
326
+ - Updated dependencies
327
+ - @yaswap/client@2.9.0
328
+ - @yaswap/errors@2.9.0
329
+ - @yaswap/types@2.9.0
330
+ - @yaswap/utils@2.9.0
331
+
332
+ ## 2.8.0
333
+
334
+ ### Minor Changes
335
+
336
+ - Add new return info to chain.getTokenBalance and nft.fetch
337
+
338
+ ### Patch Changes
339
+
340
+ - Updated dependencies
341
+ - @yaswap/client@2.8.0
342
+ - @yaswap/errors@2.8.0
343
+ - @yaswap/types@2.8.0
344
+ - @yaswap/utils@2.8.0
345
+
346
+ ## 2.7.7
347
+
348
+ ### Patch Changes
349
+
350
+ - Remove debug log
351
+ - Updated dependencies
352
+ - @yaswap/client@2.7.7
353
+ - @yaswap/errors@2.7.7
354
+ - @yaswap/types@2.7.7
355
+ - @yaswap/utils@2.7.7
356
+
357
+ ## 2.7.6
358
+
359
+ ### Patch Changes
360
+
361
+ - Fetch multiple YA-NFT info at one time
362
+ - Updated dependencies
363
+ - @yaswap/client@2.7.6
364
+ - @yaswap/errors@2.7.6
365
+ - @yaswap/types@2.7.6
366
+ - @yaswap/utils@2.7.6
367
+
368
+ ## 2.7.5
369
+
370
+ ### Patch Changes
371
+
372
+ - Throw fee in InsufficientBalanceError for Yacoin
373
+ - Updated dependencies
374
+ - @yaswap/client@2.7.5
375
+ - @yaswap/errors@2.7.5
376
+ - @yaswap/types@2.7.5
377
+ - @yaswap/utils@2.7.5
378
+
379
+ ## 2.7.4
380
+
381
+ ### Patch Changes
382
+
383
+ - Correct formular to calculate yacoin transaction bytes
384
+ - Updated dependencies
385
+ - @yaswap/client@2.7.4
386
+ - @yaswap/errors@2.7.4
387
+ - @yaswap/types@2.7.4
388
+ - @yaswap/utils@2.7.4
389
+
390
+ ## 2.7.3
391
+
392
+ ### Patch Changes
393
+
394
+ - Change ipfs endpoint and timeout for getting token metadata
395
+ - Updated dependencies
396
+ - @yaswap/client@2.7.3
397
+ - @yaswap/errors@2.7.3
398
+ - @yaswap/types@2.7.3
399
+ - @yaswap/utils@2.7.3
400
+
401
+ ## 2.7.2
402
+
403
+ ### Patch Changes
404
+
405
+ - Init YacoinSingleWallet
406
+ - Updated dependencies
407
+ - @yaswap/client@2.7.2
408
+ - @yaswap/errors@2.7.2
409
+ - @yaswap/types@2.7.2
410
+ - @yaswap/utils@2.7.2
411
+
412
+ ## 2.7.1
413
+
414
+ ### Patch Changes
415
+
416
+ - Use bitcoinselect
417
+ - Updated dependencies
418
+ - @yaswap/client@2.7.1
419
+ - @yaswap/errors@2.7.1
420
+ - @yaswap/types@2.7.1
421
+ - @yaswap/utils@2.7.1
422
+
423
+ ## 2.7.0
424
+
425
+ ### Minor Changes
426
+
427
+ - Finalize single wallet version
428
+
429
+ ### Patch Changes
430
+
431
+ - Updated dependencies
432
+ - @yaswap/client@2.7.0
433
+ - @yaswap/errors@2.7.0
434
+ - @yaswap/types@2.7.0
435
+ - @yaswap/utils@2.7.0
436
+
437
+ ## 2.6.6
438
+
439
+ ### Patch Changes
440
+
441
+ - Remove debug log
442
+ - Updated dependencies
443
+ - @yaswap/client@2.6.6
444
+ - @yaswap/errors@2.6.6
445
+ - @yaswap/types@2.6.6
446
+ - @yaswap/utils@2.6.6
447
+
448
+ ## 2.6.5
449
+
450
+ ### Patch Changes
451
+
452
+ - Use electrumClient to get transaction hex
453
+ - Updated dependencies
454
+ - @yaswap/client@2.6.5
455
+ - @yaswap/errors@2.6.5
456
+ - @yaswap/types@2.6.5
457
+ - @yaswap/utils@2.6.5
458
+
459
+ ## 2.6.4
460
+
461
+ ### Patch Changes
462
+
463
+ - Fix issue relating to integrate electrumClient
464
+ - Updated dependencies
465
+ - @yaswap/client@2.6.4
466
+ - @yaswap/errors@2.6.4
467
+ - @yaswap/types@2.6.4
468
+ - @yaswap/utils@2.6.4
469
+
470
+ ## 2.6.3
471
+
472
+ ### Patch Changes
473
+
474
+ - Replace blockCypher with electrumClient
475
+ - Updated dependencies
476
+ - @yaswap/client@2.6.3
477
+ - @yaswap/errors@2.6.3
478
+ - @yaswap/types@2.6.3
479
+ - @yaswap/utils@2.6.3
480
+
481
+ ## 2.6.2
482
+
483
+ ### Patch Changes
484
+
485
+ - Improve error handling
486
+ - Updated dependencies
487
+ - @yaswap/client@2.6.2
488
+ - @yaswap/errors@2.6.2
489
+ - @yaswap/types@2.6.2
490
+ - @yaswap/utils@2.6.2
491
+
492
+ ## 2.6.1
493
+
494
+ ### Patch Changes
495
+
496
+ - Fix issue which failed to get block info
497
+ - Updated dependencies
498
+ - @yaswap/client@2.6.1
499
+ - @yaswap/errors@2.6.1
500
+ - @yaswap/types@2.6.1
501
+ - @yaswap/utils@2.6.1
502
+
503
+ ## 2.6.0
504
+
505
+ ### Minor Changes
506
+
507
+ - Support dogecoin chain
508
+
509
+ ### Patch Changes
510
+
511
+ - Updated dependencies
512
+ - @yaswap/client@2.6.0
513
+ - @yaswap/errors@2.6.0
514
+ - @yaswap/types@2.6.0
515
+ - @yaswap/utils@2.6.0
516
+
517
+ ## 2.5.3
518
+
519
+ ### Patch Changes
520
+
521
+ - Support documents field in token metadata
522
+ - Updated dependencies
523
+ - @yaswap/client@2.5.3
524
+ - @yaswap/errors@2.5.3
525
+ - @yaswap/types@2.5.3
526
+ - @yaswap/utils@2.5.3
527
+
528
+ ## 2.5.2
529
+
530
+ ### Patch Changes
531
+
532
+ - Add missing logic to find claim and refund transaction for EVM chain
533
+ - Updated dependencies
534
+ - @yaswap/client@2.5.2
535
+ - @yaswap/errors@2.5.2
536
+ - @yaswap/types@2.5.2
537
+ - @yaswap/utils@2.5.2
538
+
539
+ ## 2.5.1
540
+
541
+ ### Patch Changes
542
+
543
+ - Fix issue which fails to initiate swap transaction for YAC
544
+ - Updated dependencies
545
+ - @yaswap/client@2.5.1
546
+ - @yaswap/errors@2.5.1
547
+ - @yaswap/types@2.5.1
548
+ - @yaswap/utils@2.5.1
549
+
550
+ ## 2.5.0
551
+
552
+ ### Minor Changes
553
+
554
+ - Support litecoin chain
555
+
556
+ ### Patch Changes
557
+
558
+ - Updated dependencies
559
+ - @yaswap/client@2.5.0
560
+ - @yaswap/errors@2.5.0
561
+ - @yaswap/types@2.5.0
562
+ - @yaswap/utils@2.5.0
563
+
564
+ ## 2.4.0
565
+
566
+ ### Minor Changes
567
+
568
+ - Add API to getBaseURL
569
+
570
+ ### Patch Changes
571
+
572
+ - Updated dependencies
573
+ - @yaswap/client@2.4.0
574
+ - @yaswap/errors@2.4.0
575
+ - @yaswap/types@2.4.0
576
+ - @yaswap/utils@2.4.0
577
+
578
+ ## 2.3.3
579
+
580
+ ### Patch Changes
581
+
582
+ - Change timelock values to production
583
+ - Updated dependencies
584
+ - @yaswap/client@2.3.3
585
+ - @yaswap/errors@2.3.3
586
+ - @yaswap/types@2.3.3
587
+ - @yaswap/utils@2.3.3
588
+
589
+ ## 2.3.2
590
+
591
+ ### Patch Changes
592
+
593
+ - Fix token issues
594
+ - Updated dependencies
595
+ - @yaswap/client@2.3.2
596
+ - @yaswap/errors@2.3.2
597
+ - @yaswap/types@2.3.2
598
+ - @yaswap/utils@2.3.2
599
+
600
+ ## 2.3.1
601
+
602
+ ### Patch Changes
603
+
604
+ - Change timelock fee duration and amount
605
+ - Updated dependencies
606
+ - @yaswap/client@2.3.1
607
+ - @yaswap/errors@2.3.1
608
+ - @yaswap/types@2.3.1
609
+ - @yaswap/utils@2.3.1
610
+
611
+ ## 2.3.0
612
+
613
+ ### Minor Changes
614
+
615
+ - Support create YA-Token/YA-NFT
616
+
617
+ ### Patch Changes
618
+
619
+ - Updated dependencies
620
+ - @yaswap/client@2.3.0
621
+ - @yaswap/errors@2.3.0
622
+ - @yaswap/types@2.3.0
623
+ - @yaswap/utils@2.3.0
624
+
625
+ ## 2.2.0
626
+
627
+ ### Minor Changes
628
+
629
+ - Integrate YA-token/YA-NFT
630
+
631
+ ### Patch Changes
632
+
633
+ - Updated dependencies
634
+ - @yaswap/client@2.2.0
635
+ - @yaswap/errors@2.2.0
636
+ - @yaswap/types@2.2.0
637
+ - @yaswap/utils@2.2.0
638
+
639
+ ## 2.1.0
640
+
641
+ ### Minor Changes
642
+
643
+ - Support batch request for Yacoin
644
+
645
+ ### Patch Changes
646
+
647
+ - Updated dependencies
648
+ - @yaswap/client@2.1.0
649
+ - @yaswap/errors@2.1.0
650
+ - @yaswap/types@2.1.0
651
+ - @yaswap/utils@2.1.0
652
+
653
+ ## 2.0.0
654
+
655
+ - First version
package/package.json CHANGED
@@ -1,36 +1,36 @@
1
1
  {
2
- "name": "@yaswap/yacoin",
3
- "version": "3.4.0",
4
- "description": "",
5
- "author": "Yaswap",
6
- "homepage": "",
7
- "license": "ISC",
8
- "main": "./dist/lib/index.js",
9
- "types": "./dist/lib/index.d.ts",
10
- "files": [
11
- "dist/**"
12
- ],
13
- "scripts": {
14
- "build": "tsc",
15
- "clean": "rm -rf node_modules .turbo dist"
16
- },
17
- "dependencies": {
18
- "@types/bip32": "^2.0.0",
19
- "@types/bip39": "^3.0.0",
20
- "@types/bitcoinjs-lib": "^5.0.0",
21
- "@types/lodash": "^4.14.178",
22
- "@types/memoizee": "^0.4.7",
23
- "@yaswap/client": "workspace:*",
24
- "@yaswap/errors": "workspace:*",
25
- "@yaswap/types": "workspace:*",
26
- "@yaswap/utils": "workspace:*",
27
- "@yaswap/yacoinjs-coinselect": "^1.1.0",
28
- "@yaswap/yacoinjs-lib": "^1.3.0",
29
- "bip174": "^2.0.1",
30
- "bip32": "2.0.6",
31
- "bip39": "^3.0.4",
32
- "bitcoinjs-message": "2.2.0",
33
- "lodash": "4.17.21",
34
- "memoizee": "^0.4.15"
35
- }
36
- }
2
+ "name": "@yaswap/yacoin",
3
+ "version": "3.4.1",
4
+ "description": "",
5
+ "author": "Yaswap",
6
+ "homepage": "",
7
+ "license": "ISC",
8
+ "main": "./dist/lib/index.js",
9
+ "types": "./dist/lib/index.d.ts",
10
+ "files": [
11
+ "dist/**"
12
+ ],
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "clean": "rm -rf node_modules .turbo dist"
16
+ },
17
+ "dependencies": {
18
+ "@types/bip32": "^2.0.0",
19
+ "@types/bip39": "^3.0.0",
20
+ "@types/bitcoinjs-lib": "^5.0.0",
21
+ "@types/lodash": "^4.14.178",
22
+ "@types/memoizee": "^0.4.7",
23
+ "@yaswap/client": "3.4.1",
24
+ "@yaswap/errors": "3.4.1",
25
+ "@yaswap/types": "3.4.1",
26
+ "@yaswap/utils": "3.4.1",
27
+ "@yaswap/yacoinjs-coinselect": "^1.1.0",
28
+ "@yaswap/yacoinjs-lib": "^1.3.0",
29
+ "bip174": "^2.0.1",
30
+ "bip32": "2.0.6",
31
+ "bip39": "^3.0.4",
32
+ "bitcoinjs-message": "2.2.0",
33
+ "lodash": "4.17.21",
34
+ "memoizee": "^0.4.15"
35
+ }
36
+ }