@bitgo-beta/sdk-coin-atom 3.1.2-beta.37 → 3.1.2-beta.370

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 (45) hide show
  1. package/CHANGELOG.md +526 -0
  2. package/dist/src/atom.d.ts +7 -114
  3. package/dist/src/atom.d.ts.map +1 -1
  4. package/dist/src/atom.js +12 -498
  5. package/dist/src/index.js +6 -2
  6. package/dist/src/lib/constants.d.ts +1 -6
  7. package/dist/src/lib/constants.d.ts.map +1 -1
  8. package/dist/src/lib/constants.js +5 -10
  9. package/dist/src/lib/index.d.ts +3 -8
  10. package/dist/src/lib/index.d.ts.map +1 -1
  11. package/dist/src/lib/index.js +16 -17
  12. package/dist/src/lib/keyPair.d.ts +3 -12
  13. package/dist/src/lib/keyPair.d.ts.map +1 -1
  14. package/dist/src/lib/keyPair.js +5 -43
  15. package/dist/src/lib/transactionBuilderFactory.d.ts +8 -11
  16. package/dist/src/lib/transactionBuilderFactory.d.ts.map +1 -1
  17. package/dist/src/lib/transactionBuilderFactory.js +21 -11
  18. package/dist/src/lib/utils.d.ts +5 -159
  19. package/dist/src/lib/utils.d.ts.map +1 -1
  20. package/dist/src/lib/utils.js +15 -491
  21. package/dist/src/tatom.d.ts +0 -8
  22. package/dist/src/tatom.d.ts.map +1 -1
  23. package/dist/src/tatom.js +1 -13
  24. package/package.json +10 -15
  25. package/dist/src/lib/StakingActivateBuilder.d.ts +0 -11
  26. package/dist/src/lib/StakingActivateBuilder.d.ts.map +0 -1
  27. package/dist/src/lib/StakingActivateBuilder.js +0 -31
  28. package/dist/src/lib/StakingDeactivateBuilder.d.ts +0 -11
  29. package/dist/src/lib/StakingDeactivateBuilder.d.ts.map +0 -1
  30. package/dist/src/lib/StakingDeactivateBuilder.js +0 -31
  31. package/dist/src/lib/StakingWithdrawRewardsBuilder.d.ts +0 -11
  32. package/dist/src/lib/StakingWithdrawRewardsBuilder.d.ts.map +0 -1
  33. package/dist/src/lib/StakingWithdrawRewardsBuilder.js +0 -31
  34. package/dist/src/lib/iface.d.ts +0 -46
  35. package/dist/src/lib/iface.d.ts.map +0 -1
  36. package/dist/src/lib/iface.js +0 -3
  37. package/dist/src/lib/transaction.d.ts +0 -58
  38. package/dist/src/lib/transaction.d.ts.map +0 -1
  39. package/dist/src/lib/transaction.js +0 -271
  40. package/dist/src/lib/transactionBuilder.d.ts +0 -78
  41. package/dist/src/lib/transactionBuilder.d.ts.map +0 -1
  42. package/dist/src/lib/transactionBuilder.js +0 -179
  43. package/dist/src/lib/transferBuilder.d.ts +0 -11
  44. package/dist/src/lib/transferBuilder.d.ts.map +0 -1
  45. package/dist/src/lib/transferBuilder.js +0 -31
