@bitgo-beta/sdk-coin-hbar 1.3.3-alpha.21 → 1.3.3-alpha.211

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 +501 -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,507 @@
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.38](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@2.0.37...@bitgo/sdk-coin-hbar@2.0.38) (2024-09-24)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
9
+
10
+ ## [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)
11
+
12
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
13
+
14
+ ## [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)
15
+
16
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
17
+
18
+ ## [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)
19
+
20
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
21
+
22
+ ## [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)
23
+
24
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
25
+
26
+ ## [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)
27
+
28
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
29
+
30
+ ## [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)
31
+
32
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
33
+
34
+ ## [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)
35
+
36
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
37
+
38
+ ## [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)
39
+
40
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
41
+
42
+ ## [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)
43
+
44
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
45
+
46
+ ## [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)
47
+
48
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
49
+
50
+ ## [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)
51
+
52
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
53
+
54
+ ## [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)
55
+
56
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
57
+
58
+ ## [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)
59
+
60
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
61
+
62
+ ## [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)
63
+
64
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
65
+
66
+ ## [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)
67
+
68
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
69
+
70
+ ## [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)
71
+
72
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
73
+
74
+ ## [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)
75
+
76
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
77
+
78
+ ## [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)
79
+
80
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
81
+
82
+ ## [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)
83
+
84
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
85
+
86
+ ## [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)
87
+
88
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
89
+
90
+ ## [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)
91
+
92
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
93
+
94
+ ## [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)
95
+
96
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
97
+
98
+ ## [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)
99
+
100
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
101
+
102
+ ## [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)
103
+
104
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
105
+
106
+ ## [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)
107
+
108
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
109
+
110
+ ## [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)
111
+
112
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
113
+
114
+ ## [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)
115
+
116
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
117
+
118
+ ## [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)
119
+
120
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
121
+
122
+ ## [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)
123
+
124
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
125
+
126
+ ## [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)
127
+
128
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
129
+
130
+ ## [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)
131
+
132
+ ### Bug Fixes
133
+
134
+ - **sdk-core:** update protobufjs to fix critical vulnerability ([7066ada](https://github.com/BitGo/BitGoJS/commit/7066ada07272968a1325f84c36d5146b9e9d9abf))
135
+
136
+ ## [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)
137
+
138
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
139
+
140
+ ## [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)
141
+
142
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
143
+
144
+ ## [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)
145
+
146
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
147
+
148
+ ## [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)
149
+
150
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
151
+
152
+ ## [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)
153
+
154
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
155
+
156
+ ## [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)
157
+
158
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
159
+
160
+ # [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)
161
+
162
+ ### Features
163
+
164
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
165
+
166
+ ### BREAKING CHANGES
167
+
168
+ - **root:** Node 16 is no longer supported in bitgojs.
169
+ TICKET: WP-1100
170
+
171
+ ## [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)
172
+
173
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
174
+
175
+ # [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)
176
+
177
+ ### Features
178
+
179
+ - **sdk-coin-hbar:** fix and test hbar recovery with root keys ([b9bdcb7](https://github.com/BitGo/BitGoJS/commit/b9bdcb73351a0a5131093748eeb9a768777a9e76))
180
+ - **sdk-core:** add new supportsDeriveKeyWithSeed flag ([c82bc46](https://github.com/BitGo/BitGoJS/commit/c82bc4686806d572be158b3862c232ab58547657))
181
+
182
+ ## [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)
183
+
184
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
185
+
186
+ # [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)
187
+
188
+ ### Bug Fixes
189
+
190
+ - **sdk-coin-hbar:** deprecate hbar deriveKeyWithSeed ([b7b3c83](https://github.com/BitGo/BitGoJS/commit/b7b3c8372fc52ffe3aa6027ab02219a66da574b5))
191
+
192
+ ### Features
193
+
194
+ - **sdk-coin-hbar:** implement hbar root keys ([1f85407](https://github.com/BitGo/BitGoJS/commit/1f85407b16f636cc0e9a01c5b1ab9a77337dd148))
195
+
196
+ # [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)
197
+
198
+ ### Bug Fixes
199
+
200
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
201
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
202
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
203
+
204
+ ### Features
205
+
206
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
207
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
208
+
209
+ # [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)
210
+
211
+ ### Bug Fixes
212
+
213
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
214
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
215
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
216
+
217
+ ### Features
218
+
219
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
220
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
221
+
222
+ # [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)
223
+
224
+ ### Bug Fixes
225
+
226
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
227
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
228
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
229
+
230
+ ### Features
231
+
232
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
233
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
234
+
235
+ # [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)
236
+
237
+ ### Bug Fixes
238
+
239
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
240
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
241
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
242
+
243
+ ### Features
244
+
245
+ - **sdk-coin-hbar:** implement recover method for native hbar ([45c4b7a](https://github.com/BitGo/BitGoJS/commit/45c4b7a7591176cb665efbdbb4279d40f3a869dd))
246
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
247
+
248
+ # [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)
249
+
250
+ ### Bug Fixes
251
+
252
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
253
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
254
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
255
+
256
+ ### Features
257
+
258
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
259
+
260
+ # [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)
261
+
262
+ ### Bug Fixes
263
+
264
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
265
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
266
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
267
+
268
+ ### Features
269
+
270
+ - **statics:** update thbar usdc token address ([f83d2aa](https://github.com/BitGo/BitGoJS/commit/f83d2aab9e3bc12cebe73b4bb11f284aab00b2ee))
271
+
272
+ ## [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)
273
+
274
+ ### Bug Fixes
275
+
276
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
277
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
278
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
279
+
280
+ ## [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)
281
+
282
+ ### Bug Fixes
283
+
284
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
285
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
286
+ - **sdk-coin-hbar:** hbar transaction valid duration ([74d7c4d](https://github.com/BitGo/BitGoJS/commit/74d7c4dd71d21a089274b87172aeae126a5af49d))
287
+
288
+ ## [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)
289
+
290
+ ### Bug Fixes
291
+
292
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
293
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
294
+
295
+ ## [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)
296
+
297
+ ### Bug Fixes
298
+
299
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
300
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
301
+
302
+ ## [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)
303
+
304
+ ### Bug Fixes
305
+
306
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
307
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
308
+
309
+ ## [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)
310
+
311
+ ### Bug Fixes
312
+
313
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
314
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
315
+
316
+ ## [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)
317
+
318
+ ### Bug Fixes
319
+
320
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
321
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
322
+
323
+ ## [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)
324
+
325
+ ### Bug Fixes
326
+
327
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
328
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
329
+
330
+ ## [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)
331
+
332
+ ### Bug Fixes
333
+
334
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
335
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
336
+
337
+ ## [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)
338
+
339
+ ### Bug Fixes
340
+
341
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
342
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
343
+
344
+ ## [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)
345
+
346
+ ### Bug Fixes
347
+
348
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
349
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
350
+
351
+ ## [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)
352
+
353
+ ### Bug Fixes
354
+
355
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
356
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
357
+
358
+ ## [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)
359
+
360
+ ### Bug Fixes
361
+
362
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
363
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
364
+
365
+ ## [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)
366
+
367
+ ### Bug Fixes
368
+
369
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
370
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
371
+
372
+ ## [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)
373
+
374
+ ### Bug Fixes
375
+
376
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
377
+ - **sdk-coin-hbar:** allow explain txn to take both feeParam as well as parsed json ([fcc8bc5](https://github.com/BitGo/BitGoJS/commit/fcc8bc571efb5c7ec218ef1d30b8eac4640a5d7e))
378
+
379
+ ## [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)
380
+
381
+ ### Bug Fixes
382
+
383
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
384
+
385
+ ## [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)
386
+
387
+ ### Bug Fixes
388
+
389
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
390
+
391
+ ## [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)
392
+
393
+ ### Bug Fixes
394
+
395
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
396
+
397
+ ## [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)
398
+
399
+ ### Bug Fixes
400
+
401
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
402
+
403
+ ## [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)
404
+
405
+ ### Bug Fixes
406
+
407
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
408
+
409
+ ## [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)
410
+
411
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
412
+
413
+ ## [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)
414
+
415
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
416
+
417
+ ## [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)
418
+
419
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
420
+
421
+ ## [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)
422
+
423
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
424
+
425
+ ## [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)
426
+
427
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
428
+
429
+ # [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)
430
+
431
+ ### Features
432
+
433
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
434
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
435
+
436
+ # [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)
437
+
438
+ ### Features
439
+
440
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
441
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
442
+
443
+ ## [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)
444
+
445
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
446
+
447
+ ## [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)
448
+
449
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
450
+
451
+ ## [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)
452
+
453
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
454
+
455
+ ## [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)
456
+
457
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
458
+
459
+ ## [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)
460
+
461
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
462
+
463
+ ## [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)
464
+
465
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
466
+
467
+ ## [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)
468
+
469
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
470
+
471
+ ## [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)
472
+
473
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
474
+
475
+ ## [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)
476
+
477
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
478
+
479
+ ## [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)
480
+
481
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
482
+
483
+ ## [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)
484
+
485
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
486
+
487
+ ## [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)
488
+
489
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
490
+
491
+ ## [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)
492
+
493
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
494
+
495
+ ## [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)
496
+
497
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
498
+
499
+ ## [1.3.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.11...@bitgo/sdk-coin-hbar@1.3.14) (2023-02-16)
500
+
501
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
502
+
503
+ ## [1.3.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.11...@bitgo/sdk-coin-hbar@1.3.13) (2023-02-08)
504
+
505
+ **Note:** Version bump only for package @bitgo/sdk-coin-hbar
506
+
6
507
  ## [1.3.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-hbar@1.3.11...@bitgo/sdk-coin-hbar@1.3.12) (2023-01-30)
7
508
 
8
509
  **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,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE;QACX,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,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