@bitgo-beta/sdk-coin-atom 1.1.2-alpha.8 → 1.1.2-alpha.80

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 (44) hide show
  1. package/CHANGELOG.md +440 -0
  2. package/dist/src/atom.d.ts +12 -38
  3. package/dist/src/atom.d.ts.map +1 -1
  4. package/dist/src/atom.js +20 -161
  5. package/dist/src/lib/constants.d.ts +3 -6
  6. package/dist/src/lib/constants.d.ts.map +1 -1
  7. package/dist/src/lib/constants.js +7 -10
  8. package/dist/src/lib/index.d.ts +3 -5
  9. package/dist/src/lib/index.d.ts.map +1 -1
  10. package/dist/src/lib/index.js +11 -10
  11. package/dist/src/lib/keyPair.d.ts +3 -12
  12. package/dist/src/lib/keyPair.d.ts.map +1 -1
  13. package/dist/src/lib/keyPair.js +5 -49
  14. package/dist/src/lib/transactionBuilderFactory.d.ts +7 -11
  15. package/dist/src/lib/transactionBuilderFactory.d.ts.map +1 -1
  16. package/dist/src/lib/transactionBuilderFactory.js +16 -11
  17. package/dist/src/lib/utils.d.ts +5 -158
  18. package/dist/src/lib/utils.d.ts.map +1 -1
  19. package/dist/src/lib/utils.js +9 -475
  20. package/dist/src/tatom.d.ts +0 -8
  21. package/dist/src/tatom.d.ts.map +1 -1
  22. package/dist/src/tatom.js +1 -13
  23. package/package.json +10 -13
  24. package/dist/src/lib/StakingActivateBuilder.d.ts +0 -11
  25. package/dist/src/lib/StakingActivateBuilder.d.ts.map +0 -1
  26. package/dist/src/lib/StakingActivateBuilder.js +0 -31
  27. package/dist/src/lib/StakingDeactivateBuilder.d.ts +0 -11
  28. package/dist/src/lib/StakingDeactivateBuilder.d.ts.map +0 -1
  29. package/dist/src/lib/StakingDeactivateBuilder.js +0 -31
  30. package/dist/src/lib/StakingWithdrawRewardsBuilder.d.ts +0 -11
  31. package/dist/src/lib/StakingWithdrawRewardsBuilder.d.ts.map +0 -1
  32. package/dist/src/lib/StakingWithdrawRewardsBuilder.js +0 -31
  33. package/dist/src/lib/iface.d.ts +0 -45
  34. package/dist/src/lib/iface.d.ts.map +0 -1
  35. package/dist/src/lib/iface.js +0 -3
  36. package/dist/src/lib/transaction.d.ts +0 -57
  37. package/dist/src/lib/transaction.d.ts.map +0 -1
  38. package/dist/src/lib/transaction.js +0 -202
  39. package/dist/src/lib/transactionBuilder.d.ts +0 -76
  40. package/dist/src/lib/transactionBuilder.d.ts.map +0 -1
  41. package/dist/src/lib/transactionBuilder.js +0 -173
  42. package/dist/src/lib/transferBuilder.d.ts +0 -11
  43. package/dist/src/lib/transferBuilder.d.ts.map +0 -1
  44. package/dist/src/lib/transferBuilder.js +0 -31
