@bitgo-beta/abstract-utxo 1.6.1-alpha.9 → 1.6.1-alpha.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +293 -0
- package/dist/src/abstractUtxoCoin.d.ts +91 -15
- package/dist/src/abstractUtxoCoin.d.ts.map +1 -1
- package/dist/src/abstractUtxoCoin.js +209 -141
- package/dist/src/parseOutput.d.ts.map +1 -1
- package/dist/src/parseOutput.js +12 -1
- package/dist/src/recovery/RecoveryProvider.d.ts +6 -5
- package/dist/src/recovery/RecoveryProvider.d.ts.map +1 -1
- package/dist/src/recovery/RecoveryProvider.js +1 -2
- package/dist/src/recovery/backupKeyRecovery.d.ts +21 -11
- package/dist/src/recovery/backupKeyRecovery.d.ts.map +1 -1
- package/dist/src/recovery/backupKeyRecovery.js +85 -76
- package/dist/src/recovery/crossChainRecovery.d.ts +11 -23
- package/dist/src/recovery/crossChainRecovery.d.ts.map +1 -1
- package/dist/src/recovery/crossChainRecovery.js +19 -65
- package/dist/src/recovery/index.d.ts +0 -1
- package/dist/src/recovery/index.d.ts.map +1 -1
- package/dist/src/recovery/index.js +1 -2
- package/dist/src/sign.d.ts +26 -3
- package/dist/src/sign.d.ts.map +1 -1
- package/dist/src/sign.js +68 -2
- package/dist/src/transaction.d.ts +36 -0
- package/dist/src/transaction.d.ts.map +1 -0
- package/dist/src/transaction.js +221 -0
- package/dist/tsconfig.tsbuildinfo +1 -7734
- package/package.json +9 -9
- package/dist/src/recovery/smartbitApi.d.ts +0 -11
- package/dist/src/recovery/smartbitApi.d.ts.map +0 -1
- package/dist/src/recovery/smartbitApi.js +0 -36
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,299 @@
|
|
|
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
|
+
# [3.18.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.18.0) (2023-10-20)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **abstract-utxo:** upper case address should return false ([f0b6c46](https://github.com/BitGo/BitGoJS/commit/f0b6c467daaa0e43bb2923993fb238c7a4ce6f59))
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
15
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
16
|
+
|
|
17
|
+
# [3.17.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.17.0) (2023-10-18)
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- **abstract-utxo:** upper case address should return false ([f0b6c46](https://github.com/BitGo/BitGoJS/commit/f0b6c467daaa0e43bb2923993fb238c7a4ce6f59))
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
26
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
27
|
+
|
|
28
|
+
# [3.16.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.16.0) (2023-09-25)
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
- **abstract-utxo:** upper case address should return false ([f0b6c46](https://github.com/BitGo/BitGoJS/commit/f0b6c467daaa0e43bb2923993fb238c7a4ce6f59))
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
37
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
38
|
+
|
|
39
|
+
# [3.15.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.15.0) (2023-09-09)
|
|
40
|
+
|
|
41
|
+
### Bug Fixes
|
|
42
|
+
|
|
43
|
+
- **abstract-utxo:** upper case address should return false ([f0b6c46](https://github.com/BitGo/BitGoJS/commit/f0b6c467daaa0e43bb2923993fb238c7a4ce6f59))
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
48
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
49
|
+
|
|
50
|
+
# [3.14.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.14.0) (2023-09-09)
|
|
51
|
+
|
|
52
|
+
### Bug Fixes
|
|
53
|
+
|
|
54
|
+
- **abstract-utxo:** upper case address should return false ([f0b6c46](https://github.com/BitGo/BitGoJS/commit/f0b6c467daaa0e43bb2923993fb238c7a4ce6f59))
|
|
55
|
+
|
|
56
|
+
### Features
|
|
57
|
+
|
|
58
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
59
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
60
|
+
|
|
61
|
+
# [3.13.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.13.0) (2023-09-07)
|
|
62
|
+
|
|
63
|
+
### Bug Fixes
|
|
64
|
+
|
|
65
|
+
- **abstract-utxo:** upper case address should return false ([f0b6c46](https://github.com/BitGo/BitGoJS/commit/f0b6c467daaa0e43bb2923993fb238c7a4ce6f59))
|
|
66
|
+
|
|
67
|
+
### Features
|
|
68
|
+
|
|
69
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
70
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
71
|
+
|
|
72
|
+
# [3.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.12.0) (2023-09-05)
|
|
73
|
+
|
|
74
|
+
### Features
|
|
75
|
+
|
|
76
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
77
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
78
|
+
|
|
79
|
+
# [3.11.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.11.0) (2023-09-01)
|
|
80
|
+
|
|
81
|
+
### Features
|
|
82
|
+
|
|
83
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
84
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
85
|
+
|
|
86
|
+
# [3.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.10.0) (2023-08-29)
|
|
87
|
+
|
|
88
|
+
### Features
|
|
89
|
+
|
|
90
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
91
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
92
|
+
|
|
93
|
+
# [3.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.9.0) (2023-08-25)
|
|
94
|
+
|
|
95
|
+
### Features
|
|
96
|
+
|
|
97
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
98
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
99
|
+
|
|
100
|
+
# [3.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.8.0) (2023-08-24)
|
|
101
|
+
|
|
102
|
+
### Features
|
|
103
|
+
|
|
104
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
105
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
106
|
+
|
|
107
|
+
# [3.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.7.0) (2023-08-16)
|
|
108
|
+
|
|
109
|
+
### Features
|
|
110
|
+
|
|
111
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
112
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
113
|
+
|
|
114
|
+
# [3.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.5.0...@bitgo/abstract-utxo@3.6.0) (2023-08-16)
|
|
115
|
+
|
|
116
|
+
### Features
|
|
117
|
+
|
|
118
|
+
- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
|
|
119
|
+
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
|
|
120
|
+
|
|
121
|
+
# [3.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.3.0...@bitgo/abstract-utxo@3.5.0) (2023-08-04)
|
|
122
|
+
|
|
123
|
+
### Features
|
|
124
|
+
|
|
125
|
+
- **abstract-utxo:** add psbt support backup recovery ([b312a86](https://github.com/BitGo/BitGoJS/commit/b312a86091c1320b4d7a02bd1ca5c3d2056c00c6))
|
|
126
|
+
- **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
|
|
127
|
+
- **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
|
|
128
|
+
- **utxo-lib:** extract half signed tx from psbt ([3145474](https://github.com/BitGo/BitGoJS/commit/31454748fcea6df7fbbf886937abc48b36fb9cbd))
|
|
129
|
+
|
|
130
|
+
# [3.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.3.0...@bitgo/abstract-utxo@3.4.0) (2023-07-28)
|
|
131
|
+
|
|
132
|
+
### Features
|
|
133
|
+
|
|
134
|
+
- **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
|
|
135
|
+
- **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
|
|
136
|
+
- **utxo-lib:** extract half signed tx from psbt ([3145474](https://github.com/BitGo/BitGoJS/commit/31454748fcea6df7fbbf886937abc48b36fb9cbd))
|
|
137
|
+
|
|
138
|
+
# [3.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.2.0...@bitgo/abstract-utxo@3.3.0) (2023-07-18)
|
|
139
|
+
|
|
140
|
+
### Features
|
|
141
|
+
|
|
142
|
+
- **abstract-utxo:** always use bitcoin network for validating secondary key signatures ([d9b7022](https://github.com/BitGo/BitGoJS/commit/d9b7022832ed38d8661b842add34caa97f340d31))
|
|
143
|
+
- **abstract-utxo:** move keysSignatures test to separate file ([b9fa5c5](https://github.com/BitGo/BitGoJS/commit/b9fa5c57ae6207974612c96c4cf0941665703a4e))
|
|
144
|
+
|
|
145
|
+
# [3.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.1.2...@bitgo/abstract-utxo@3.2.0) (2023-06-21)
|
|
146
|
+
|
|
147
|
+
### Features
|
|
148
|
+
|
|
149
|
+
- **abstract-utxo:** support express external signer for musig2 inputs ([4401367](https://github.com/BitGo/BitGoJS/commit/44013673d564c976ae7b55788369dc48acbec64f))
|
|
150
|
+
- **utxo-lib:** add extractTransaction to UtxoPsbt ([0c41982](https://github.com/BitGo/BitGoJS/commit/0c41982de5b9397e69b314272c4e0f38bb6f69c3))
|
|
151
|
+
|
|
152
|
+
## [3.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.1.1...@bitgo/abstract-utxo@3.1.2) (2023-06-14)
|
|
153
|
+
|
|
154
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
155
|
+
|
|
156
|
+
## [3.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.1.0...@bitgo/abstract-utxo@3.1.1) (2023-06-13)
|
|
157
|
+
|
|
158
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
159
|
+
|
|
160
|
+
# [3.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@3.0.0...@bitgo/abstract-utxo@3.1.0) (2023-06-07)
|
|
161
|
+
|
|
162
|
+
### Features
|
|
163
|
+
|
|
164
|
+
- **abstract-utxo:** make walletId param optional for signtx ([f5aff50](https://github.com/BitGo/BitGoJS/commit/f5aff5087727fb1842dc7cda64756553ab364c2b))
|
|
165
|
+
|
|
166
|
+
# [3.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.3.0...@bitgo/abstract-utxo@3.0.0) (2023-06-05)
|
|
167
|
+
|
|
168
|
+
### Bug Fixes
|
|
169
|
+
|
|
170
|
+
- **utxo-lib:** use PsbtInput instead of UtxoPsbt ([1f73539](https://github.com/BitGo/BitGoJS/commit/1f73539409cf69fc55ab8aedb9d8873bb82bc375))
|
|
171
|
+
|
|
172
|
+
### Features
|
|
173
|
+
|
|
174
|
+
- **abstract-utxo:** add psbt support to explain and verify Tx ([4189659](https://github.com/BitGo/BitGoJS/commit/41896593cdc180cb5a60145a8d31fdf55dba6bb2))
|
|
175
|
+
|
|
176
|
+
### BREAKING CHANGES
|
|
177
|
+
|
|
178
|
+
- **utxo-lib:** functions signature is changed
|
|
179
|
+
|
|
180
|
+
# [2.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.2.1...@bitgo/abstract-utxo@2.3.0) (2023-05-25)
|
|
181
|
+
|
|
182
|
+
### Features
|
|
183
|
+
|
|
184
|
+
- **abstract-utxo:** add psbt and musig2 support for sdk-api ([7a23991](https://github.com/BitGo/BitGoJS/commit/7a23991079e5609d43d7483f8137189163943dfc))
|
|
185
|
+
|
|
186
|
+
## [2.2.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.2.0...@bitgo/abstract-utxo@2.2.1) (2023-05-17)
|
|
187
|
+
|
|
188
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
189
|
+
|
|
190
|
+
# [2.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.1.3...@bitgo/abstract-utxo@2.2.0) (2023-05-10)
|
|
191
|
+
|
|
192
|
+
### Features
|
|
193
|
+
|
|
194
|
+
- **sdk-coin-btc:** find & use supplementary unspents in case ([fc321ee](https://github.com/BitGo/BitGoJS/commit/fc321ee1fccfae2d6676070fb32d8d4dee531aaf))
|
|
195
|
+
|
|
196
|
+
## [2.1.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.1.2...@bitgo/abstract-utxo@2.1.3) (2023-05-03)
|
|
197
|
+
|
|
198
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
199
|
+
|
|
200
|
+
## [2.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.1.1...@bitgo/abstract-utxo@2.1.2) (2023-04-25)
|
|
201
|
+
|
|
202
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
203
|
+
|
|
204
|
+
## [2.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.1.0...@bitgo/abstract-utxo@2.1.1) (2023-04-20)
|
|
205
|
+
|
|
206
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
207
|
+
|
|
208
|
+
# [2.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.0.1...@bitgo/abstract-utxo@2.1.0) (2023-04-13)
|
|
209
|
+
|
|
210
|
+
### Bug Fixes
|
|
211
|
+
|
|
212
|
+
- **sdk-coin-btc:** get rootwalletkeys for inscription transfer ([b160186](https://github.com/BitGo/BitGoJS/commit/b16018643273e20ea6908f51149139def7209932))
|
|
213
|
+
|
|
214
|
+
### Features
|
|
215
|
+
|
|
216
|
+
- **utxo-lib:** create p2tr address using musig2 ([699e829](https://github.com/BitGo/BitGoJS/commit/699e8291f4a205ba0b2071c6369f2c8843b8a945))
|
|
217
|
+
|
|
218
|
+
## [2.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@2.0.0...@bitgo/abstract-utxo@2.0.1) (2023-02-17)
|
|
219
|
+
|
|
220
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
221
|
+
|
|
222
|
+
# [2.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.5...@bitgo/abstract-utxo@2.0.0) (2023-02-16)
|
|
223
|
+
|
|
224
|
+
### Bug Fixes
|
|
225
|
+
|
|
226
|
+
- accept apiKey for recoverFromWrongChain ([3f27775](https://github.com/BitGo/BitGoJS/commit/3f2777506326ae08d0e5d211146522af0d15c3f2))
|
|
227
|
+
- convert addr to canonical addr during wrongChainRecovery ([2089596](https://github.com/BitGo/BitGoJS/commit/20895964eeac1eedc9f859f0ce9b607313cc6568))
|
|
228
|
+
- **sdk-core:** mark pub as optional in Keychain interface ([7d6012c](https://github.com/BitGo/BitGoJS/commit/7d6012cf1058e43d96e129dc2b1607b5316dca1c))
|
|
229
|
+
|
|
230
|
+
### Features
|
|
231
|
+
|
|
232
|
+
- update tests for crossChainRecovery ([6cdd3a9](https://github.com/BitGo/BitGoJS/commit/6cdd3a94baa4427412d06e3e151096feea5e26ff))
|
|
233
|
+
- use UtxoApi to facilitate cross chain recoveries ([61151aa](https://github.com/BitGo/BitGoJS/commit/61151aa2634b7fa89f995a85940fd680f87cf854))
|
|
234
|
+
|
|
235
|
+
### BREAKING CHANGES
|
|
236
|
+
|
|
237
|
+
- **sdk-core:** Keychain.pub is now optional
|
|
238
|
+
|
|
239
|
+
# [1.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.5...@bitgo/abstract-utxo@1.12.0) (2023-02-08)
|
|
240
|
+
|
|
241
|
+
### Bug Fixes
|
|
242
|
+
|
|
243
|
+
- accept apiKey for recoverFromWrongChain ([3f27775](https://github.com/BitGo/BitGoJS/commit/3f2777506326ae08d0e5d211146522af0d15c3f2))
|
|
244
|
+
- convert addr to canonical addr during wrongChainRecovery ([2089596](https://github.com/BitGo/BitGoJS/commit/20895964eeac1eedc9f859f0ce9b607313cc6568))
|
|
245
|
+
|
|
246
|
+
### Features
|
|
247
|
+
|
|
248
|
+
- update tests for crossChainRecovery ([6cdd3a9](https://github.com/BitGo/BitGoJS/commit/6cdd3a94baa4427412d06e3e151096feea5e26ff))
|
|
249
|
+
- use UtxoApi to facilitate cross chain recoveries ([61151aa](https://github.com/BitGo/BitGoJS/commit/61151aa2634b7fa89f995a85940fd680f87cf854))
|
|
250
|
+
|
|
251
|
+
# [1.11.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.5...@bitgo/abstract-utxo@1.11.0) (2023-01-30)
|
|
252
|
+
|
|
253
|
+
### Features
|
|
254
|
+
|
|
255
|
+
- update tests for crossChainRecovery ([6cdd3a9](https://github.com/BitGo/BitGoJS/commit/6cdd3a94baa4427412d06e3e151096feea5e26ff))
|
|
256
|
+
- use UtxoApi to facilitate cross chain recoveries ([61151aa](https://github.com/BitGo/BitGoJS/commit/61151aa2634b7fa89f995a85940fd680f87cf854))
|
|
257
|
+
|
|
258
|
+
## [1.10.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.4...@bitgo/abstract-utxo@1.10.5) (2023-01-25)
|
|
259
|
+
|
|
260
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
261
|
+
|
|
262
|
+
## [1.10.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.3...@bitgo/abstract-utxo@1.10.4) (2022-12-23)
|
|
263
|
+
|
|
264
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
265
|
+
|
|
266
|
+
## [1.10.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.2...@bitgo/abstract-utxo@1.10.3) (2022-12-20)
|
|
267
|
+
|
|
268
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
269
|
+
|
|
270
|
+
## [1.10.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.1...@bitgo/abstract-utxo@1.10.2) (2022-12-09)
|
|
271
|
+
|
|
272
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
273
|
+
|
|
274
|
+
## [1.10.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.10.0...@bitgo/abstract-utxo@1.10.1) (2022-12-06)
|
|
275
|
+
|
|
276
|
+
**Note:** Version bump only for package @bitgo/abstract-utxo
|
|
277
|
+
|
|
278
|
+
# [1.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.9.0...@bitgo/abstract-utxo@1.10.0) (2022-12-01)
|
|
279
|
+
|
|
280
|
+
### Features
|
|
281
|
+
|
|
282
|
+
- **abstract-utxo:** add valueString to unspents for doge recovery flow ([439f95c](https://github.com/BitGo/BitGoJS/commit/439f95c4e337e33a0812ac28b03e46b52e4a9fde))
|
|
283
|
+
|
|
284
|
+
# [1.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.4.0...@bitgo/abstract-utxo@1.9.0) (2022-11-29)
|
|
285
|
+
|
|
286
|
+
### Bug Fixes
|
|
287
|
+
|
|
288
|
+
- fix unit-test-all errors ([4adab4d](https://github.com/BitGo/BitGoJS/commit/4adab4dd363cdd4c21bd964fd3b6d5581bd63e46))
|
|
289
|
+
- **sdk-coin-doge:** minor change in types ([db18dd9](https://github.com/BitGo/BitGoJS/commit/db18dd9f8a62432c89db76a9dbd81c7b3c586fc2))
|
|
290
|
+
- **utxo-lib:** fixed unchecked cast to Number ([2f1d962](https://github.com/BitGo/BitGoJS/commit/2f1d9628bd9ec51a12d0c8dc0adeb60e94f32b1d))
|
|
291
|
+
|
|
292
|
+
### Features
|
|
293
|
+
|
|
294
|
+
- **abstract-utxo:** allow for override in isValidAddress ([1d02d98](https://github.com/BitGo/BitGoJS/commit/1d02d988401b6abc00336f67687a7b01d682989e))
|
|
295
|
+
- **root:** add support for cross chain recovery for bcha ([f9ab941](https://github.com/BitGo/BitGoJS/commit/f9ab941055eaf79f6623b40e9aac982124f78843))
|
|
296
|
+
- **utxo-lib:** bigintify dogecoin specific functions ([d5830a6](https://github.com/BitGo/BitGoJS/commit/d5830a6d6c17de5cefb138a639b94c0cbb37f5f0))
|
|
297
|
+
- **utxo-lib:** simplify isValidAddress ([cf826fe](https://github.com/BitGo/BitGoJS/commit/cf826fe4d0a32f09888d2218028b24ce33a6aa92))
|
|
298
|
+
|
|
6
299
|
# [1.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-utxo@1.4.0...@bitgo/abstract-utxo@1.8.0) (2022-11-04)
|
|
7
300
|
|
|
8
301
|
### Bug Fixes
|
|
@@ -5,10 +5,34 @@
|
|
|
5
5
|
import * as utxolib from '@bitgo-beta/utxo-lib';
|
|
6
6
|
import { bitgo } from '@bitgo-beta/utxo-lib';
|
|
7
7
|
import { backupKeyRecovery, RecoverParams } from './recovery/backupKeyRecovery';
|
|
8
|
-
import { CrossChainRecoverySigned, CrossChainRecoveryUnsigned } from './recovery';
|
|
8
|
+
import { CrossChainRecoverySigned, CrossChainRecoveryUnsigned, RecoveryProvider } from './recovery';
|
|
9
9
|
import { AddressCoinSpecific, BaseCoin, BitGoBase, ExtraPrebuildParamsOptions, HalfSignedUtxoTransaction, IBaseCoin, IRequestTracer, ITransactionExplanation as BaseTransactionExplanation, Keychain, KeychainsTriplet, ParsedTransaction as BaseParsedTransaction, ParseTransactionOptions as BaseParseTransactionOptions, PrecreateBitGoOptions, PresignTransactionOptions, RequestTracer, SignedTransaction, SignTransactionOptions as BaseSignTransactionOptions, SupplementGenerateWalletOptions, TransactionParams as BaseTransactionParams, TransactionPrebuild as BaseTransactionPrebuild, Triple, VerificationOptions, VerifyAddressOptions as BaseVerifyAddressOptions, VerifyTransactionOptions as BaseVerifyTransactionOptions, Wallet, WalletData } from '@bitgo-beta/sdk-core';
|
|
10
10
|
import { CustomChangeOptions } from './parseOutput';
|
|
11
11
|
import ScriptType2Of3 = utxolib.bitgo.outputScripts.ScriptType2Of3;
|
|
12
|
+
declare type UtxoCustomSigningFunction<TNumber extends number | bigint> = {
|
|
13
|
+
(params: {
|
|
14
|
+
coin: IBaseCoin;
|
|
15
|
+
txPrebuild: TransactionPrebuild<TNumber>;
|
|
16
|
+
pubs?: string[];
|
|
17
|
+
/**
|
|
18
|
+
* signingStep flag becomes applicable when both of the following conditions are met:
|
|
19
|
+
* 1) When the external express signer is activated
|
|
20
|
+
* 2) When the PSBT includes at least one taprootKeyPathSpend input.
|
|
21
|
+
*
|
|
22
|
+
* The signing process of a taprootKeyPathSpend input is a 4-step sequence:
|
|
23
|
+
* i) user nonce generation - signerNonce - this is the first call to external express signer signTransaction
|
|
24
|
+
* ii) bitgo nonce generation - cosignerNonce - this is the first and only call to local signTransaction
|
|
25
|
+
* iii) user signature - signerSignature - this is the second call to external express signer signTransaction
|
|
26
|
+
* iv) bitgo signature - not in signTransaction method’s scope
|
|
27
|
+
*
|
|
28
|
+
* In the absence of this flag, the aforementioned first three sequence is executed in a single signTransaction call.
|
|
29
|
+
*
|
|
30
|
+
* NOTE: We make a strong assumption that the external express signer and its caller uses sticky sessions,
|
|
31
|
+
* since PSBTs are cached in step 1 to be used in step 3 for MuSig2 user secure nonce access.
|
|
32
|
+
*/
|
|
33
|
+
signingStep?: 'signerNonce' | 'signerSignature' | 'cosignerNonce';
|
|
34
|
+
}): Promise<SignedTransaction>;
|
|
35
|
+
};
|
|
12
36
|
declare type Unspent<TNumber extends number | bigint = number> = bitgo.Unspent<TNumber>;
|
|
13
37
|
export interface VerifyAddressOptions extends BaseVerifyAddressOptions {
|
|
14
38
|
chain: number;
|
|
@@ -37,7 +61,8 @@ export interface TransactionInfo<TNumber extends number | bigint = number> {
|
|
|
37
61
|
/** Maps txid to txhex. Required for offline signing. */
|
|
38
62
|
txHexes?: Record<string, string>;
|
|
39
63
|
changeAddresses?: string[];
|
|
40
|
-
unspents
|
|
64
|
+
/** psbt does not require unspents. */
|
|
65
|
+
unspents?: Unspent<TNumber>[];
|
|
41
66
|
}
|
|
42
67
|
export interface ExplainTransactionOptions<TNumber extends number | bigint = number> {
|
|
43
68
|
txHex: string;
|
|
@@ -112,16 +137,20 @@ export interface AddressDetails {
|
|
|
112
137
|
coinSpecific: AddressCoinSpecific;
|
|
113
138
|
addressType?: string;
|
|
114
139
|
}
|
|
115
|
-
|
|
140
|
+
declare type UtxoBaseSignTransactionOptions<TNumber extends number | bigint = number> = BaseSignTransactionOptions & {
|
|
116
141
|
/** Transaction prebuild from bitgo server */
|
|
117
142
|
txPrebuild: {
|
|
143
|
+
/**
|
|
144
|
+
* walletId is required in following 2 scenarios.
|
|
145
|
+
* 1. External signer express mode is used.
|
|
146
|
+
* 2. bitgo MuSig2 nonce is requested
|
|
147
|
+
*/
|
|
148
|
+
walletId?: string;
|
|
118
149
|
txHex: string;
|
|
119
|
-
txInfo
|
|
150
|
+
txInfo?: TransactionInfo<TNumber>;
|
|
120
151
|
};
|
|
121
|
-
/**
|
|
122
|
-
|
|
123
|
-
/** xpubs triple for wallet (user, backup, bitgo) */
|
|
124
|
-
pubs: Triple<string>;
|
|
152
|
+
/** xpubs triple for wallet (user, backup, bitgo). Required only when txPrebuild.txHex is not a PSBT */
|
|
153
|
+
pubs?: Triple<string>;
|
|
125
154
|
/** xpub for cosigner (defaults to bitgo) */
|
|
126
155
|
cosignerPub?: string;
|
|
127
156
|
/**
|
|
@@ -129,7 +158,13 @@ export interface SignTransactionOptions<TNumber extends number | bigint = number
|
|
|
129
158
|
* When false, creates half-signed transaction with placeholder signatures.
|
|
130
159
|
*/
|
|
131
160
|
isLastSignature?: boolean;
|
|
132
|
-
}
|
|
161
|
+
};
|
|
162
|
+
export declare type SignTransactionOptions<TNumber extends number | bigint = number> = UtxoBaseSignTransactionOptions<TNumber> & ({
|
|
163
|
+
prv: string;
|
|
164
|
+
signingStep?: 'signerNonce' | 'signerSignature';
|
|
165
|
+
} | {
|
|
166
|
+
signingStep: 'cosignerNonce';
|
|
167
|
+
});
|
|
133
168
|
export interface MultiSigAddress {
|
|
134
169
|
outputScript: Buffer;
|
|
135
170
|
redeemScript?: Buffer;
|
|
@@ -142,15 +177,20 @@ export interface RecoverFromWrongChainOptions {
|
|
|
142
177
|
wallet: string;
|
|
143
178
|
walletPassphrase?: string;
|
|
144
179
|
xprv?: string;
|
|
180
|
+
apiKey?: string;
|
|
145
181
|
/** @deprecated */
|
|
146
182
|
coin?: AbstractUtxoCoin;
|
|
147
183
|
recoveryCoin?: AbstractUtxoCoin;
|
|
148
184
|
signed?: boolean;
|
|
149
185
|
}
|
|
150
186
|
export interface VerifyKeySignaturesOptions {
|
|
151
|
-
userKeychain
|
|
152
|
-
|
|
153
|
-
|
|
187
|
+
userKeychain: {
|
|
188
|
+
pub?: string;
|
|
189
|
+
};
|
|
190
|
+
keychainToVerify: {
|
|
191
|
+
pub?: string;
|
|
192
|
+
};
|
|
193
|
+
keySignature: string;
|
|
154
194
|
}
|
|
155
195
|
export interface VerifyUserPublicKeyOptions {
|
|
156
196
|
userKeychain?: Keychain;
|
|
@@ -161,12 +201,27 @@ export interface VerifyTransactionOptions<TNumber extends number | bigint = numb
|
|
|
161
201
|
txPrebuild: TransactionPrebuild<TNumber>;
|
|
162
202
|
wallet: AbstractUtxoCoinWallet;
|
|
163
203
|
}
|
|
204
|
+
export interface SignPsbtRequest {
|
|
205
|
+
psbt: string;
|
|
206
|
+
}
|
|
207
|
+
export interface SignPsbtResponse {
|
|
208
|
+
psbt: string;
|
|
209
|
+
}
|
|
164
210
|
export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
165
211
|
altScriptHash?: number;
|
|
166
212
|
supportAltScriptDestination?: boolean;
|
|
167
213
|
readonly amountType: 'number' | 'bigint';
|
|
168
214
|
private readonly _network;
|
|
169
215
|
protected constructor(bitgo: BitGoBase, network: utxolib.Network, amountType?: 'number' | 'bigint');
|
|
216
|
+
/**
|
|
217
|
+
* Key Value: Unsigned tx id => PSBT
|
|
218
|
+
* It is used to cache PSBTs with taproot key path (MuSig2) inputs during external express signer is activated.
|
|
219
|
+
* Reason: MuSig2 signer secure nonce is cached in the UtxoPsbt object. It will be required during the signing step.
|
|
220
|
+
* For more info, check SignTransactionOptions.signingStep
|
|
221
|
+
*
|
|
222
|
+
* TODO BTC-276: This cache may need to be done with LRU like memory safe caching if memory issues comes up.
|
|
223
|
+
*/
|
|
224
|
+
private static readonly PSBT_CACHE;
|
|
170
225
|
get network(): utxolib.Network;
|
|
171
226
|
sweepWithSendMany(): boolean;
|
|
172
227
|
/** @deprecated */
|
|
@@ -240,7 +295,7 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
240
295
|
* @param {VerifyKeySignaturesOptions} params
|
|
241
296
|
* @return {{backup: boolean, bitgo: boolean}}
|
|
242
297
|
*/
|
|
243
|
-
|
|
298
|
+
verifyKeySignature(params: VerifyKeySignaturesOptions): boolean;
|
|
244
299
|
/**
|
|
245
300
|
* Verify signatures against the user private key over the change wallet extended keys
|
|
246
301
|
* @param {ParsedTransaction} tx
|
|
@@ -313,12 +368,29 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
313
368
|
* @returns {{chain: number, index: number, coin: number, coinSpecific: {outputScript, redeemScript}}}
|
|
314
369
|
*/
|
|
315
370
|
generateAddress(params: GenerateAddressOptions): AddressDetails;
|
|
371
|
+
/**
|
|
372
|
+
* @returns input psbt added with deterministic MuSig2 nonce for bitgo key for each MuSig2 inputs.
|
|
373
|
+
* @param psbtHex all MuSig2 inputs should contain user MuSig2 nonce
|
|
374
|
+
* @param walletId
|
|
375
|
+
*/
|
|
376
|
+
signPsbt(psbtHex: string, walletId: string): Promise<SignPsbtResponse>;
|
|
316
377
|
/**
|
|
317
378
|
* Assemble keychain and half-sign prebuilt transaction
|
|
318
379
|
* @param params - {@see SignTransactionOptions}
|
|
319
380
|
* @returns {Promise<SignedTransaction | HalfSignedUtxoTransaction>}
|
|
320
381
|
*/
|
|
321
382
|
signTransaction<TNumber extends number | bigint = number>(params: SignTransactionOptions<TNumber>): Promise<SignedTransaction | HalfSignedUtxoTransaction>;
|
|
383
|
+
/**
|
|
384
|
+
* Sign a transaction with a custom signing function. Example use case is express external signer
|
|
385
|
+
* @param customSigningFunction custom signing function that returns a single signed transaction
|
|
386
|
+
* @param signTransactionParams parameters for custom signing function. Includes txPrebuild and pubs (for legacy tx only).
|
|
387
|
+
*
|
|
388
|
+
* @returns signed transaction as hex string
|
|
389
|
+
*/
|
|
390
|
+
signWithCustomSigningFunction<TNumber extends number | bigint>(customSigningFunction: UtxoCustomSigningFunction<TNumber>, signTransactionParams: {
|
|
391
|
+
txPrebuild: TransactionPrebuild<TNumber>;
|
|
392
|
+
pubs?: string[];
|
|
393
|
+
}): Promise<SignedTransaction>;
|
|
322
394
|
/**
|
|
323
395
|
* @param unspent
|
|
324
396
|
* @returns {boolean}
|
|
@@ -337,7 +409,7 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
337
409
|
publicKey?: string;
|
|
338
410
|
}): boolean;
|
|
339
411
|
/**
|
|
340
|
-
* Decompose a raw transaction into useful information, such as the total amounts,
|
|
412
|
+
* Decompose a raw psbt/transaction into useful information, such as the total amounts,
|
|
341
413
|
* change amounts, and transaction outputs.
|
|
342
414
|
* @param params
|
|
343
415
|
*/
|
|
@@ -365,6 +437,7 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
365
437
|
* @param params.signed return a half-signed transaction (default=true)
|
|
366
438
|
* @param params.walletPassphrase the wallet passphrase
|
|
367
439
|
* @param params.xprv the unencrypted xprv (used instead of wallet passphrase)
|
|
440
|
+
* @param params.apiKey for utxo coins other than [BTC,TBTC] this is a Block Chair api key
|
|
368
441
|
* @returns {*}
|
|
369
442
|
*/
|
|
370
443
|
recoverFromWrongChain<TNumber extends number | bigint = number>(params: RecoverFromWrongChainOptions): Promise<CrossChainRecoverySigned<TNumber> | CrossChainRecoveryUnsigned<TNumber>>;
|
|
@@ -378,12 +451,15 @@ export declare abstract class AbstractUtxoCoin extends BaseCoin {
|
|
|
378
451
|
pub: string;
|
|
379
452
|
prv: string;
|
|
380
453
|
};
|
|
381
|
-
getExtraPrebuildParams(buildParams: ExtraPrebuildParamsOptions
|
|
454
|
+
getExtraPrebuildParams(buildParams: ExtraPrebuildParamsOptions & {
|
|
455
|
+
wallet: Wallet;
|
|
456
|
+
}): Promise<any>;
|
|
382
457
|
preCreateBitGo(params: PrecreateBitGoOptions): void;
|
|
383
458
|
presignTransaction(params: PresignTransactionOptions): Promise<any>;
|
|
384
459
|
supplementGenerateWallet(walletParams: SupplementGenerateWalletOptions, keychains: KeychainsTriplet): Promise<any>;
|
|
385
460
|
transactionDataAllowed(): boolean;
|
|
386
461
|
valuelessTransferAllowed(): boolean;
|
|
462
|
+
getRecoveryProvider(apiToken?: string): RecoveryProvider;
|
|
387
463
|
}
|
|
388
464
|
export {};
|
|
389
465
|
//# sourceMappingURL=abstractUtxoCoin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstractUtxoCoin.d.ts","sourceRoot":"","sources":["../../src/abstractUtxoCoin.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAyB,KAAK,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"abstractUtxoCoin.d.ts","sourceRoot":"","sources":["../../src/abstractUtxoCoin.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAyB,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAQpE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAChF,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAG1B,gBAAgB,EACjB,MAAM,YAAY,CAAC;AAEpB,OAAO,EACL,mBAAmB,EAEnB,QAAQ,EACR,SAAS,EACT,0BAA0B,EAC1B,yBAAyB,EACzB,SAAS,EAIT,cAAc,EAEd,uBAAuB,IAAI,0BAA0B,EAErD,QAAQ,EACR,gBAAgB,EAMhB,iBAAiB,IAAI,qBAAqB,EAC1C,uBAAuB,IAAI,2BAA2B,EACtD,qBAAqB,EACrB,yBAAyB,EAEzB,aAAa,EAEb,iBAAiB,EACjB,sBAAsB,IAAI,0BAA0B,EACpD,+BAA+B,EAC/B,iBAAiB,IAAI,qBAAqB,EAC1C,mBAAmB,IAAI,uBAAuB,EAE9C,MAAM,EAGN,mBAAmB,EACnB,oBAAoB,IAAI,wBAAwB,EAChD,wBAAwB,IAAI,4BAA4B,EACxD,MAAM,EACN,UAAU,EACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAe,MAAM,eAAe,CAAC;AAIjE,OAAO,cAAc,GAAG,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC;AAMnE,aAAK,yBAAyB,CAAC,OAAO,SAAS,MA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