@bitgo-beta/sdk-coin-hbar 1.3.3-alpha.22 → 1.3.3-alpha.220

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 (34) hide show
  1. package/CHANGELOG.md +507 -0
  2. package/dist/src/hbar.d.ts +60 -9
  3. package/dist/src/hbar.d.ts.map +1 -1
  4. package/dist/src/hbar.js +161 -13
  5. package/dist/src/index.js +6 -2
  6. package/dist/src/lib/coinTransferBuilder.d.ts +1 -1
  7. package/dist/src/lib/coinTransferBuilder.d.ts.map +1 -1
  8. package/dist/src/lib/coinTransferBuilder.js +11 -7
  9. package/dist/src/lib/iface.d.ts +1 -1
  10. package/dist/src/lib/iface.d.ts.map +1 -1
  11. package/dist/src/lib/index.js +6 -2
  12. package/dist/src/lib/keyPair.d.ts +1 -0
  13. package/dist/src/lib/keyPair.d.ts.map +1 -1
  14. package/dist/src/lib/keyPair.js +7 -7
  15. package/dist/src/lib/tokenAssociateBuilder.js +9 -28
  16. package/dist/src/lib/tokenTransferBuilder.d.ts +1 -1
  17. package/dist/src/lib/tokenTransferBuilder.d.ts.map +1 -1
  18. package/dist/src/lib/tokenTransferBuilder.js +14 -10
  19. package/dist/src/lib/transaction.d.ts +1 -1
  20. package/dist/src/lib/transaction.d.ts.map +1 -1
  21. package/dist/src/lib/transaction.js +31 -27
  22. package/dist/src/lib/transactionBuilder.d.ts +1 -1
  23. package/dist/src/lib/transactionBuilder.d.ts.map +1 -1
  24. package/dist/src/lib/transactionBuilder.js +20 -16
  25. package/dist/src/lib/transactionBuilderFactory.js +3 -3
  26. package/dist/src/lib/transferBuilder.d.ts +1 -1
  27. package/dist/src/lib/transferBuilder.d.ts.map +1 -1
  28. package/dist/src/lib/transferBuilder.js +5 -24
  29. package/dist/src/lib/utils.d.ts +18 -1
  30. package/dist/src/lib/utils.d.ts.map +1 -1
  31. package/dist/src/lib/utils.js +69 -8
  32. package/dist/src/lib/walletInitializationBuilder.js +13 -9
  33. package/dist/src/seedValidator.js +7 -3
  34. package/package.json +11 -11