package/CHANGELOG.md CHANGED
@@ -3,6 +3,446 @@
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
+ # [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)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
11
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
12
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
13
+
14
+ ### Code Refactoring
15
+
16
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
17
+
18
+ ### Features
19
+
20
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
21
+
22
+ ### BREAKING CHANGES
23
+
24
+ - **sdk-coin-atom:** restructured exports
25
+
26
+ * Removed constants overlapping with @bitgo/abstract-cosmos
27
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
28
+
29
+ Code dependent on the previously exported Interfaces/Constants needs to
30
+ be updated to import these from @bitgo/abstract-cosmos instead
31
+
32
+ # [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)
33
+
34
+ ### Bug Fixes
35
+
36
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
37
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
38
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
39
+
40
+ ### Code Refactoring
41
+
42
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
43
+
44
+ ### Features
45
+
46
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
47
+
48
+ ### BREAKING CHANGES
49
+
50
+ - **sdk-coin-atom:** restructured exports
51
+
52
+ * Removed constants overlapping with @bitgo/abstract-cosmos
53
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
54
+
55
+ Code dependent on the previously exported Interfaces/Constants needs to
56
+ be updated to import these from @bitgo/abstract-cosmos instead
57
+
58
+ # [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)
59
+
60
+ ### Bug Fixes
61
+
62
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
63
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
64
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
65
+
66
+ ### Code Refactoring
67
+
68
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
69
+
70
+ ### Features
71
+
72
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
73
+
74
+ ### BREAKING CHANGES
75
+
76
+ - **sdk-coin-atom:** restructured exports
77
+
78
+ * Removed constants overlapping with @bitgo/abstract-cosmos
79
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
80
+
81
+ Code dependent on the previously exported Interfaces/Constants needs to
82
+ be updated to import these from @bitgo/abstract-cosmos instead
83
+
84
+ # [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)
85
+
86
+ ### Bug Fixes
87
+
88
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
89
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
90
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
91
+
92
+ ### Code Refactoring
93
+
94
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
95
+
96
+ ### Features
97
+
98
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
99
+
100
+ ### BREAKING CHANGES
101
+
102
+ - **sdk-coin-atom:** restructured exports
103
+
104
+ * Removed constants overlapping with @bitgo/abstract-cosmos
105
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
106
+
107
+ Code dependent on the previously exported Interfaces/Constants needs to
108
+ be updated to import these from @bitgo/abstract-cosmos instead
109
+
110
+ # [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)
111
+
112
+ ### Bug Fixes
113
+
114
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
115
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
116
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
117
+
118
+ ### Code Refactoring
119
+
120
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
121
+
122
+ ### Features
123
+
124
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
125
+
126
+ ### BREAKING CHANGES
127
+
128
+ - **sdk-coin-atom:** restructured exports
129
+
130
+ * Removed constants overlapping with @bitgo/abstract-cosmos
131
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
132
+
133
+ Code dependent on the previously exported Interfaces/Constants needs to
134
+ be updated to import these from @bitgo/abstract-cosmos instead
135
+
136
+ # [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)
137
+
138
+ ### Bug Fixes
139
+
140
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
141
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
142
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
143
+
144
+ ### Code Refactoring
145
+
146
+ - **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))
147
+
148
+ ### Features
149
+
150
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
151
+
152
+ ### BREAKING CHANGES
153
+
154
+ - **sdk-coin-atom:** restructured exports
155
+
156
+ * Removed constants overlapping with @bitgo/abstract-cosmos
157
+ * Removed common Interfaces exported by @bitgo/abstract-cosmos
158
+
159
+ Code dependent on the previously exported Interfaces/Constants needs to
160
+ be updated to import these from @bitgo/abstract-cosmos instead
161
+
162
+ # [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)
163
+
164
+ ### Bug Fixes
165
+
166
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
167
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
168
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
169
+
170
+ ### Features
171
+
172
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
173
+
174
+ # [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)
175
+
176
+ ### Bug Fixes
177
+
178
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
179
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
180
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
181
+
182
+ ### Features
183
+
184
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
185
+
186
+ # [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)
187
+
188
+ ### Bug Fixes
189
+
190
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
191
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
192
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
193
+
194
+ ### Features
195
+
196
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
197
+
198
+ # [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)
199
+
200
+ ### Bug Fixes
201
+
202
+ - add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
203
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
204
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
205
+
206
+ ### Features
207
+
208
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
209
+
210
+ # [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)
211
+
212
+ ### Bug Fixes
213
+
214
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
215
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
216
+
217
+ ### Features
218
+
219
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
220
+
221
+ # [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)
222
+
223
+ ### Bug Fixes
224
+
225
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
226
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
227
+
228
+ ### Features
229
+
230
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
231
+
232
+ # [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)
233
+
234
+ ### Bug Fixes
235
+
236
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
237
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
238
+
239
+ ### Features
240
+
241
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
242
+
243
+ # [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)
244
+
245
+ ### Bug Fixes
246
+
247
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
248
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
249
+
250
+ ### Features
251
+
252
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
253
+
254
+ # [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)
255
+
256
+ ### Bug Fixes
257
+
258
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
259
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
260
+
261
+ ### Features
262
+
263
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
264
+
265
+ # [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)
266
+
267
+ ### Bug Fixes
268
+
269
+ - address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))
270
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
271
+
272
+ ### Features
273
+
274
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
275
+
276
+ # [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)
277
+
278
+ ### Bug Fixes
279
+
280
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
281
+
282
+ ### Features
283
+
284
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
285
+
286
+ # [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)
287
+
288
+ ### Bug Fixes
289
+
290
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
291
+
292
+ ### Features
293
+
294
+ - **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))
295
+
296
+ ## [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)
297
+
298
+ ### Bug Fixes
299
+
300
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
301
+
302
+ ## [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)
303
+
304
+ ### Bug Fixes
305
+
306
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
307
+
308
+ ## [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)
309
+
310
+ ### Bug Fixes
311
+
312
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
313
+
314
+ ## [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)
315
+
316
+ ### Bug Fixes
317
+
318
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
319
+
320
+ ## [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)
321
+
322
+ ### Bug Fixes
323
+
324
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
325
+
326
+ ## [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)
327
+
328
+ ### Bug Fixes
329
+
330
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
331
+
332
+ ## [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)
333
+
334
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
335
+
336
+ ## [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)
337
+
338
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
339
+
340
+ ## [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)
341
+
342
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
343
+
344
+ ## [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)
345
+
346
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
347
+
348
+ ## [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)
349
+
350
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
351
+
352
+ # [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)
353
+
354
+ ### Features
355
+
356
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
357
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
358
+
359
+ # [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)
360
+
361
+ ### Features
362
+
363
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
364
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
365
+
366
+ # [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)
367
+
368
+ ### Features
369
+
370
+ - **abstract-cosmos:** add support for contract call transaction ([9b7dd54](https://github.com/BitGo/BitGoJS/commit/9b7dd54c6a3a9e5cf2b47b4a94ef225f111a8baf))
371
+
372
+ ## [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)
373
+
374
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
375
+
376
+ ## [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)
377
+
378
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
379
+
380
+ ## [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)
381
+
382
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
383
+
384
+ ## [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)
385
+
386
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
387
+
388
+ # [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)
389
+
390
+ ### Features
391
+
392
+ - **sdk-core:** paillier proof user<>backup ([8c0a381](https://github.com/BitGo/BitGoJS/commit/8c0a381318be2088572e06e34c3627323d7bfe38))
393
+ - **sdk-core:** refactor signConvert to steps ([94e2cae](https://github.com/BitGo/BitGoJS/commit/94e2cae6e1292a4e9684c3c2ab7141221137d52e))
394
+ - **sdk-core:** simplify mpc.appendChallenge ([67bee8f](https://github.com/BitGo/BitGoJS/commit/67bee8f1b4f37cd12d6d14ea4d51ddcfde679563))
395
+ - **sdk-lib-mpc:** make rangeProof challenges mandatory for appendChallenge ([1f68b30](https://github.com/BitGo/BitGoJS/commit/1f68b30676966720cb1a42c039e35d3ddeea4974))
396
+
397
+ # [3.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.4...@bitgo/sdk-coin-atom@3.2.0) (2023-05-25)
398
+
399
+ ### Features
400
+
401
+ - **sdk-coin-atom:** add recover mechanism for ATOM ([0e4cfc7](https://github.com/BitGo/BitGoJS/commit/0e4cfc74201f9a44ec3b4b9c7591a6fbd3f2efb6))
402
+
403
+ ## [3.1.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.3...@bitgo/sdk-coin-atom@3.1.4) (2023-05-17)
404
+
405
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
406
+
407
+ ## [3.1.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.2...@bitgo/sdk-coin-atom@3.1.3) (2023-05-10)
408
+
409
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
410
+
411
+ ## [3.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.1...@bitgo/sdk-coin-atom@3.1.2) (2023-05-03)
412
+
413
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
414
+
415
+ ## [3.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.1.0...@bitgo/sdk-coin-atom@3.1.1) (2023-04-25)
416
+
417
+ **Note:** Version bump only for package @bitgo/sdk-coin-atom
418
+
419
+ # [3.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@3.0.0...@bitgo/sdk-coin-atom@3.1.0) (2023-04-20)
420
+
421
+ ### Features
422
+
423
+ - **sdk-coin-atom:** add memo support for atom ([0287361](https://github.com/BitGo/BitGoJS/commit/0287361265de70a57c833f0ec1598648a88f1c24))
424
+
425
+ # [3.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@2.1.0...@bitgo/sdk-coin-atom@3.0.0) (2023-04-13)
426
+
427
+ ### Bug Fixes
428
+
429
+ - **sdk-coin-atom:** allow transaction creation from both Hex and Base64 ([91fae07](https://github.com/BitGo/BitGoJS/commit/91fae072387bcf79d571ce7537b2de42e8ed1166))
430
+ - **sdk-coin-atom:** fix getAddress of KeyPair ([b966658](https://github.com/BitGo/BitGoJS/commit/b9666588cc0f5f6965f57af50e0c0da5dfe0cc2b))
431
+ - **sdk-core:** add new function in BaseCoin to get hash-function ([e028b31](https://github.com/BitGo/BitGoJS/commit/e028b31b3954810ee6c3fd7fdfa6ed4a07aa458e))
432
+
433
+ ### Features
434
+
435
+ - **sdk-coin-atom:** add function to load inputs and outputs of a transaction ([c3e3c1d](https://github.com/BitGo/BitGoJS/commit/c3e3c1d0632f5f7490f1aad6c0d1042533f222ab))
436
+ - **sdk-coin-atom:** add staking transaction builders ([5fe2e35](https://github.com/BitGo/BitGoJS/commit/5fe2e3589b1ac47031d82e1869dff1e676a4f318))
437
+ - **sdk-coin-atom:** add support to serialise unsigned txn ([f46c31b](https://github.com/BitGo/BitGoJS/commit/f46c31b3a22096b193e521d259fdc8f5c030ab02))
438
+ - **sdk-coin-atom:** implement isValidAddress for atom ([2fb8a93](https://github.com/BitGo/BitGoJS/commit/2fb8a93f05f024e12b72c7ee85ec8563a2e65275))
439
+ - **sdk-coin-atom:** implement remaining methods ([7c03501](https://github.com/BitGo/BitGoJS/commit/7c035019c76a1bbf4fbaa3da7e5823823637d2be))
440
+
441
+ ### BREAKING CHANGES
442
+
443
+ - **sdk-coin-atom:** type MessageData is changed
444
+ - **sdk-coin-atom:** Renamed type interface GasFeeLimitData to FeeData and parameter gas to gasLimit
445
+
6
446
  # [2.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-atom@2.0.0...@bitgo/sdk-coin-atom@2.1.0) (2023-02-17)
7
447
 
8
448
  ### Features
@@ -1,52 +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
- export declare class Atom extends BaseCoin {
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';
4
+ import { TransactionBuilderFactory } from './lib';
5
+ export declare class Atom extends CosmosCoin {
5
6
  protected readonly _staticsCoin: Readonly<StaticsBaseCoin>;
6
7
  protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
7
8
  static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
8
9
  /** @inheritDoc **/
9
10
  getBaseFactor(): string | number;
10
- /** @inheritDoc **/
11
- getChain(): string;
12
- /** @inheritDoc **/
13
- getFamily(): CoinFamily;
14
- /** @inheritDoc **/
15
- getFullName(): string;
16
- /** @inheritDoc */
17
- supportsTss(): boolean;
18
- /** @inheritDoc **/
19
- getMPCAlgorithm(): MPCAlgorithm;
20
- /** @inheritDoc **/
21
- isValidPub(pub: string): boolean;
22
- /** @inheritDoc **/
23
- isValidPrv(prv: string): boolean;
11
+ getBuilder(): TransactionBuilderFactory;
24
12
  /** @inheritDoc **/
25
13
  isValidAddress(address: string): boolean;
26
14
  /** @inheritDoc **/
27
- verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
15
+ getDenomination(): string;
28
16
  /** @inheritDoc **/
29
- parseTransaction(params: ParseTransactionOptions & {
30
- txHex: string;
31
- }): Promise<ParsedTransaction>;
17
+ getGasAmountDetails(): GasAmountDetails;
32
18
  /** @inheritDoc **/
33
- explainTransaction(options: {
34
- txHex: string;
35
- }): Promise<ExplanationResult>;
36
- /** @inheritDoc **/
37
- generateKeyPair(seed?: Buffer): KeyPair;
19
+ getKeyPair(publicKey: string): CosmosKeyPair;
38
20
  /**
39
- * Sign a transaction with a single private key
40
- * @param params parameters in the form of { txPrebuild: {txHex}, prv }
41
- * @returns signed transaction in the form of { txHex }
21
+ * Get the public node url from the Environments constant we have defined
42
22
  */
43
- signTransaction(params: SignTransactionOptions & {
44
- txPrebuild: {
45
- txHex: string;
46
- };
47
- prv: string;
48
- }): Promise<SignedTransaction>;
49
- /** @inheritDoc **/
50
- isWalletAddress(params: VerifyAddressOptions): Promise<boolean>;
23
+ protected getPublicNodeUrl(): string;
24
+ getAddressFromPublicKey(pubKey: string): string;
51
25
  }
52
26
  //# sourceMappingURL=atom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"atom.d.ts","sourceRoot":"","sources":["../../src/atom.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,QAAQ,EAER,SAAS,EACT,iBAAiB,EACjB,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EAEjB,sBAAsB,EAEtB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,IAAI,eAAe,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