package/CHANGELOG.md CHANGED
@@ -3,6 +3,532 @@
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
+ ## [12.0.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.15...@bitgo/sdk-coin-atom@12.0.16) (2024-05-31)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
9
+
10
+ ## [12.0.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.14...@bitgo/sdk-coin-atom@12.0.15) (2024-05-28)
11
+
12
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
13
+
14
+ ## [12.0.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.13...@bitgo/sdk-coin-atom@12.0.14) (2024-05-22)
15
+
16
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
17
+
18
+ ## [12.0.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.12...@bitgo/sdk-coin-atom@12.0.13) (2024-05-17)
19
+
20
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
21
+
22
+ ## [12.0.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.11...@bitgo/sdk-coin-atom@12.0.12) (2024-05-13)
23
+
24
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
25
+
26
+ ## [12.0.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.10...@bitgo/sdk-coin-atom@12.0.11) (2024-05-08)
27
+
28
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
29
+
30
+ ## [12.0.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.9...@bitgo/sdk-coin-atom@12.0.10) (2024-05-01)
31
+
32
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
33
+
34
+ ## [12.0.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.8...@bitgo/sdk-coin-atom@12.0.9) (2024-04-25)
35
+
36
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
37
+
38
+ ## [12.0.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.7...@bitgo/sdk-coin-atom@12.0.8) (2024-04-24)
39
+
40
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
41
+
42
+ ## [12.0.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.6...@bitgo/sdk-coin-atom@12.0.7) (2024-04-22)
43
+
44
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
45
+
46
+ ## [12.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.5...@bitgo/sdk-coin-atom@12.0.6) (2024-04-17)
47
+
48
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
49
+
50
+ ## [12.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.4...@bitgo/sdk-coin-atom@12.0.5) (2024-04-12)
51
+
52
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
53
+
54
+ ## [12.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.3...@bitgo/sdk-coin-atom@12.0.4) (2024-04-10)
55
+
56
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
57
+
58
+ ## [12.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.2...@bitgo/sdk-coin-atom@12.0.3) (2024-04-09)
59
+
60
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
61
+
62
+ ## [12.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.1...@bitgo/sdk-coin-atom@12.0.2) (2024-04-08)
63
+
64
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
65
+
66
+ ## [12.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@12.0.0...@bitgo/sdk-coin-atom@12.0.1) (2024-04-05)
67
+
68
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
69
+
70
+ # [12.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@11.0.4...@bitgo/sdk-coin-atom@12.0.0) (2024-03-28)
71
+
72
+ ### Features
73
+
74
+ - **abstract-cosmos:** added redelegation for cosmos coins ([8ea18ab](https://github.com/BitGo/BitGoJS/commit/8ea18ab0ca115ba9b61335e69d34790f0c046e7b))
75
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
76
+
77
+ ### BREAKING CHANGES
78
+
79
+ - **root:** Node 16 is no longer supported in bitgojs.
80
+ TICKET: WP-1100
81
+
82
+ ## [11.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@11.0.3...@bitgo/sdk-coin-atom@11.0.4) (2024-03-19)
83
+
84
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
85
+
86
+ ## [11.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@11.0.2...@bitgo/sdk-coin-atom@11.0.3) (2024-03-11)
87
+
88
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
89
+
90
+ ## [11.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@11.0.1...@bitgo/sdk-coin-atom@11.0.2) (2024-02-28)
91
+
92
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
93
+
94
+ ## [11.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@11.0.0...@bitgo/sdk-coin-atom@11.0.1) (2024-02-22)
95
+
96
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
97
+
98
+ # [11.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@11.0.0) (2024-02-19)
99
+
100
+ ### Bug Fixes
101
+
102
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
103
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
104
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
105
+
106
+ ### Code Refactoring
107
+
108
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
109
+
110
+ ### Features
111
+
112
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
113
+
114
+ ### BREAKING CHANGES
115
+
116
+ - **sdk-coin-atom:** restructured exports
117
+
118
+ * Removed constants overlapping with @bitgo/abstract-cosmos
119
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
120
+
121
+ Code dependent on the previously exported Interfaces/Constants needs to
122
+ be updated to import these from @bitgo/abstract-cosmos instead
123
+
124
+ # [10.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@10.0.0) (2024-01-30)
125
+
126
+ ### Bug Fixes
127
+
128
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
129
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
130
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
131
+
132
+ ### Code Refactoring
133
+
134
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
135
+
136
+ ### Features
137
+
138
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
139
+
140
+ ### BREAKING CHANGES
141
+
142
+ - **sdk-coin-atom:** restructured exports
143
+
144
+ * Removed constants overlapping with @bitgo/abstract-cosmos
145
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
146
+
147
+ Code dependent on the previously exported Interfaces/Constants needs to
148
+ be updated to import these from @bitgo/abstract-cosmos instead
149
+
150
+ # [9.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@9.0.0) (2024-01-26)
151
+
152
+ ### Bug Fixes
153
+
154
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
155
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
156
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
157
+
158
+ ### Code Refactoring
159
+
160
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
161
+
162
+ ### Features
163
+
164
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
165
+
166
+ ### BREAKING CHANGES
167
+
168
+ - **sdk-coin-atom:** restructured exports
169
+
170
+ * Removed constants overlapping with @bitgo/abstract-cosmos
171
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
172
+
173
+ Code dependent on the previously exported Interfaces/Constants needs to
174
+ be updated to import these from @bitgo/abstract-cosmos instead
175
+
176
+ # [8.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@8.0.0) (2024-01-26)
177
+
178
+ ### Bug Fixes
179
+
180
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
181
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
182
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
183
+
184
+ ### Code Refactoring
185
+
186
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
187
+
188
+ ### Features
189
+
190
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
191
+
192
+ ### BREAKING CHANGES
193
+
194
+ - **sdk-coin-atom:** restructured exports
195
+
196
+ * Removed constants overlapping with @bitgo/abstract-cosmos
197
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
198
+
199
+ Code dependent on the previously exported Interfaces/Constants needs to
200
+ be updated to import these from @bitgo/abstract-cosmos instead
201
+
202
+ # [7.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@7.0.0) (2024-01-25)
203
+
204
+ ### Bug Fixes
205
+
206
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
207
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
208
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
209
+
210
+ ### Code Refactoring
211
+
212
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
213
+
214
+ ### Features
215
+
216
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
217
+
218
+ ### BREAKING CHANGES
219
+
220
+ - **sdk-coin-atom:** restructured exports
221
+
222
+ * Removed constants overlapping with @bitgo/abstract-cosmos
223
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
224
+
225
+ Code dependent on the previously exported Interfaces/Constants needs to
226
+ be updated to import these from @bitgo/abstract-cosmos instead
227
+
228
+ # [6.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@6.0.0) (2024-01-22)
229
+
230
+ ### Bug Fixes
231
+
232
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
233
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
234
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
235
+
236
+ ### Code Refactoring
237
+
238
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
239
+
240
+ ### Features
241
+
242
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
243
+
244
+ ### BREAKING CHANGES
245
+
246
+ - **sdk-coin-atom:** restructured exports
247
+
248
+ * Removed constants overlapping with @bitgo/abstract-cosmos
249
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
250
+
251
+ Code dependent on the previously exported Interfaces/Constants needs to
252
+ be updated to import these from @bitgo/abstract-cosmos instead
253
+
254
+ # [5.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@5.0.0) (2024-01-09)
255
+
256
+ ### Bug Fixes
257
+
258
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
259
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
260
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
261
+
262
+ ### Code Refactoring
263
+
264
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
265
+
266
+ ### Features
267
+
268
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
269
+
270
+ ### BREAKING CHANGES
271
+
272
+ - **sdk-coin-atom:** restructured exports
273
+
274
+ * Removed constants overlapping with @bitgo/abstract-cosmos
275
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
276
+
277
+ Code dependent on the previously exported Interfaces/Constants needs to
278
+ be updated to import these from @bitgo/abstract-cosmos instead
279
+
280
+ # [4.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@4.0.0) (2024-01-03)
281
+
282
+ ### Bug Fixes
283
+
284
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
285
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
286
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
287
+
288
+ ### Code Refactoring
289
+
290
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
291
+
292
+ ### Features
293
+
294
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
295
+
296
+ ### BREAKING CHANGES
297
+
298
+ - **sdk-coin-atom:** restructured exports
299
+
300
+ * Removed constants overlapping with @bitgo/abstract-cosmos
301
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
302
+
303
+ Code dependent on the previously exported Interfaces/Constants needs to
304
+ be updated to import these from @bitgo/abstract-cosmos instead
305
+
306
+ # [3.18.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.18.0) (2023-12-18)
307
+
308
+ ### Bug Fixes
309
+
310
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
311
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
312
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
313
+
314
+ ### Features
315
+
316
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
317
+
318
+ # [3.17.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.17.0) (2023-12-12)
319
+
320
+ ### Bug Fixes
321
+
322
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
323
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
324
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
325
+
326
+ ### Features
327
+
328
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
329
+
330
+ # [3.16.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.16.0) (2023-12-09)
331
+
332
+ ### Bug Fixes
333
+
334
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
335
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
336
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
337
+
338
+ ### Features
339
+
340
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
341
+
342
+ # [3.15.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.15.0) (2023-12-05)
343
+
344
+ ### Bug Fixes
345
+
346
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
347
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
348
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
349
+
350
+ ### Features
351
+
352
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
353
+
354
+ # [3.14.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.14.0) (2023-11-28)
355
+
356
+ ### Bug Fixes
357
+
358
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
359
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
360
+
361
+ ### Features
362
+
363
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
364
+
365
+ # [3.13.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.13.0) (2023-11-24)
366
+
367
+ ### Bug Fixes
368
+
369
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
370
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
371
+
372
+ ### Features
373
+
374
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
375
+
376
+ # [3.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.12.0) (2023-11-17)
377
+
378
+ ### Bug Fixes
379
+
380
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
381
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
382
+
383
+ ### Features
384
+
385
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
386
+
387
+ # [3.11.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.11.0) (2023-11-13)
388
+
389
+ ### Bug Fixes
390
+
391
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
392
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
393
+
394
+ ### Features
395
+
396
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
397
+
398
+ # [3.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.10.0) (2023-11-13)
399
+
400
+ ### Bug Fixes
401
+
402
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
403
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
404
+
405
+ ### Features
406
+
407
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
408
+
409
+ # [3.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.9.0) (2023-11-13)
410
+
411
+ ### Bug Fixes
412
+
413
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
414
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
415
+
416
+ ### Features
417
+
418
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
419
+
420
+ # [3.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.8.0) (2023-10-20)
421
+
422
+ ### Bug Fixes
423
+
424
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
425
+
426
+ ### Features
427
+
428
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
429
+
430
+ # [3.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.7.0) (2023-10-18)
431
+
432
+ ### Bug Fixes
433
+
434
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
435
+
436
+ ### Features
437
+
438
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
439
+
440
+ ## [3.6.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.11) (2023-09-25)
441
+
442
+ ### Bug Fixes
443
+
444
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
445
+
446
+ ## [3.6.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.10) (2023-09-09)
447
+
448
+ ### Bug Fixes
449
+
450
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
451
+
452
+ ## [3.6.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.9) (2023-09-09)
453
+
454
+ ### Bug Fixes
455
+
456
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
457
+
458
+ ## [3.6.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.8) (2023-09-07)
459
+
460
+ ### Bug Fixes
461
+
462
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
463
+
464
+ ## [3.6.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.7) (2023-09-05)
465
+
466
+ ### Bug Fixes
467
+
468
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
469
+
470
+ ## [3.6.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.6) (2023-09-01)
471
+
472
+ ### Bug Fixes
473
+
474
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
475
+
476
+ ## [3.6.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.5) (2023-08-29)
477
+
478
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
479
+
480
+ ## [3.6.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.4) (2023-08-25)
481
+
482
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
483
+
484
+ ## [3.6.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.3) (2023-08-24)
485
+
486
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
487
+
488
+ ## [3.6.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.2) (2023-08-16)
489
+
490
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
491
+
492
+ ## [3.6.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.6.0...@bitgo/sdk-coin-atom@3.6.1) (2023-08-16)
493
+
494
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
495
+
496
+ # [3.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.4.0...@bitgo/sdk-coin-atom@3.6.0) (2023-08-04)
497
+
498
+ ### Features
499
+
500
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
501
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
502
+
503
+ # [3.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.4.0...@bitgo/sdk-coin-atom@3.5.0) (2023-07-28)
504
+
505
+ ### Features
506
+
507
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
508
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
509
+
510
+ # [3.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.4...@bitgo/sdk-coin-atom@3.4.0) (2023-07-18)
511
+
512
+ ### Features
513
+
514
+ - **abstract-cosmos:** add support for contract call transaction ([9b7dd54](https://github.com/BitGo/BitGoJS/commit/9b7dd54c6a3a9e5cf2b47b4a94ef225f111a8baf))
515
+
516
+ ## [3.3.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.3...@bitgo/sdk-coin-atom@3.3.4) (2023-06-21)
517
+
518
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
519
+
520
+ ## [3.3.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.2...@bitgo/sdk-coin-atom@3.3.3) (2023-06-14)
521
+
522
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
523
+
524
+ ## [3.3.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.1...@bitgo/sdk-coin-atom@3.3.2) (2023-06-13)
525
+
526
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
527
+
528
+ ## [3.3.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.3.0...@bitgo/sdk-coin-atom@3.3.1) (2023-06-07)
529
+
530
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
531
+
6
532
  # [3.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.2.0...@bitgo/sdk-coin-atom@3.3.0) (2023-06-05)
7
533
 
8
534
  ### Features
@@ -1,133 +1,26 @@
1
- /// <reference types="node" />
2
- import { BaseCoin, BitGoBase, ExplanationResult, KeyPair, MPCAlgorithm, ParsedTransaction, ParseTransactionOptions, SignedTransaction, SignTransactionOptions, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
3
- import { BaseCoin as StaticsBaseCoin, CoinFamily } from '@bitgo-beta/statics';
4
- import { Hash } from 'crypto';
1
+ import { CosmosCoin, CosmosKeyPair, GasAmountDetails } from '@bitgo-beta/abstract-cosmos';
2
+ import { BaseCoin, BitGoBase } from '@bitgo-beta/sdk-core';
3
+ import { BaseCoin as StaticsBaseCoin } from '@bitgo-beta/statics';
5
4
  import { TransactionBuilderFactory } from './lib';
6
- import * as request from 'superagent';
7
- /**
8
- * Atom accounts support memo Id based addresses
9
- */
10
- interface AddressDetails {
11
- address: string;
12
- memoId?: string | undefined;
13
- }
14
- interface RecoveryOptions {
15
- userKey?: string;
16
- backupKey?: string;
17
- bitgoKey: string;
18
- recoveryDestination: string;
19
- krsProvider?: string;
20
- walletPassphrase?: string;
21
- startingScanIndex?: number;
22
- scan?: number;
23
- }
24
- interface AtomTx {
25
- serializedTx: string;
26
- scanIndex: number;
27
- }
28
- export declare class Atom extends BaseCoin {
5
+ export declare class Atom extends CosmosCoin {
29
6
  protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
30
7
  protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
31
8
  static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
32
9
  /** @inheritDoc **/
33
10
  getBaseFactor(): string | number;
34
- /** @inheritDoc **/
35
- getChain(): string;
36
- /** @inheritDoc **/
37
- getFamily(): CoinFamily;
38
- /** @inheritDoc **/
39
- getFullName(): string;
40
- /** @inheritDoc */
41
- supportsTss(): boolean;
42
- /** @inheritDoc **/
43
- getMPCAlgorithm(): MPCAlgorithm;
44
- /** @inheritDoc **/
45
- isValidPub(pub: string): boolean;
46
- /** @inheritDoc **/
47
- isValidPrv(prv: string): boolean;
48
11
  getBuilder(): TransactionBuilderFactory;
49
12
  /** @inheritDoc **/
50
13
  isValidAddress(address: string): boolean;
51
14
  /** @inheritDoc **/
52
- verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
53
- /** @inheritDoc **/
54
- parseTransaction(params: ParseTransactionOptions & {
55
- txHex: string;
56
- }): Promise<ParsedTransaction>;
15
+ getDenomination(): string;
57
16
  /** @inheritDoc **/
58
- explainTransaction(options: {
59
- txHex: string;
60
- }): Promise<ExplanationResult>;
17
+ getGasAmountDetails(): GasAmountDetails;
61
18
  /** @inheritDoc **/
62
- generateKeyPair(seed?: Buffer): KeyPair;
63
- /**
64
- * Sign a transaction with a single private key
65
- * @param params parameters in the form of { txPrebuild: {txHex}, prv }
66
- * @returns signed transaction in the form of { txHex }
67
- */
68
- signTransaction(params: SignTransactionOptions & {
69
- txPrebuild: {
70
- txHex: string;
71
- };
72
- prv: string;
73
- }): Promise<SignedTransaction>;
74
- /**
75
- * Builds a funds recovery transaction without BitGo
76
- * @param {RecoveryOptions} params parameters needed to construct and
77
- * (maybe) sign the transaction
78
- *
79
- * @returns {AtomTx} the serialized transaction hex string and index
80
- * of the address being swept
81
- */
82
- recover(params: RecoveryOptions): Promise<AtomTx>;
83
- /**
84
- * Get balance from public node
85
- */
86
- protected getBalanceFromNode(senderAddress: string): Promise<request.Response>;
87
- /**
88
- * Helper to fetch chainId
89
- */
90
- protected getChainId(): Promise<string>;
91
- /**
92
- * Get chain id from public node
93
- */
94
- protected getChainIdFromNode(): Promise<request.Response>;
95
- /**
96
- * Helper to fetch account number
97
- */
98
- protected getAccountDetails(senderAddress: string): Promise<string[]>;
99
- /**
100
- * Get account number from public node
101
- */
102
- protected getAccountFromNode(senderAddress: string): Promise<request.Response>;
103
- /**
104
- * Helper to fetch account balance
105
- */
106
- protected getAccountBalance(senderAddress: string): Promise<string>;
19
+ getKeyPair(publicKey: string): CosmosKeyPair;
107
20
  /**
108
21
  * Get the public node url from the Environments constant we have defined
109
22
  */
110
23
  protected getPublicNodeUrl(): string;
111
24
  getAddressFromPublicKey(pubKey: string): string;
112
- /** @inheritDoc **/
113
- isWalletAddress(params: VerifyAddressOptions): Promise<boolean>;
114
- getHashFunction(): Hash;
115
- /**
116
- * Process address into address and memo id
117
- *
118
- * @param address the address
119
- * @returns object containing address and memo id
120
- */
121
- getAddressDetails(address: string): AddressDetails;
122
- /**
123
- * Return boolean indicating whether a memo id is valid
124
- *
125
- * @param memoId memo id
126
- * @returns true if memo id is valid
127
- */
128
- isValidMemoId(memoId: string): boolean;
129
- private getKeyCombinedFromTssKeyShares;
130
- private signRecoveryTSS;
131
25
  }
132
- export {};
133
26
  //# sourceMappingURL=atom.d.ts.map