package/CHANGELOG.md CHANGED
@@ -3,6 +3,513 @@
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
+ ## [2.0.42](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.41...@bitgo/sdk-coin-hbar@2.0.42) (2024-10-22)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
9
+
10
+ ## [2.0.41](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.40...@bitgo/sdk-coin-hbar@2.0.41) (2024-10-15)
11
+
12
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
13
+
14
+ ## [2.0.40](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.39...@bitgo/sdk-coin-hbar@2.0.40) (2024-10-08)
15
+
16
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
17
+
18
+ ## [2.0.39](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.38...@bitgo/sdk-coin-hbar@2.0.39) (2024-10-04)
19
+
20
+ ### Bug Fixes
21
+
22
+ - **sdk-coin-hbar:** hbar address validation ([7015310](https://github.com/BitGo/BitGoJS/commit/70153106ed77c0de469d88880cd42631aa6e2e5d))
23
+
24
+ ## [2.0.38](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.37...@bitgo/sdk-coin-hbar@2.0.38) (2024-09-24)
25
+
26
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
27
+
28
+ ## [2.0.37](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.36...@bitgo/sdk-coin-hbar@2.0.37) (2024-09-19)
29
+
30
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
31
+
32
+ ## [2.0.36](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.35...@bitgo/sdk-coin-hbar@2.0.36) (2024-09-16)
33
+
34
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
35
+
36
+ ## [2.0.35](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.34...@bitgo/sdk-coin-hbar@2.0.35) (2024-09-10)
37
+
38
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
39
+
40
+ ## [2.0.34](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.33...@bitgo/sdk-coin-hbar@2.0.34) (2024-09-03)
41
+
42
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
43
+
44
+ ## [2.0.33](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.32...@bitgo/sdk-coin-hbar@2.0.33) (2024-08-29)
45
+
46
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
47
+
48
+ ## [2.0.32](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.31...@bitgo/sdk-coin-hbar@2.0.32) (2024-08-27)
49
+
50
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
51
+
52
+ ## [2.0.31](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.29...@bitgo/sdk-coin-hbar@2.0.31) (2024-08-20)
53
+
54
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
55
+
56
+ ## [2.0.30](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.29...@bitgo/sdk-coin-hbar@2.0.30) (2024-08-13)
57
+
58
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
59
+
60
+ ## [2.0.29](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.28...@bitgo/sdk-coin-hbar@2.0.29) (2024-08-07)
61
+
62
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
63
+
64
+ ## [2.0.28](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.27...@bitgo/sdk-coin-hbar@2.0.28) (2024-07-30)
65
+
66
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
67
+
68
+ ## [2.0.27](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.26...@bitgo/sdk-coin-hbar@2.0.27) (2024-07-24)
69
+
70
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
71
+
72
+ ## [2.0.26](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.25...@bitgo/sdk-coin-hbar@2.0.26) (2024-07-16)
73
+
74
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
75
+
76
+ ## [2.0.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.24...@bitgo/sdk-coin-hbar@2.0.25) (2024-07-04)
77
+
78
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
79
+
80
+ ## [2.0.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.23...@bitgo/sdk-coin-hbar@2.0.24) (2024-07-02)
81
+
82
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
83
+
84
+ ## [2.0.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.22...@bitgo/sdk-coin-hbar@2.0.23) (2024-06-27)
85
+
86
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
87
+
88
+ ## [2.0.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.21...@bitgo/sdk-coin-hbar@2.0.22) (2024-06-26)
89
+
90
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
91
+
92
+ ## [2.0.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.19...@bitgo/sdk-coin-hbar@2.0.21) (2024-06-21)
93
+
94
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
95
+
96
+ ## [2.0.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.19...@bitgo/sdk-coin-hbar@2.0.20) (2024-06-20)
97
+
98
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
99
+
100
+ ## [2.0.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.18...@bitgo/sdk-coin-hbar@2.0.19) (2024-06-14)
101
+
102
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
103
+
104
+ ## [2.0.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.17...@bitgo/sdk-coin-hbar@2.0.18) (2024-06-11)
105
+
106
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
107
+
108
+ ## [2.0.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.16...@bitgo/sdk-coin-hbar@2.0.17) (2024-06-05)
109
+
110
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
111
+
112
+ ## [2.0.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.15...@bitgo/sdk-coin-hbar@2.0.16) (2024-05-31)
113
+
114
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
115
+
116
+ ## [2.0.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.14...@bitgo/sdk-coin-hbar@2.0.15) (2024-05-28)
117
+
118
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
119
+
120
+ ## [2.0.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.13...@bitgo/sdk-coin-hbar@2.0.14) (2024-05-22)
121
+
122
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
123
+
124
+ ## [2.0.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.12...@bitgo/sdk-coin-hbar@2.0.13) (2024-05-17)
125
+
126
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
127
+
128
+ ## [2.0.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.11...@bitgo/sdk-coin-hbar@2.0.12) (2024-05-13)
129
+
130
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
131
+
132
+ ## [2.0.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.10...@bitgo/sdk-coin-hbar@2.0.11) (2024-05-08)
133
+
134
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
135
+
136
+ ## [2.0.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.9...@bitgo/sdk-coin-hbar@2.0.10) (2024-05-01)
137
+
138
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
139
+
140
+ ## [2.0.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.8...@bitgo/sdk-coin-hbar@2.0.9) (2024-04-25)
141
+
142
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
143
+
144
+ ## [2.0.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.7...@bitgo/sdk-coin-hbar@2.0.8) (2024-04-24)
145
+
146
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
147
+
148
+ ## [2.0.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.6...@bitgo/sdk-coin-hbar@2.0.7) (2024-04-22)
149
+
150
+ ### Bug Fixes
151
+
152
+ - **sdk-core:** update protobufjs to fix critical vulnerability ([7066ada](https://github.com/BitGo/BitGoJS/commit/7066ada07272968a1325f84c36d5146b9e9d9abf))
153
+
154
+ ## [2.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.5...@bitgo/sdk-coin-hbar@2.0.6) (2024-04-17)
155
+
156
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
157
+
158
+ ## [2.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.4...@bitgo/sdk-coin-hbar@2.0.5) (2024-04-12)
159
+
160
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
161
+
162
+ ## [2.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.3...@bitgo/sdk-coin-hbar@2.0.4) (2024-04-10)
163
+
164
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
165
+
166
+ ## [2.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.2...@bitgo/sdk-coin-hbar@2.0.3) (2024-04-09)
167
+
168
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
169
+
170
+ ## [2.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.1...@bitgo/sdk-coin-hbar@2.0.2) (2024-04-08)
171
+
172
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
173
+
174
+ ## [2.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.0...@bitgo/sdk-coin-hbar@2.0.1) (2024-04-05)
175
+
176
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
177
+
178
+ # [2.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.14.1...@bitgo/sdk-coin-hbar@2.0.0) (2024-03-28)
179
+
180
+ ### Features
181
+
182
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
183
+
184
+ ### BREAKING CHANGES
185
+
186
+ - **root:** Node 16 is no longer supported in bitgojs.
187
+ TICKET: WP-1100
188
+
189
+ ## [1.14.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.14.0...@bitgo/sdk-coin-hbar@1.14.1) (2024-03-19)
190
+
191
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
192
+
193
+ # [1.14.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.13.1...@bitgo/sdk-coin-hbar@1.14.0) (2024-03-11)
194
+
195
+ ### Features
196
+
197
+ - **sdk-coin-hbar:** fix and test hbar recovery with root keys ([b9bdcb7](https://github.com/BitGo/BitGoJS/commit/b9bdcb73351a0a5131093748eeb9a768777a9e76))
198
+ - **sdk-core:** add new supportsDeriveKeyWithSeed flag ([c82bc46](https://github.com/BitGo/BitGoJS/commit/c82bc4686806d572be158b3862c232ab58547657))
199
+
200
+ ## [1.13.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.13.0...@bitgo/sdk-coin-hbar@1.13.1) (2024-02-28)
201
+
202
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
203
+
204
+ # [1.13.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.12.0...@bitgo/sdk-coin-hbar@1.13.0) (2024-02-22)
205
+
206
+ ### Bug Fixes
207
+
208
+ - **sdk-coin-hbar:** deprecate hbar deriveKeyWithSeed ([b7b3c83](https://github.com/BitGo/BitGoJS/commit/b7b3c8372fc52ffe3aa6027ab02219a66da574b5))
209
+
210
+ ### Features
211
+
212
+ - **sdk-coin-hbar:** implement hbar root keys ([1f85407](https://github.com/BitGo/BitGoJS/commit/1f85407b16f636cc0e9a01c5b1ab9a77337dd148))
213
+
214
+ # [1.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.12.0) (2024-02-19)
215
+
216
+ ### Bug Fixes
217
+
218
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
219
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
220
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
221
+
222
+ ### Features
223
+
224
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
225
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
226
+
227
+ # [1.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.10.0) (2024-01-30)
228
+
229
+ ### Bug Fixes
230
+
231
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
232
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
233
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
234
+
235
+ ### Features
236
+
237
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
238
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
239
+
240
+ # [1.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.9.0) (2024-01-26)
241
+
242
+ ### Bug Fixes
243
+
244
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
245
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
246
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
247
+
248
+ ### Features
249
+
250
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
251
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
252
+
253
+ # [1.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.8.0) (2024-01-26)
254
+
255
+ ### Bug Fixes
256
+
257
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
258
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
259
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
260
+
261
+ ### Features
262
+
263
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
264
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
265
+
266
+ # [1.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.7.0) (2024-01-25)
267
+
268
+ ### Bug Fixes
269
+
270
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
271
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
272
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
273
+
274
+ ### Features
275
+
276
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
277
+
278
+ # [1.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.6.0) (2024-01-22)
279
+
280
+ ### Bug Fixes
281
+
282
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
283
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
284
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
285
+
286
+ ### Features
287
+
288
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
289
+
290
+ ## [1.5.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.25) (2024-01-09)
291
+
292
+ ### Bug Fixes
293
+
294
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
295
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
296
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
297
+
298
+ ## [1.5.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.24) (2024-01-03)
299
+
300
+ ### Bug Fixes
301
+
302
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
303
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
304
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
305
+
306
+ ## [1.5.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.23) (2023-12-18)
307
+
308
+ ### Bug Fixes
309
+
310
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
311
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
312
+
313
+ ## [1.5.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.22) (2023-12-12)
314
+
315
+ ### Bug Fixes
316
+
317
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
318
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
319
+
320
+ ## [1.5.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.21) (2023-12-09)
321
+
322
+ ### Bug Fixes
323
+
324
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
325
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
326
+
327
+ ## [1.5.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.20) (2023-12-05)
328
+
329
+ ### Bug Fixes
330
+
331
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
332
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
333
+
334
+ ## [1.5.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.19) (2023-11-28)
335
+
336
+ ### Bug Fixes
337
+
338
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
339
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
340
+
341
+ ## [1.5.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.18) (2023-11-24)
342
+
343
+ ### Bug Fixes
344
+
345
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
346
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
347
+
348
+ ## [1.5.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.17) (2023-11-17)
349
+
350
+ ### Bug Fixes
351
+
352
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
353
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
354
+
355
+ ## [1.5.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.16) (2023-11-13)
356
+
357
+ ### Bug Fixes
358
+
359
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
360
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
361
+
362
+ ## [1.5.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.15) (2023-11-13)
363
+
364
+ ### Bug Fixes
365
+
366
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
367
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
368
+
369
+ ## [1.5.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.14) (2023-11-13)
370
+
371
+ ### Bug Fixes
372
+
373
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
374
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
375
+
376
+ ## [1.5.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.13) (2023-10-20)
377
+
378
+ ### Bug Fixes
379
+
380
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
381
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
382
+
383
+ ## [1.5.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.12) (2023-10-18)
384
+
385
+ ### Bug Fixes
386
+
387
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
388
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
389
+
390
+ ## [1.5.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.11) (2023-09-25)
391
+
392
+ ### Bug Fixes
393
+
394
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
395
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
396
+
397
+ ## [1.5.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.10) (2023-09-09)
398
+
399
+ ### Bug Fixes
400
+
401
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
402
+
403
+ ## [1.5.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.9) (2023-09-09)
404
+
405
+ ### Bug Fixes
406
+
407
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
408
+
409
+ ## [1.5.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.8) (2023-09-07)
410
+
411
+ ### Bug Fixes
412
+
413
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
414
+
415
+ ## [1.5.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.7) (2023-09-05)
416
+
417
+ ### Bug Fixes
418
+
419
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
420
+
421
+ ## [1.5.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.6) (2023-09-01)
422
+
423
+ ### Bug Fixes
424
+
425
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
426
+
427
+ ## [1.5.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.5) (2023-08-29)
428
+
429
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
430
+
431
+ ## [1.5.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.4) (2023-08-25)
432
+
433
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
434
+
435
+ ## [1.5.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.3) (2023-08-24)
436
+
437
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
438
+
439
+ ## [1.5.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.2) (2023-08-16)
440
+
441
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
442
+
443
+ ## [1.5.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.5.0...@bitgo/sdk-coin-hbar@1.5.1) (2023-08-16)
444
+
445
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
446
+
447
+ # [1.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.28...@bitgo/sdk-coin-hbar@1.5.0) (2023-08-04)
448
+
449
+ ### Features
450
+
451
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
452
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
453
+
454
+ # [1.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.28...@bitgo/sdk-coin-hbar@1.4.0) (2023-07-28)
455
+
456
+ ### Features
457
+
458
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
459
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
460
+
461
+ ## [1.3.28](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.27...@bitgo/sdk-coin-hbar@1.3.28) (2023-07-18)
462
+
463
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
464
+
465
+ ## [1.3.27](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.26...@bitgo/sdk-coin-hbar@1.3.27) (2023-06-21)
466
+
467
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
468
+
469
+ ## [1.3.26](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.25...@bitgo/sdk-coin-hbar@1.3.26) (2023-06-14)
470
+
471
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
472
+
473
+ ## [1.3.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.24...@bitgo/sdk-coin-hbar@1.3.25) (2023-06-13)
474
+
475
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
476
+
477
+ ## [1.3.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.23...@bitgo/sdk-coin-hbar@1.3.24) (2023-06-07)
478
+
479
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
480
+
481
+ ## [1.3.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.22...@bitgo/sdk-coin-hbar@1.3.23) (2023-06-05)
482
+
483
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
484
+
485
+ ## [1.3.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.21...@bitgo/sdk-coin-hbar@1.3.22) (2023-05-25)
486
+
487
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
488
+
489
+ ## [1.3.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.20...@bitgo/sdk-coin-hbar@1.3.21) (2023-05-17)
490
+
491
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
492
+
493
+ ## [1.3.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.19...@bitgo/sdk-coin-hbar@1.3.20) (2023-05-10)
494
+
495
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
496
+
497
+ ## [1.3.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.18...@bitgo/sdk-coin-hbar@1.3.19) (2023-05-03)
498
+
499
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
500
+
501
+ ## [1.3.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.17...@bitgo/sdk-coin-hbar@1.3.18) (2023-04-25)
502
+
503
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
504
+
505
+ ## [1.3.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.16...@bitgo/sdk-coin-hbar@1.3.17) (2023-04-20)
506
+
507
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
508
+
509
+ ## [1.3.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.15...@bitgo/sdk-coin-hbar@1.3.16) (2023-04-13)
510
+
511
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
512
+
6
513
  ## [1.3.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.14...@bitgo/sdk-coin-hbar@1.3.15) (2023-02-17)
7
514
 
8
515
  **Note:** Version bump only for package @bitgo/sdk-coin-hbar
@@ -3,7 +3,8 @@
3
3
  * @prettier
4
4
  */
5
5
  import { CoinFamily, BaseCoin as StaticsBaseCoin } from '@bitgo-beta/statics';
6
- import { BaseCoin, BitGoBase, KeyPair, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions, VerifyAddressOptions as BaseVerifyAddressOptions, VerifyTransactionOptions, TransactionFee, TransactionRecipient as Recipient, TransactionPrebuild as BaseTransactionPrebuild, TransactionExplanation, Memo, TokenEnablementConfig } from '@bitgo-beta/sdk-core';
6
+ import { BaseCoin, BitGoBase, KeyPair, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions, VerifyAddressOptions as BaseVerifyAddressOptions, VerifyTransactionOptions, TransactionFee, TransactionRecipient as Recipient, TransactionPrebuild as BaseTransactionPrebuild, TransactionExplanation, Memo, TokenEnablementConfig, BaseBroadcastTransactionOptions, BaseBroadcastTransactionResult } from '@bitgo-beta/sdk-core';
7
+ import { Client, Transaction as HbarTransaction, AccountBalanceJson } from '@hashgraph/sdk';
7
8
  export interface HbarSignTransactionOptions extends SignTransactionOptions {
8
9
  txPrebuild: TransactionPrebuild;
9
10
  prv: string;
@@ -24,7 +25,7 @@ export interface ExplainTransactionOptions {
24
25
  halfSigned?: {
25
26
  txHex: string;
26
27
  };
27
- feeInfo: TransactionFee;
28
+ feeInfo?: TransactionFee;
28
29
  memo?: {
29
30
  type: string;
30
31
  value: string;
@@ -37,6 +38,46 @@ export interface HbarVerifyTransactionOptions extends VerifyTransactionOptions {
37
38
  interface VerifyAddressOptions extends BaseVerifyAddressOptions {
38
39
  baseAddress: string;
39
40
  }
41
+ export interface RecoveryOptions {
42
+ backupKey: string;
43
+ userKey: string;
44
+ rootAddress: string;
45
+ recoveryDestination: string;
46
+ bitgoKey?: string;
47
+ walletPassphrase?: string;
48
+ maxFee?: string;
49
+ nodeId?: string;
50
+ startTime?: string;
51
+ }
52
+ interface RecoveryInfo {
53
+ id: string;
54
+ tx: string;
55
+ coin: string;
56
+ startTime: string;
57
+ nodeId: string;
58
+ }
59
+ export interface OfflineVaultTxInfo {
60
+ txHex: string;
61
+ userKey: string;
62
+ backupKey: string;
63
+ bitgoKey?: string;
64
+ address: string;
65
+ coin: string;
66
+ maxFee: string;
67
+ recipients: Recipient[];
68
+ amount: string;
69
+ startTime: string;
70
+ validDuration: string;
71
+ nodeId: string;
72
+ memo: string;
73
+ json?: any;
74
+ }
75
+ export interface BroadcastTransactionOptions extends BaseBroadcastTransactionOptions {
76
+ startTime?: string;
77
+ }
78
+ export interface BroadcastTransactionResult extends BaseBroadcastTransactionResult {
79
+ status?: string;
80
+ }
40
81
  export declare class Hbar extends BaseCoin {
41
82
  protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
42
83
  constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
@@ -55,13 +96,15 @@ export declare class Hbar extends BaseCoin {
55
96
  * @param address
56
97
  */
57
98
  isValidAddress(address: string): boolean;
58
- /**
59
- * Generate Hedera Hashgraph key pair
60
- *
61
- * @param seed
62
- * @returns {Object} object with generated pub, prv
63
- */
99
+ /** inheritdoc */
100
+ deriveKeyWithSeed(): {
101
+ derivationPath: string;
102
+ key: string;
103
+ };
104
+ /** inheritdoc */
64
105
  generateKeyPair(seed?: Buffer): KeyPair;
106
+ /** inheritdoc */
107
+ generateRootKeyPair(seed?: Buffer): KeyPair;
65
108
  parseTransaction(params: ParseTransactionOptions): Promise<ParsedTransaction>;
66
109
  /**
67
110
  * Check if address is valid, then make sure it matches the base address.
@@ -98,7 +141,7 @@ export declare class Hbar extends BaseCoin {
98
141
  * 3) Send signed build - send our signed build to a public node
99
142
  * @param params
100
143
  */
101
- recover(params: any): Promise<any>;
144
+ recover(params: RecoveryOptions): Promise<RecoveryInfo | OfflineVaultTxInfo>;
102
145
  /**
103
146
  * Explain a Hedera transaction from txHex
104
147
  * @param params
@@ -107,8 +150,16 @@ export declare class Hbar extends BaseCoin {
107
150
  isStellarSeed(seed: string): boolean;
108
151
  convertFromStellarSeed(seed: string): string | null;
109
152
  isValidPub(pub: string): boolean;
153
+ supportsDeriveKeyWithSeed(): boolean;
110
154
  getTokenEnablementConfig(): TokenEnablementConfig;
111
155
  private getBuilderFactory;
156
+ private getHbarClient;
157
+ getAccountBalance(accountId: string, client: Client): Promise<AccountBalanceJson>;
158
+ broadcastTransaction({ serializedSignedTransaction, startTime, }: BroadcastTransactionOptions): Promise<BroadcastTransactionResult>;
159
+ clientBroadcastTransaction(hbarTx: HbarTransaction): Promise<{
160
+ txId: string;
161
+ status: string;
162
+ }>;
112
163
  }
113
164
  export {};
114
165
  //# sourceMappingURL=hbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hbar.d.ts","sourceRoot":"","sources":["../../src/hbar.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,QAAQ,IAAI,eAAe,EAAS,MAAM,qBAAqB,CAAC;AACrF,OAAO,EACL,QAAQ,EACR,SAAS,EACT,OAAO,EAEP,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,oBAAoB,IAAI,wBAAwB,EAChD,wBAAwB,EACxB,cAAc,EACd,oBAAoB,IAAI,SAAS,EACjC,mBAAmB,IAAI,uBAAuB,EAC9C,sBAAsB,EACtB,IAAI,EACJ,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAQ9B,MAAM,WAAW,0BAA2B,SAAQ,sBAAsB;IACxE,UAAU,EAAE,mBAAmB,CAAC;IAChC,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,MAAM;IACrB,UAAU,EAAE,SAAS,EAAE,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB;IAClE,KAAK,EAAE,MA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