@bitgo-beta/sdk-coin-ethw 1.3.3-alpha.28 → 1.3.3-alpha.281

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,865 @@
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
+ ## [20.0.70](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.69...@bitgo/sdk-coin-ethw@20.0.70) (2025-03-06)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
9
+
10
+ ## [20.0.69](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.66...@bitgo/sdk-coin-ethw@20.0.69) (2025-03-04)
11
+
12
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
13
+
14
+ ## [20.0.68](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.66...@bitgo/sdk-coin-ethw@20.0.68) (2025-02-26)
15
+
16
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
17
+
18
+ ## [20.0.67](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.66...@bitgo/sdk-coin-ethw@20.0.67) (2025-02-20)
19
+
20
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
21
+
22
+ ## [20.0.66](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.65...@bitgo/sdk-coin-ethw@20.0.66) (2025-02-19)
23
+
24
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
25
+
26
+ ## [20.0.65](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.64...@bitgo/sdk-coin-ethw@20.0.65) (2025-02-11)
27
+
28
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
29
+
30
+ ## [20.0.64](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.63...@bitgo/sdk-coin-ethw@20.0.64) (2025-02-05)
31
+
32
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
33
+
34
+ ## [20.0.63](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.62...@bitgo/sdk-coin-ethw@20.0.63) (2025-01-28)
35
+
36
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
37
+
38
+ ## [20.0.62](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.61...@bitgo/sdk-coin-ethw@20.0.62) (2025-01-23)
39
+
40
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
41
+
42
+ ## [20.0.61](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.60...@bitgo/sdk-coin-ethw@20.0.61) (2025-01-23)
43
+
44
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
45
+
46
+ ## [20.0.60](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.59...@bitgo/sdk-coin-ethw@20.0.60) (2025-01-20)
47
+
48
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
49
+
50
+ ## [20.0.59](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.58...@bitgo/sdk-coin-ethw@20.0.59) (2025-01-15)
51
+
52
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
53
+
54
+ ## [20.0.58](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.57...@bitgo/sdk-coin-ethw@20.0.58) (2025-01-09)
55
+
56
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
57
+
58
+ ## [20.0.57](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.56...@bitgo/sdk-coin-ethw@20.0.57) (2025-01-03)
59
+
60
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
61
+
62
+ ## [20.0.56](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.55...@bitgo/sdk-coin-ethw@20.0.56) (2024-12-24)
63
+
64
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
65
+
66
+ ## [20.0.55](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.54...@bitgo/sdk-coin-ethw@20.0.55) (2024-12-19)
67
+
68
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
69
+
70
+ ## [20.0.54](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.52...@bitgo/sdk-coin-ethw@20.0.54) (2024-12-17)
71
+
72
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
73
+
74
+ ## [20.0.53](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.52...@bitgo/sdk-coin-ethw@20.0.53) (2024-12-17)
75
+
76
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
77
+
78
+ ## [20.0.52](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.51...@bitgo/sdk-coin-ethw@20.0.52) (2024-12-12)
79
+
80
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
81
+
82
+ ## [20.0.51](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.50...@bitgo/sdk-coin-ethw@20.0.51) (2024-12-11)
83
+
84
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
85
+
86
+ ## [20.0.50](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.49...@bitgo/sdk-coin-ethw@20.0.50) (2024-12-03)
87
+
88
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
89
+
90
+ ## [20.0.49](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.48...@bitgo/sdk-coin-ethw@20.0.49) (2024-11-26)
91
+
92
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
93
+
94
+ ## [20.0.48](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.47...@bitgo/sdk-coin-ethw@20.0.48) (2024-11-21)
95
+
96
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
97
+
98
+ ## [20.0.47](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.45...@bitgo/sdk-coin-ethw@20.0.47) (2024-11-19)
99
+
100
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
101
+
102
+ ## [20.0.46](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.45...@bitgo/sdk-coin-ethw@20.0.46) (2024-11-14)
103
+
104
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
105
+
106
+ ## [20.0.45](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.44...@bitgo/sdk-coin-ethw@20.0.45) (2024-11-08)
107
+
108
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
109
+
110
+ ## [20.0.44](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.43...@bitgo/sdk-coin-ethw@20.0.44) (2024-11-07)
111
+
112
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
113
+
114
+ ## [20.0.43](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.42...@bitgo/sdk-coin-ethw@20.0.43) (2024-11-01)
115
+
116
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
117
+
118
+ ## [20.0.42](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.41...@bitgo/sdk-coin-ethw@20.0.42) (2024-10-22)
119
+
120
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
121
+
122
+ ## [20.0.41](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.40...@bitgo/sdk-coin-ethw@20.0.41) (2024-10-15)
123
+
124
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
125
+
126
+ ## [20.0.40](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.39...@bitgo/sdk-coin-ethw@20.0.40) (2024-10-08)
127
+
128
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
129
+
130
+ ## [20.0.39](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.38...@bitgo/sdk-coin-ethw@20.0.39) (2024-10-04)
131
+
132
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
133
+
134
+ ## [20.0.38](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.37...@bitgo/sdk-coin-ethw@20.0.38) (2024-09-24)
135
+
136
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
137
+
138
+ ## [20.0.37](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.36...@bitgo/sdk-coin-ethw@20.0.37) (2024-09-19)
139
+
140
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
141
+
142
+ ## [20.0.36](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.35...@bitgo/sdk-coin-ethw@20.0.36) (2024-09-16)
143
+
144
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
145
+
146
+ ## [20.0.35](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.34...@bitgo/sdk-coin-ethw@20.0.35) (2024-09-10)
147
+
148
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
149
+
150
+ ## [20.0.34](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.33...@bitgo/sdk-coin-ethw@20.0.34) (2024-09-03)
151
+
152
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
153
+
154
+ ## [20.0.33](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.32...@bitgo/sdk-coin-ethw@20.0.33) (2024-08-29)
155
+
156
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
157
+
158
+ ## [20.0.32](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.31...@bitgo/sdk-coin-ethw@20.0.32) (2024-08-27)
159
+
160
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
161
+
162
+ ## [20.0.31](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.29...@bitgo/sdk-coin-ethw@20.0.31) (2024-08-20)
163
+
164
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
165
+
166
+ ## [20.0.30](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.29...@bitgo/sdk-coin-ethw@20.0.30) (2024-08-13)
167
+
168
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
169
+
170
+ ## [20.0.29](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.28...@bitgo/sdk-coin-ethw@20.0.29) (2024-08-07)
171
+
172
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
173
+
174
+ ## [20.0.28](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.27...@bitgo/sdk-coin-ethw@20.0.28) (2024-07-30)
175
+
176
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
177
+
178
+ ## [20.0.27](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.26...@bitgo/sdk-coin-ethw@20.0.27) (2024-07-24)
179
+
180
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
181
+
182
+ ## [20.0.26](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.25...@bitgo/sdk-coin-ethw@20.0.26) (2024-07-16)
183
+
184
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
185
+
186
+ ## [20.0.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.24...@bitgo/sdk-coin-ethw@20.0.25) (2024-07-04)
187
+
188
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
189
+
190
+ ## [20.0.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.23...@bitgo/sdk-coin-ethw@20.0.24) (2024-07-02)
191
+
192
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
193
+
194
+ ## [20.0.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.22...@bitgo/sdk-coin-ethw@20.0.23) (2024-06-27)
195
+
196
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
197
+
198
+ ## [20.0.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.21...@bitgo/sdk-coin-ethw@20.0.22) (2024-06-26)
199
+
200
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
201
+
202
+ ## [20.0.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.19...@bitgo/sdk-coin-ethw@20.0.21) (2024-06-21)
203
+
204
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
205
+
206
+ ## [20.0.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.19...@bitgo/sdk-coin-ethw@20.0.20) (2024-06-20)
207
+
208
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
209
+
210
+ ## [20.0.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.18...@bitgo/sdk-coin-ethw@20.0.19) (2024-06-14)
211
+
212
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
213
+
214
+ ## [20.0.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.17...@bitgo/sdk-coin-ethw@20.0.18) (2024-06-11)
215
+
216
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
217
+
218
+ ## [20.0.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.16...@bitgo/sdk-coin-ethw@20.0.17) (2024-06-05)
219
+
220
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
221
+
222
+ ## [20.0.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.15...@bitgo/sdk-coin-ethw@20.0.16) (2024-05-31)
223
+
224
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
225
+
226
+ ## [20.0.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.14...@bitgo/sdk-coin-ethw@20.0.15) (2024-05-28)
227
+
228
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
229
+
230
+ ## [20.0.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.13...@bitgo/sdk-coin-ethw@20.0.14) (2024-05-22)
231
+
232
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
233
+
234
+ ## [20.0.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.12...@bitgo/sdk-coin-ethw@20.0.13) (2024-05-17)
235
+
236
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
237
+
238
+ ## [20.0.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.11...@bitgo/sdk-coin-ethw@20.0.12) (2024-05-13)
239
+
240
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
241
+
242
+ ## [20.0.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.10...@bitgo/sdk-coin-ethw@20.0.11) (2024-05-08)
243
+
244
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
245
+
246
+ ## [20.0.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.9...@bitgo/sdk-coin-ethw@20.0.10) (2024-05-01)
247
+
248
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
249
+
250
+ ## [20.0.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.8...@bitgo/sdk-coin-ethw@20.0.9) (2024-04-25)
251
+
252
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
253
+
254
+ ## [20.0.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.7...@bitgo/sdk-coin-ethw@20.0.8) (2024-04-24)
255
+
256
+ ### Bug Fixes
257
+
258
+ - superagent upgrade to 9.0 ([6e9aa43](https://github.com/BitGo/BitGoJS/commit/6e9aa43a6d2999298abd450ceb168d664b8b926d))
259
+
260
+ ## [20.0.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.6...@bitgo/sdk-coin-ethw@20.0.7) (2024-04-22)
261
+
262
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
263
+
264
+ ## [20.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.5...@bitgo/sdk-coin-ethw@20.0.6) (2024-04-17)
265
+
266
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
267
+
268
+ ## [20.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.4...@bitgo/sdk-coin-ethw@20.0.5) (2024-04-12)
269
+
270
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
271
+
272
+ ## [20.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.3...@bitgo/sdk-coin-ethw@20.0.4) (2024-04-10)
273
+
274
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
275
+
276
+ ## [20.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.2...@bitgo/sdk-coin-ethw@20.0.3) (2024-04-09)
277
+
278
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
279
+
280
+ ## [20.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.1...@bitgo/sdk-coin-ethw@20.0.2) (2024-04-08)
281
+
282
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
283
+
284
+ ## [20.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.0...@bitgo/sdk-coin-ethw@20.0.1) (2024-04-05)
285
+
286
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
287
+
288
+ # [20.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@19.0.4...@bitgo/sdk-coin-ethw@20.0.0) (2024-03-28)
289
+
290
+ ### Features
291
+
292
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
293
+
294
+ ### BREAKING CHANGES
295
+
296
+ - **root:** Node 16 is no longer supported in bitgojs.
297
+ TICKET: WP-1100
298
+
299
+ ## [19.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@19.0.3...@bitgo/sdk-coin-ethw@19.0.4) (2024-03-19)
300
+
301
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
302
+
303
+ ## [19.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@19.0.2...@bitgo/sdk-coin-ethw@19.0.3) (2024-03-11)
304
+
305
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
306
+
307
+ ## [19.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@19.0.1...@bitgo/sdk-coin-ethw@19.0.2) (2024-02-28)
308
+
309
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
310
+
311
+ ## [19.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@19.0.0...@bitgo/sdk-coin-ethw@19.0.1) (2024-02-22)
312
+
313
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
314
+
315
+ # [19.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@19.0.0) (2024-02-19)
316
+
317
+ ### Bug Fixes
318
+
319
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
320
+
321
+ ### Code Refactoring
322
+
323
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
324
+
325
+ ### BREAKING CHANGES
326
+
327
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
328
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
329
+ getCustomChainName method is removed from Polygon class because a common
330
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
331
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
332
+ and needs to be passed to derive the Eth common object from the chainId.
333
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
334
+ it can be used for other EthLike coins. getBaseFactor method in Eth
335
+ and Polygon class returns number instead of string just to align with
336
+ AbstractEthLikeCoin
337
+ Ticket: WIN-1012
338
+
339
+ # [18.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@18.0.0) (2024-01-30)
340
+
341
+ ### Bug Fixes
342
+
343
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
344
+
345
+ ### Code Refactoring
346
+
347
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
348
+
349
+ ### BREAKING CHANGES
350
+
351
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
352
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
353
+ getCustomChainName method is removed from Polygon class because a common
354
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
355
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
356
+ and needs to be passed to derive the Eth common object from the chainId.
357
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
358
+ it can be used for other EthLike coins. getBaseFactor method in Eth
359
+ and Polygon class returns number instead of string just to align with
360
+ AbstractEthLikeCoin
361
+ Ticket: WIN-1012
362
+
363
+ # [17.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@17.0.0) (2024-01-26)
364
+
365
+ ### Bug Fixes
366
+
367
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
368
+
369
+ ### Code Refactoring
370
+
371
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
372
+
373
+ ### BREAKING CHANGES
374
+
375
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
376
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
377
+ getCustomChainName method is removed from Polygon class because a common
378
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
379
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
380
+ and needs to be passed to derive the Eth common object from the chainId.
381
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
382
+ it can be used for other EthLike coins. getBaseFactor method in Eth
383
+ and Polygon class returns number instead of string just to align with
384
+ AbstractEthLikeCoin
385
+ Ticket: WIN-1012
386
+
387
+ # [16.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@16.0.0) (2024-01-26)
388
+
389
+ ### Bug Fixes
390
+
391
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
392
+
393
+ ### Code Refactoring
394
+
395
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
396
+
397
+ ### BREAKING CHANGES
398
+
399
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
400
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
401
+ getCustomChainName method is removed from Polygon class because a common
402
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
403
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
404
+ and needs to be passed to derive the Eth common object from the chainId.
405
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
406
+ it can be used for other EthLike coins. getBaseFactor method in Eth
407
+ and Polygon class returns number instead of string just to align with
408
+ AbstractEthLikeCoin
409
+ Ticket: WIN-1012
410
+
411
+ # [15.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@15.0.0) (2024-01-25)
412
+
413
+ ### Bug Fixes
414
+
415
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
416
+
417
+ ### Code Refactoring
418
+
419
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
420
+
421
+ ### BREAKING CHANGES
422
+
423
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
424
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
425
+ getCustomChainName method is removed from Polygon class because a common
426
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
427
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
428
+ and needs to be passed to derive the Eth common object from the chainId.
429
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
430
+ it can be used for other EthLike coins. getBaseFactor method in Eth
431
+ and Polygon class returns number instead of string just to align with
432
+ AbstractEthLikeCoin
433
+ Ticket: WIN-1012
434
+
435
+ # [14.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@14.0.0) (2024-01-22)
436
+
437
+ ### Bug Fixes
438
+
439
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
440
+
441
+ ### Code Refactoring
442
+
443
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
444
+
445
+ ### BREAKING CHANGES
446
+
447
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
448
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
449
+ getCustomChainName method is removed from Polygon class because a common
450
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
451
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
452
+ and needs to be passed to derive the Eth common object from the chainId.
453
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
454
+ it can be used for other EthLike coins. getBaseFactor method in Eth
455
+ and Polygon class returns number instead of string just to align with
456
+ AbstractEthLikeCoin
457
+ Ticket: WIN-1012
458
+
459
+ # [13.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@13.0.0) (2024-01-09)
460
+
461
+ ### Bug Fixes
462
+
463
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
464
+
465
+ ### Code Refactoring
466
+
467
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
468
+
469
+ ### BREAKING CHANGES
470
+
471
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
472
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
473
+ getCustomChainName method is removed from Polygon class because a common
474
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
475
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
476
+ and needs to be passed to derive the Eth common object from the chainId.
477
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
478
+ it can be used for other EthLike coins. getBaseFactor method in Eth
479
+ and Polygon class returns number instead of string just to align with
480
+ AbstractEthLikeCoin
481
+ Ticket: WIN-1012
482
+
483
+ # [12.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@12.0.0) (2024-01-03)
484
+
485
+ ### Bug Fixes
486
+
487
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
488
+
489
+ ### Code Refactoring
490
+
491
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
492
+
493
+ ### BREAKING CHANGES
494
+
495
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
496
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
497
+ getCustomChainName method is removed from Polygon class because a common
498
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
499
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
500
+ and needs to be passed to derive the Eth common object from the chainId.
501
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
502
+ it can be used for other EthLike coins. getBaseFactor method in Eth
503
+ and Polygon class returns number instead of string just to align with
504
+ AbstractEthLikeCoin
505
+ Ticket: WIN-1012
506
+
507
+ # [11.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@11.0.0) (2023-12-18)
508
+
509
+ ### Bug Fixes
510
+
511
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
512
+
513
+ ### Code Refactoring
514
+
515
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
516
+
517
+ ### BREAKING CHANGES
518
+
519
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
520
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
521
+ getCustomChainName method is removed from Polygon class because a common
522
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
523
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
524
+ and needs to be passed to derive the Eth common object from the chainId.
525
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
526
+ it can be used for other EthLike coins. getBaseFactor method in Eth
527
+ and Polygon class returns number instead of string just to align with
528
+ AbstractEthLikeCoin
529
+ Ticket: WIN-1012
530
+
531
+ # [10.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@10.0.0) (2023-12-12)
532
+
533
+ ### Bug Fixes
534
+
535
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
536
+
537
+ ### Code Refactoring
538
+
539
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
540
+
541
+ ### BREAKING CHANGES
542
+
543
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
544
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
545
+ getCustomChainName method is removed from Polygon class because a common
546
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
547
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
548
+ and needs to be passed to derive the Eth common object from the chainId.
549
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
550
+ it can be used for other EthLike coins. getBaseFactor method in Eth
551
+ and Polygon class returns number instead of string just to align with
552
+ AbstractEthLikeCoin
553
+ Ticket: WIN-1012
554
+
555
+ # [9.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@9.0.0) (2023-12-09)
556
+
557
+ ### Bug Fixes
558
+
559
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
560
+
561
+ ### Code Refactoring
562
+
563
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
564
+
565
+ ### BREAKING CHANGES
566
+
567
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
568
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
569
+ getCustomChainName method is removed from Polygon class because a common
570
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
571
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
572
+ and needs to be passed to derive the Eth common object from the chainId.
573
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
574
+ it can be used for other EthLike coins. getBaseFactor method in Eth
575
+ and Polygon class returns number instead of string just to align with
576
+ AbstractEthLikeCoin
577
+ Ticket: WIN-1012
578
+
579
+ # [8.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@8.0.0) (2023-12-05)
580
+
581
+ ### Bug Fixes
582
+
583
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
584
+
585
+ ### Code Refactoring
586
+
587
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
588
+
589
+ ### BREAKING CHANGES
590
+
591
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
592
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
593
+ getCustomChainName method is removed from Polygon class because a common
594
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
595
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
596
+ and needs to be passed to derive the Eth common object from the chainId.
597
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
598
+ it can be used for other EthLike coins. getBaseFactor method in Eth
599
+ and Polygon class returns number instead of string just to align with
600
+ AbstractEthLikeCoin
601
+ Ticket: WIN-1012
602
+
603
+ # [7.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@7.0.0) (2023-11-28)
604
+
605
+ ### Bug Fixes
606
+
607
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
608
+
609
+ ### Code Refactoring
610
+
611
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
612
+
613
+ ### BREAKING CHANGES
614
+
615
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
616
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
617
+ getCustomChainName method is removed from Polygon class because a common
618
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
619
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
620
+ and needs to be passed to derive the Eth common object from the chainId.
621
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
622
+ it can be used for other EthLike coins. getBaseFactor method in Eth
623
+ and Polygon class returns number instead of string just to align with
624
+ AbstractEthLikeCoin
625
+ Ticket: WIN-1012
626
+
627
+ # [6.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@6.0.0) (2023-11-24)
628
+
629
+ ### Bug Fixes
630
+
631
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
632
+
633
+ ### Code Refactoring
634
+
635
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
636
+
637
+ ### BREAKING CHANGES
638
+
639
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
640
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
641
+ getCustomChainName method is removed from Polygon class because a common
642
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
643
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
644
+ and needs to be passed to derive the Eth common object from the chainId.
645
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
646
+ it can be used for other EthLike coins. getBaseFactor method in Eth
647
+ and Polygon class returns number instead of string just to align with
648
+ AbstractEthLikeCoin
649
+ Ticket: WIN-1012
650
+
651
+ # [5.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@5.0.0) (2023-11-17)
652
+
653
+ ### Bug Fixes
654
+
655
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
656
+
657
+ ### Code Refactoring
658
+
659
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
660
+
661
+ ### BREAKING CHANGES
662
+
663
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
664
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
665
+ getCustomChainName method is removed from Polygon class because a common
666
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
667
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
668
+ and needs to be passed to derive the Eth common object from the chainId.
669
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
670
+ it can be used for other EthLike coins. getBaseFactor method in Eth
671
+ and Polygon class returns number instead of string just to align with
672
+ AbstractEthLikeCoin
673
+ Ticket: WIN-1012
674
+
675
+ # [4.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@4.0.0) (2023-11-13)
676
+
677
+ ### Bug Fixes
678
+
679
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
680
+
681
+ ### Code Refactoring
682
+
683
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
684
+
685
+ ### BREAKING CHANGES
686
+
687
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
688
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
689
+ getCustomChainName method is removed from Polygon class because a common
690
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
691
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
692
+ and needs to be passed to derive the Eth common object from the chainId.
693
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
694
+ it can be used for other EthLike coins. getBaseFactor method in Eth
695
+ and Polygon class returns number instead of string just to align with
696
+ AbstractEthLikeCoin
697
+ Ticket: WIN-1012
698
+
699
+ # [3.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@3.0.0) (2023-11-13)
700
+
701
+ ### Bug Fixes
702
+
703
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
704
+
705
+ ### Code Refactoring
706
+
707
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
708
+
709
+ ### BREAKING CHANGES
710
+
711
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
712
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
713
+ getCustomChainName method is removed from Polygon class because a common
714
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
715
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
716
+ and needs to be passed to derive the Eth common object from the chainId.
717
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
718
+ it can be used for other EthLike coins. getBaseFactor method in Eth
719
+ and Polygon class returns number instead of string just to align with
720
+ AbstractEthLikeCoin
721
+ Ticket: WIN-1012
722
+
723
+ # [2.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@2.0.0) (2023-11-13)
724
+
725
+ ### Bug Fixes
726
+
727
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
728
+
729
+ ### Code Refactoring
730
+
731
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
732
+
733
+ ### BREAKING CHANGES
734
+
735
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
736
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
737
+ getCustomChainName method is removed from Polygon class because a common
738
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
739
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
740
+ and needs to be passed to derive the Eth common object from the chainId.
741
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
742
+ it can be used for other EthLike coins. getBaseFactor method in Eth
743
+ and Polygon class returns number instead of string just to align with
744
+ AbstractEthLikeCoin
745
+ Ticket: WIN-1012
746
+
747
+ ## [1.5.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.13) (2023-10-20)
748
+
749
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
750
+
751
+ ## [1.5.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.12) (2023-10-18)
752
+
753
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
754
+
755
+ ## [1.5.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.11) (2023-09-25)
756
+
757
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
758
+
759
+ ## [1.5.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.10) (2023-09-09)
760
+
761
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
762
+
763
+ ## [1.5.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.9) (2023-09-09)
764
+
765
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
766
+
767
+ ## [1.5.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.8) (2023-09-07)
768
+
769
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
770
+
771
+ ## [1.5.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.7) (2023-09-05)
772
+
773
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
774
+
775
+ ## [1.5.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.6) (2023-09-01)
776
+
777
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
778
+
779
+ ## [1.5.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.5) (2023-08-29)
780
+
781
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
782
+
783
+ ## [1.5.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.4) (2023-08-25)
784
+
785
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
786
+
787
+ ## [1.5.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.3) (2023-08-24)
788
+
789
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
790
+
791
+ ## [1.5.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.2) (2023-08-16)
792
+
793
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
794
+
795
+ ## [1.5.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@1.5.1) (2023-08-16)
796
+
797
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
798
+
799
+ # [1.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.28...@bitgo/sdk-coin-ethw@1.5.0) (2023-08-04)
800
+
801
+ ### Features
802
+
803
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
804
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
805
+
806
+ # [1.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.28...@bitgo/sdk-coin-ethw@1.4.0) (2023-07-28)
807
+
808
+ ### Features
809
+
810
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
811
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
812
+
813
+ ## [1.3.28](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.27...@bitgo/sdk-coin-ethw@1.3.28) (2023-07-18)
814
+
815
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
816
+
817
+ ## [1.3.27](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.26...@bitgo/sdk-coin-ethw@1.3.27) (2023-06-21)
818
+
819
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
820
+
821
+ ## [1.3.26](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.25...@bitgo/sdk-coin-ethw@1.3.26) (2023-06-14)
822
+
823
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
824
+
825
+ ## [1.3.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.24...@bitgo/sdk-coin-ethw@1.3.25) (2023-06-13)
826
+
827
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
828
+
829
+ ## [1.3.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.23...@bitgo/sdk-coin-ethw@1.3.24) (2023-06-07)
830
+
831
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
832
+
833
+ ## [1.3.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.22...@bitgo/sdk-coin-ethw@1.3.23) (2023-06-05)
834
+
835
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
836
+
837
+ ## [1.3.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.21...@bitgo/sdk-coin-ethw@1.3.22) (2023-05-25)
838
+
839
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
840
+
841
+ ## [1.3.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.20...@bitgo/sdk-coin-ethw@1.3.21) (2023-05-17)
842
+
843
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
844
+
845
+ ## [1.3.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.19...@bitgo/sdk-coin-ethw@1.3.20) (2023-05-10)
846
+
847
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
848
+
849
+ ## [1.3.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.18...@bitgo/sdk-coin-ethw@1.3.19) (2023-05-03)
850
+
851
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
852
+
853
+ ## [1.3.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.17...@bitgo/sdk-coin-ethw@1.3.18) (2023-04-25)
854
+
855
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
856
+
857
+ ## [1.3.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.16...@bitgo/sdk-coin-ethw@1.3.17) (2023-04-20)
858
+
859
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
860
+
861
+ ## [1.3.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.15...@bitgo/sdk-coin-ethw@1.3.16) (2023-04-13)
862
+
863
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
864
+
6
865
  ## [1.3.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.14...@bitgo/sdk-coin-ethw@1.3.15) (2023-02-17)
7
866
 
8
867
  **Note:** Version bump only for package @bitgo/sdk-coin-ethw
@@ -1,11 +1,8 @@
1
- /// <reference types="node" />
2
- /// <reference types="bn.js" />
3
1
  import { BN } from 'ethereumjs-util';
4
- import { BaseCoin, BitGoBase, KeyPair, ParsedTransaction, ParseTransactionOptions, TransactionExplanation, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
2
+ import { BaseCoin, BitGoBase, KeyPair, ParsedTransaction, ParseTransactionOptions, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
5
3
  import { BaseCoin as StaticsBaseCoin } from '@bitgo-beta/statics';
6
4
  import { Eth, TransactionBuilder } from '@bitgo-beta/sdk-coin-eth';
7
- import { ExplainTransactionOptions } from '@bitgo-beta/abstract-eth';
8
- declare type FullNodeResponseBody = {
5
+ type FullNodeResponseBody = {
9
6
  jsonrpc: string;
10
7
  id: string;
11
8
  result?: string;
@@ -17,9 +14,6 @@ declare type FullNodeResponseBody = {
17
14
  export declare class Ethw extends Eth {
18
15
  protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
19
16
  static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
20
- getChain(): string;
21
- getFamily(): string;
22
- getFullName(): string;
23
17
  verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
24
18
  isWalletAddress(params: VerifyAddressOptions): Promise<boolean>;
25
19
  parseTransaction(params: ParseTransactionOptions): Promise<ParsedTransaction>;
@@ -49,11 +43,6 @@ export declare class Ethw extends Eth {
49
43
  * @returns {Promise<FullNodeResponseBody>} response from full node
50
44
  */
51
45
  recoveryFullNodeRPCQuery(method: string, params: Array<unknown>): Promise<FullNodeResponseBody>;
52
- /**
53
- * Explain a transaction from txHex
54
- * @param params The options with which to explain the transaction
55
- */
56
- explainTransaction(params: ExplainTransactionOptions): Promise<TransactionExplanation>;
57
46
  /**
58
47
  * Create a new transaction builder for the current chain
59
48
  * @return a new transaction builder
@@ -1 +1 @@
1
- {"version":3,"file":"ethw.d.ts","sourceRoot":"","sources":["../../src/ethw.ts"],"names":[],"mappings":";;AAEA,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,OAAO,EACL,QAAQ,EACR,SAAS,EAET,OAAO,EACP,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,wBAAwB,EACzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAS,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,GAAG,EAAgB,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;A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AAG,OAAO;IAInD;;;;OAIG;IACG,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,EAAE,CAAC;IASvD;;;;OAIG;IACG,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAiBvD;;;;OAIG;IACG,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAQvD;;;;;OAKG;IACG,wBAAwB,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAkBrG;;;OAGG;IACH,SAAS,CAAC,qBAAqB,IAAI,kBAAkB;CAGtD"}
package/dist/src/ethw.js CHANGED
@@ -5,26 +5,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Ethw = void 0;
7
7
  const superagent_1 = __importDefault(require("superagent"));
8
- const bignumber_js_1 = __importDefault(require("bignumber.js"));
9
8
  const sdk_core_1 = require("@bitgo-beta/sdk-core");
10
9
  const statics_1 = require("@bitgo-beta/statics");
11
10
  const sdk_coin_eth_1 = require("@bitgo-beta/sdk-coin-eth");
12
11
  class Ethw extends sdk_coin_eth_1.Eth {
13
12
  constructor(bitgo, staticsCoin) {
14
- super(bitgo);
13
+ super(bitgo, staticsCoin);
15
14
  }
16
15
  static createInstance(bitgo, staticsCoin) {
17
16
  return new Ethw(bitgo, staticsCoin);
18
17
  }
19
- getChain() {
20
- return 'ethw';
21
- }
22
- getFamily() {
23
- return 'eth';
24
- }
25
- getFullName() {
26
- return 'Ethereum PoW';
27
- }
28
18
  verifyTransaction(params) {
29
19
  throw new Error('Method not implemented.');
30
20
  }
@@ -104,37 +94,6 @@ class Ethw extends sdk_coin_eth_1.Eth {
104
94
  }
105
95
  return response.body;
106
96
  }
107
- /**
108
- * Explain a transaction from txHex
109
- * @param params The options with which to explain the transaction
110
- */
111
- async explainTransaction(params) {
112
- const txHex = params.txHex || (params.halfSigned && params.halfSigned.txHex);
113
- if (!txHex || !params.feeInfo) {
114
- throw new Error('missing explain tx parameters');
115
- }
116
- const txBuilder = this.getTransactionBuilder();
117
- txBuilder.from(txHex);
118
- const tx = await txBuilder.build();
119
- const outputs = tx.outputs.map((output) => {
120
- return {
121
- address: output.address,
122
- amount: output.value,
123
- };
124
- });
125
- const displayOrder = ['id', 'outputAmount', 'changeAmount', 'outputs', 'changeOutputs', 'fee'];
126
- return {
127
- displayOrder,
128
- id: tx.id,
129
- outputs: outputs,
130
- outputAmount: outputs
131
- .reduce((accumulator, output) => accumulator.plus(output.amount), new bignumber_js_1.default('0'))
132
- .toFixed(0),
133
- changeOutputs: [],
134
- changeAmount: '0',
135
- fee: params.feeInfo,
136
- };
137
- }
138
97
  /**
139
98
  * Create a new transaction builder for the current chain
140
99
  * @return a new transaction builder
@@ -144,4 +103,4 @@ class Ethw extends sdk_coin_eth_1.Eth {
144
103
  }
145
104
  }
146
105
  exports.Ethw = Ethw;
147
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXRody5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ldGh3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDREQUFpQztBQUNqQyxnRUFBcUM7QUFHckMsbURBVThCO0FBQzlCLGlEQUF5RTtBQUN6RSwyREFBaUY7QUFhakYsTUFBYSxJQUFLLFNBQVEsa0JBQUc7SUFDM0IsWUFBc0IsS0FBZ0IsRUFBRSxXQUF1QztRQUM3RSxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDZixDQUFDO0lBRUQsTUFBTSxDQUFDLGNBQWMsQ0FBQyxLQUFnQixFQUFFLFdBQXVDO1FBQzdFLE9BQU8sSUFBSSxJQUFJLENBQUMsS0FBSyxFQUFFLFdBQVcsQ0F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c3NhZ2V9YCk7XG4gICAgfVxuICAgIHJldHVybiByZXNwb25zZS5ib2R5O1xuICB9XG5cbiAgLyoqXG4gICAqIENyZWF0ZSBhIG5ldyB0cmFuc2FjdGlvbiBidWlsZGVyIGZvciB0aGUgY3VycmVudCBjaGFpblxuICAgKiBAcmV0dXJuIGEgbmV3IHRyYW5zYWN0aW9uIGJ1aWxkZXJcbiAgICovXG4gIHByb3RlY3RlZCBnZXRUcmFuc2FjdGlvbkJ1aWxkZXIoKTogVHJhbnNhY3Rpb25CdWlsZGVyIHtcbiAgICByZXR1cm4gbmV3IFRyYW5zYWN0aW9uQnVpbGRlcihjb2lucy5nZXQodGhpcy5nZXRDaGFpbigpKSk7XG4gIH1cbn1cbiJdfQ==
package/dist/src/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -12,4 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
16
  Object.defineProperty(exports, "__esModule", { value: true });
13
17
  __exportStar(require("./ethw"), exports);
14
18
  __exportStar(require("./register"), exports);
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEseUNBQXVCO0FBQ3ZCLDZDQUEyQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZXRodyc7XG5leHBvcnQgKiBmcm9tICcuL3JlZ2lzdGVyJztcbiJdfQ==
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHlDQUF1QjtBQUN2Qiw2Q0FBMkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2V0aHcnO1xuZXhwb3J0ICogZnJvbSAnLi9yZWdpc3Rlcic7XG4iXX0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-ethw",
3
- "version": "1.3.3-alpha.28",
3
+ "version": "1.3.3-alpha.281",
4
4
  "description": "BitGo SDK coin library for Ethereum pow",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "author": "BitGo SDK Team <sdkteam@bitgo.com>",
19
19
  "license": "MIT",
20
20
  "engines": {
21
- "node": ">=14 <17"
21
+ "node": ">=18 <21"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -40,17 +40,15 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo-beta/abstract-eth": "1.2.3-alpha.29",
44
- "@bitgo-beta/sdk-coin-eth": "2.4.1-alpha.29",
45
- "@bitgo-beta/sdk-core": "2.4.1-alpha.29",
46
- "@bitgo-beta/statics": "10.0.1-alpha.29",
47
- "bignumber.js": "^9.0.0",
43
+ "@bitgo-beta/sdk-coin-eth": "2.4.1-alpha.284",
44
+ "@bitgo-beta/sdk-core": "2.4.1-alpha.286",
45
+ "@bitgo-beta/statics": "10.0.1-alpha.286",
48
46
  "ethereumjs-util": "7.1.5",
49
- "superagent": "^3.8.3"
47
+ "superagent": "^9.0.1"
50
48
  },
51
49
  "devDependencies": {
52
- "@bitgo-beta/sdk-api": "1.6.1-alpha.29",
53
- "@bitgo-beta/sdk-test": "^1.2.15"
50
+ "@bitgo-beta/sdk-api": "1.6.1-alpha.286",
51
+ "@bitgo-beta/sdk-test": "^8.0.75"
54
52
  },
55
- "gitHead": "3260f95812e119fb38a187de8263e678de3c514e"
53
+ "gitHead": "1fbc3e136a340aba3e587c812623d576f967d4b8"
56
54
  }