@bitgo-beta/unspents 0.13.2-beta.121 → 0.13.2-beta.1211
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/.mocharc.js +1 -1
- package/CHANGELOG.md +445 -0
- package/dist/bin/generate_tables.js +25 -12
- package/dist/src/codes.d.ts +10 -10
- package/dist/src/codes.d.ts.map +1 -1
- package/dist/src/codes.js +27 -13
- package/dist/src/dimensions.d.ts +16 -17
- package/dist/src/dimensions.d.ts.map +1 -1
- package/dist/src/dimensions.js +38 -21
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +26 -10
- package/dist/src/inputWeights.d.ts +3 -3
- package/dist/src/inputWeights.d.ts.map +1 -1
- package/dist/src/inputWeights.js +6 -6
- package/dist/src/scriptSizes.js +3 -4
- package/dist/src/types.js +23 -9
- package/dist/src/virtualSizes.d.ts +12 -12
- package/dist/src/virtualSizes.js +2 -2
- package/dist/src/zcash.js +4 -6
- package/dist/test/dimensions.js +39 -15
- package/dist/test/signedTx/inputWeights.js +27 -13
- package/dist/test/signedTx/txCombinations.d.ts +1 -1
- package/dist/test/signedTx/txCombinations.d.ts.map +1 -1
- package/dist/test/signedTx/txCombinations.js +29 -15
- package/dist/test/signedTx/txGen.d.ts +2 -3
- package/dist/test/signedTx/txGen.d.ts.map +1 -1
- package/dist/test/signedTx/txGen.js +26 -12
- package/dist/test/testutils.d.ts +2 -2
- package/dist/test/testutils.d.ts.map +1 -1
- package/dist/test/testutils.js +28 -14
- package/dist/test/zcash.js +8 -8
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/input-costs.md +10 -9
- package/package.json +4 -4
package/.mocharc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,451 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.49.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.9...@bitgo/unspents@0.49.0) (2025-08-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **unspents:** defer static initializations for ESM compatibility ([7a057c2](https://github.com/BitGo/BitGoJS/commit/7a057c264dfeeeb291db51954799e7af0d9c9bba))
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **root:** migrate ts-node -> tsx ([ea180b4](https://github.com/BitGo/BitGoJS/commit/ea180b43001d8e956196bc07b32798e3a7031eeb))
|
|
15
|
+
|
|
16
|
+
## [0.48.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.8...@bitgo/unspents@0.48.9) (2025-08-19)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
19
|
+
|
|
20
|
+
## [0.48.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.7...@bitgo/unspents@0.48.8) (2025-08-14)
|
|
21
|
+
|
|
22
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
23
|
+
|
|
24
|
+
## [0.48.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.6...@bitgo/unspents@0.48.7) (2025-08-07)
|
|
25
|
+
|
|
26
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
27
|
+
|
|
28
|
+
## [0.48.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.5...@bitgo/unspents@0.48.6) (2025-07-25)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
31
|
+
|
|
32
|
+
## [0.48.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.4...@bitgo/unspents@0.48.5) (2025-07-15)
|
|
33
|
+
|
|
34
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
35
|
+
|
|
36
|
+
## [0.48.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.3...@bitgo/unspents@0.48.4) (2025-07-10)
|
|
37
|
+
|
|
38
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
39
|
+
|
|
40
|
+
## [0.48.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.2...@bitgo/unspents@0.48.3) (2025-06-24)
|
|
41
|
+
|
|
42
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
43
|
+
|
|
44
|
+
## [0.48.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.1...@bitgo/unspents@0.48.2) (2025-06-18)
|
|
45
|
+
|
|
46
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
47
|
+
|
|
48
|
+
## [0.48.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.48.0...@bitgo/unspents@0.48.1) (2025-06-10)
|
|
49
|
+
|
|
50
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
51
|
+
|
|
52
|
+
# [0.48.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.21...@bitgo/unspents@0.48.0) (2025-06-05)
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
- **root:** support node 22 ([c4ad6af](https://github.com/BitGo/BitGoJS/commit/c4ad6af2e8896221417c303f0f6b84652b493216))
|
|
57
|
+
|
|
58
|
+
## [0.47.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.20...@bitgo/unspents@0.47.21) (2025-04-04)
|
|
59
|
+
|
|
60
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
61
|
+
|
|
62
|
+
## [0.47.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.18...@bitgo/unspents@0.47.20) (2025-03-04)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
65
|
+
|
|
66
|
+
## [0.47.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.18...@bitgo/unspents@0.47.19) (2025-02-26)
|
|
67
|
+
|
|
68
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
69
|
+
|
|
70
|
+
## [0.47.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.17...@bitgo/unspents@0.47.18) (2025-02-19)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
73
|
+
|
|
74
|
+
## [0.47.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.16...@bitgo/unspents@0.47.17) (2024-12-03)
|
|
75
|
+
|
|
76
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
77
|
+
|
|
78
|
+
## [0.47.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.15...@bitgo/unspents@0.47.16) (2024-11-26)
|
|
79
|
+
|
|
80
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
81
|
+
|
|
82
|
+
## [0.47.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.14...@bitgo/unspents@0.47.15) (2024-11-21)
|
|
83
|
+
|
|
84
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
85
|
+
|
|
86
|
+
## [0.47.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.12...@bitgo/unspents@0.47.14) (2024-11-19)
|
|
87
|
+
|
|
88
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
89
|
+
|
|
90
|
+
## [0.47.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.12...@bitgo/unspents@0.47.13) (2024-11-14)
|
|
91
|
+
|
|
92
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
93
|
+
|
|
94
|
+
## [0.47.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.11...@bitgo/unspents@0.47.12) (2024-11-01)
|
|
95
|
+
|
|
96
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
97
|
+
|
|
98
|
+
## [0.47.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.10...@bitgo/unspents@0.47.11) (2024-10-04)
|
|
99
|
+
|
|
100
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
101
|
+
|
|
102
|
+
## [0.47.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.9...@bitgo/unspents@0.47.10) (2024-09-03)
|
|
103
|
+
|
|
104
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
105
|
+
|
|
106
|
+
## [0.47.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.8...@bitgo/unspents@0.47.9) (2024-08-27)
|
|
107
|
+
|
|
108
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
109
|
+
|
|
110
|
+
## [0.47.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.7...@bitgo/unspents@0.47.8) (2024-08-07)
|
|
111
|
+
|
|
112
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
113
|
+
|
|
114
|
+
## [0.47.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.6...@bitgo/unspents@0.47.7) (2024-07-16)
|
|
115
|
+
|
|
116
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
117
|
+
|
|
118
|
+
## [0.47.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.5...@bitgo/unspents@0.47.6) (2024-07-04)
|
|
119
|
+
|
|
120
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
121
|
+
|
|
122
|
+
## [0.47.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.4...@bitgo/unspents@0.47.5) (2024-06-26)
|
|
123
|
+
|
|
124
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
125
|
+
|
|
126
|
+
## [0.47.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.3...@bitgo/unspents@0.47.4) (2024-06-11)
|
|
127
|
+
|
|
128
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
129
|
+
|
|
130
|
+
## [0.47.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.2...@bitgo/unspents@0.47.3) (2024-05-08)
|
|
131
|
+
|
|
132
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
133
|
+
|
|
134
|
+
## [0.47.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.1...@bitgo/unspents@0.47.2) (2024-05-01)
|
|
135
|
+
|
|
136
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
137
|
+
|
|
138
|
+
## [0.47.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.47.0...@bitgo/unspents@0.47.1) (2024-04-22)
|
|
139
|
+
|
|
140
|
+
**Note:** Version bump only for package @bitgo/unspents
|
|
141
|
+
|
|
142
|
+
# [0.47.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.47.0) (2024-04-10)
|
|
143
|
+
|
|
144
|
+
### Bug Fixes
|
|
145
|
+
|
|
146
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
147
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
148
|
+
|
|
149
|
+
### Features
|
|
150
|
+
|
|
151
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
152
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
153
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
154
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
155
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
156
|
+
|
|
157
|
+
# [0.45.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.45.0) (2024-01-30)
|
|
158
|
+
|
|
159
|
+
### Bug Fixes
|
|
160
|
+
|
|
161
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
162
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
163
|
+
|
|
164
|
+
### Features
|
|
165
|
+
|
|
166
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
167
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
168
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
169
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
170
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
171
|
+
|
|
172
|
+
# [0.44.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.44.0) (2024-01-26)
|
|
173
|
+
|
|
174
|
+
### Bug Fixes
|
|
175
|
+
|
|
176
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
177
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
178
|
+
|
|
179
|
+
### Features
|
|
180
|
+
|
|
181
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
182
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
183
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
184
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
185
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
186
|
+
|
|
187
|
+
# [0.43.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.43.0) (2024-01-26)
|
|
188
|
+
|
|
189
|
+
### Bug Fixes
|
|
190
|
+
|
|
191
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
192
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
193
|
+
|
|
194
|
+
### Features
|
|
195
|
+
|
|
196
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
197
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
198
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
199
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
200
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
201
|
+
|
|
202
|
+
# [0.42.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.42.0) (2024-01-25)
|
|
203
|
+
|
|
204
|
+
### Bug Fixes
|
|
205
|
+
|
|
206
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
207
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
208
|
+
|
|
209
|
+
### Features
|
|
210
|
+
|
|
211
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
212
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
213
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
214
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
215
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
216
|
+
|
|
217
|
+
# [0.41.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.41.0) (2024-01-22)
|
|
218
|
+
|
|
219
|
+
### Bug Fixes
|
|
220
|
+
|
|
221
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
222
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
223
|
+
|
|
224
|
+
### Features
|
|
225
|
+
|
|
226
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
227
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
228
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
229
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
230
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
231
|
+
|
|
232
|
+
# [0.40.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.40.0) (2024-01-09)
|
|
233
|
+
|
|
234
|
+
### Bug Fixes
|
|
235
|
+
|
|
236
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
237
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
238
|
+
|
|
239
|
+
### Features
|
|
240
|
+
|
|
241
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
242
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
243
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
244
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
245
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
246
|
+
|
|
247
|
+
# [0.39.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.39.0) (2024-01-03)
|
|
248
|
+
|
|
249
|
+
### Bug Fixes
|
|
250
|
+
|
|
251
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
252
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
253
|
+
|
|
254
|
+
### Features
|
|
255
|
+
|
|
256
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
257
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
258
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
259
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
260
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
261
|
+
|
|
262
|
+
# [0.38.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.38.0) (2023-12-18)
|
|
263
|
+
|
|
264
|
+
### Bug Fixes
|
|
265
|
+
|
|
266
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
267
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
268
|
+
|
|
269
|
+
### Features
|
|
270
|
+
|
|
271
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
272
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
273
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
274
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
275
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
276
|
+
|
|
277
|
+
# [0.37.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.37.0) (2023-12-12)
|
|
278
|
+
|
|
279
|
+
### Bug Fixes
|
|
280
|
+
|
|
281
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
282
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
283
|
+
|
|
284
|
+
### Features
|
|
285
|
+
|
|
286
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
287
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
288
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
289
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
290
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
291
|
+
|
|
292
|
+
# [0.36.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.36.0) (2023-12-09)
|
|
293
|
+
|
|
294
|
+
### Bug Fixes
|
|
295
|
+
|
|
296
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
297
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
298
|
+
|
|
299
|
+
### Features
|
|
300
|
+
|
|
301
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
302
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
303
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
304
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
305
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
306
|
+
|
|
307
|
+
# [0.35.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.35.0) (2023-12-05)
|
|
308
|
+
|
|
309
|
+
### Bug Fixes
|
|
310
|
+
|
|
311
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
312
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
313
|
+
|
|
314
|
+
### Features
|
|
315
|
+
|
|
316
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
317
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
318
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
319
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
320
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
321
|
+
|
|
322
|
+
# [0.34.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.34.0) (2023-11-28)
|
|
323
|
+
|
|
324
|
+
### Bug Fixes
|
|
325
|
+
|
|
326
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
327
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
328
|
+
|
|
329
|
+
### Features
|
|
330
|
+
|
|
331
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
332
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
333
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
334
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
335
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
336
|
+
|
|
337
|
+
# [0.33.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.33.0) (2023-11-24)
|
|
338
|
+
|
|
339
|
+
### Bug Fixes
|
|
340
|
+
|
|
341
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
342
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
343
|
+
|
|
344
|
+
### Features
|
|
345
|
+
|
|
346
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
347
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
348
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
349
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
350
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
351
|
+
|
|
352
|
+
# [0.32.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.32.0) (2023-11-17)
|
|
353
|
+
|
|
354
|
+
### Bug Fixes
|
|
355
|
+
|
|
356
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
357
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
358
|
+
|
|
359
|
+
### Features
|
|
360
|
+
|
|
361
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
362
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
363
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
364
|
+
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
|
|
365
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
366
|
+
|
|
367
|
+
# [0.31.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.31.0) (2023-11-13)
|
|
368
|
+
|
|
369
|
+
### Bug Fixes
|
|
370
|
+
|
|
371
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
372
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
373
|
+
|
|
374
|
+
### Features
|
|
375
|
+
|
|
376
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
377
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
378
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
379
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
380
|
+
|
|
381
|
+
# [0.30.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.30.0) (2023-11-13)
|
|
382
|
+
|
|
383
|
+
### Bug Fixes
|
|
384
|
+
|
|
385
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
386
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
387
|
+
|
|
388
|
+
### Features
|
|
389
|
+
|
|
390
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
391
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
392
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
393
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
394
|
+
|
|
395
|
+
# [0.29.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.29.0) (2023-11-13)
|
|
396
|
+
|
|
397
|
+
### Bug Fixes
|
|
398
|
+
|
|
399
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
400
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
401
|
+
|
|
402
|
+
### Features
|
|
403
|
+
|
|
404
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
405
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
406
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
407
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
408
|
+
|
|
409
|
+
# [0.28.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.28.0) (2023-10-20)
|
|
410
|
+
|
|
411
|
+
### Bug Fixes
|
|
412
|
+
|
|
413
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
414
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
415
|
+
|
|
416
|
+
### Features
|
|
417
|
+
|
|
418
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
419
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
420
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
421
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
422
|
+
|
|
423
|
+
# [0.27.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.27.0) (2023-10-18)
|
|
424
|
+
|
|
425
|
+
### Bug Fixes
|
|
426
|
+
|
|
427
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
428
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
429
|
+
|
|
430
|
+
### Features
|
|
431
|
+
|
|
432
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
433
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
434
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
435
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
436
|
+
|
|
437
|
+
# [0.26.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.26.0) (2023-09-25)
|
|
438
|
+
|
|
439
|
+
### Bug Fixes
|
|
440
|
+
|
|
441
|
+
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
|
|
442
|
+
- **unspents:** move `--recursive` flag to mocha ([275b8fb](https://github.com/BitGo/BitGoJS/commit/275b8fba5e3e806dd0e92f6659c92d18c097c45f))
|
|
443
|
+
|
|
444
|
+
### Features
|
|
445
|
+
|
|
446
|
+
- **sdk-api:** add size correction factor for transactions created ([5f0131c](https://github.com/BitGo/BitGoJS/commit/5f0131cd7016ad7dc4cf4b0be177e0c7ab7f4d25))
|
|
447
|
+
- **unspents:** add test for finding feePerKB ([f6397d7](https://github.com/BitGo/BitGoJS/commit/f6397d73e1726fb9e58ba6344bb7aab1a3297126))
|
|
448
|
+
- **unspents:** add ZCash ZIP-0317 fee calculation ([8c86f8f](https://github.com/BitGo/BitGoJS/commit/8c86f8f754409c46fb3af82ee55ad031ca16129b))
|
|
449
|
+
- **unspents:** extend tests ([aec14ec](https://github.com/BitGo/BitGoJS/commit/aec14ecedd67016e732b518a5e7a0ae036817fb6))
|
|
450
|
+
|
|
6
451
|
# [0.25.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/unspents@0.17.0...@bitgo/unspents@0.25.0) (2023-09-09)
|
|
7
452
|
|
|
8
453
|
### Bug Fixes
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -11,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
11
15
|
}) : function(o, v) {
|
|
12
16
|
o["default"] = v;
|
|
13
17
|
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
21
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
36
|
const fs = __importStar(require("fs/promises"));
|
|
23
37
|
const utxolib = __importStar(require("@bitgo-beta/utxo-lib"));
|
|
@@ -34,7 +48,6 @@ function formatMarkdownTable(headers, rows) {
|
|
|
34
48
|
return [headers, headers.map(() => '---'), ...rows].map((row) => `| ${row.join(' | ')} |`).join('\n');
|
|
35
49
|
}
|
|
36
50
|
function generateRowsForScriptType(headers, t, params) {
|
|
37
|
-
var _a;
|
|
38
51
|
const chainCode = utxolib.bitgo.toChainPair(t);
|
|
39
52
|
if (!params) {
|
|
40
53
|
if (t === 'p2tr') {
|
|
@@ -62,11 +75,11 @@ function generateRowsForScriptType(headers, t, params) {
|
|
|
62
75
|
];
|
|
63
76
|
}
|
|
64
77
|
}
|
|
65
|
-
const inputVSize = src_1.Dimensions.fromScriptType(t, params
|
|
78
|
+
const inputVSize = src_1.Dimensions.fromScriptType(t, params?.scriptTypeParams).getInputsVSize();
|
|
66
79
|
const row = [
|
|
67
80
|
t,
|
|
68
81
|
chainCode.join(`/`),
|
|
69
|
-
|
|
82
|
+
params?.spendTypeName ?? 'all',
|
|
70
83
|
inputVSize.toString(),
|
|
71
84
|
(inputVSize / relativeCostRef).toFixed(2),
|
|
72
85
|
];
|
|
@@ -91,4 +104,4 @@ if (require.main === module) {
|
|
|
91
104
|
.then(() => console.log('wrote to', outfile))
|
|
92
105
|
.catch((e) => console.error(e));
|
|
93
106
|
}
|
|
94
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
107
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhdGVfdGFibGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vYmluL2dlbmVyYXRlX3RhYmxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLGdEQUFrQztBQUNsQyw4REFBZ0Q7QUFFaEQsZ0NBQW9DO0FBRXBDLE1BQU0sT0FBTyxHQUFHO0lBQ2QsYUFBYTtJQUNiLGFBQWE7SUFDYixZQUFZO0lBQ1osNEJBQTRCO0lBQzVCLG1DQUFtQztDQUNwQyxDQUFDO0FBRUYsTUFBTSxlQUFlLEdBQUcsZ0JBQVUsQ0FBQyxjQUFjLENBQUMscUJBQXFCLENBQUMsQ0FBQyxjQUFjLEVBQUUsQ0FBQztBQUkxRixTQUFTLG1CQUFtQixDQUFDLE9BQWlCLEVBQUUsSUFBZ0I7SUFDOUQsT0FBTyxDQUFDLE9BQU8sRUFBRSxPQUFPLENBQUMsR0FBRyxDQUFDLEdBQUcsRUF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ED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as tcomb from 'tcomb';
|
|
2
|
-
export
|
|
2
|
+
export type ChainCode = number;
|
|
3
3
|
export declare class ErrorInvalidCode extends Error {
|
|
4
4
|
constructor(code: ChainCode);
|
|
5
5
|
}
|
|
@@ -34,6 +34,7 @@ export declare class CodesByType extends CodeGroup {
|
|
|
34
34
|
p2tr: ChainCode;
|
|
35
35
|
constructor(p: Purpose);
|
|
36
36
|
}
|
|
37
|
+
/** @deprecated - use utxolib.bitgo */
|
|
37
38
|
declare const _default: Readonly<{
|
|
38
39
|
ChainType: tcomb.Irreducible<unknown>;
|
|
39
40
|
/** @deprecated - use utxolib.bitgo */
|
|
@@ -57,24 +58,23 @@ declare const _default: Readonly<{
|
|
|
57
58
|
/** @deprecated - use utxolib.bitgo */
|
|
58
59
|
all: readonly number[];
|
|
59
60
|
/** @deprecated - use utxolib.bitgo */
|
|
60
|
-
isP2sh: (code:
|
|
61
|
+
isP2sh: (code: ChainCode) => boolean;
|
|
61
62
|
/** @deprecated - use utxolib.bitgo */
|
|
62
|
-
isP2shP2wsh: (code:
|
|
63
|
+
isP2shP2wsh: (code: ChainCode) => boolean;
|
|
63
64
|
/** @deprecated - use utxolib.bitgo */
|
|
64
|
-
isP2wsh: (code:
|
|
65
|
+
isP2wsh: (code: ChainCode) => boolean;
|
|
65
66
|
/** @deprecated - use utxolib.bitgo */
|
|
66
|
-
isP2tr: (code:
|
|
67
|
+
isP2tr: (code: ChainCode) => boolean;
|
|
67
68
|
/** @deprecated - use utxolib.bitgo */
|
|
68
|
-
isExternal: (code:
|
|
69
|
+
isExternal: (code: ChainCode) => boolean;
|
|
69
70
|
/** @deprecated - use utxolib.bitgo */
|
|
70
|
-
isInternal: (code:
|
|
71
|
+
isInternal: (code: ChainCode) => boolean;
|
|
71
72
|
/** @deprecated - use utxolib.bitgo */
|
|
72
|
-
isValid: (c:
|
|
73
|
+
isValid: (c: ChainCode) => boolean;
|
|
73
74
|
/** @deprecated - use utxolib.bitgo */
|
|
74
75
|
forType: (u: UnspentType) => CodesByPurpose;
|
|
75
76
|
/** @deprecated - use utxolib.bitgo */
|
|
76
|
-
typeForCode: (c:
|
|
77
|
+
typeForCode: (c: ChainCode) => UnspentType;
|
|
77
78
|
}>;
|
|
78
|
-
/** @deprecated - use utxolib.bitgo */
|
|
79
79
|
export default _default;
|
|
80
80
|
//# sourceMappingURL=codes.d.ts.map
|
package/dist/src/codes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../src/codes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,
|
|
1
|
+
{"version":3,"file":"codes.d.ts","sourceRoot":"","sources":["../../src/codes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B,qBAAa,gBAAiB,SAAQ,KAAK;gBAC7B,IAAI,EAAE,SAAS;CAG5B;AAED,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;CACd;AAID,oBAAY,OAAO;IACjB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AA0BD,eAAO,MAAM,SAAS,4BAAoD,CAAC;AAmB3E,eAAO,MAAM,OAAO,MAAO,SAAS,KAAG,OAA8C,CAAC;AAStF,qBAAa,SAAS;IACb,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;gBAC5B,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;IAIhC,GAAG,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO;CAMrC;AAED,qBAAa,cAAe,SAAQ,SAAS;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;gBAEf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