@bitgo-beta/sdk-coin-ethw 1.0.1-beta.8 → 1.0.1-beta.800

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 ADDED
@@ -0,0 +1,845 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [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)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
9
+
10
+ ## [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)
11
+
12
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
13
+
14
+ ## [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)
15
+
16
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
17
+
18
+ ## [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)
19
+
20
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
21
+
22
+ ## [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)
23
+
24
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
25
+
26
+ ## [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)
27
+
28
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
29
+
30
+ ## [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)
31
+
32
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
33
+
34
+ ## [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)
35
+
36
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
37
+
38
+ ## [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)
39
+
40
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
41
+
42
+ ## [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)
43
+
44
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
45
+
46
+ ## [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)
47
+
48
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
49
+
50
+ ## [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)
51
+
52
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
53
+
54
+ ## [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)
55
+
56
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
57
+
58
+ ## [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)
59
+
60
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
61
+
62
+ ## [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)
63
+
64
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
65
+
66
+ ## [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)
67
+
68
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
69
+
70
+ ## [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)
71
+
72
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
73
+
74
+ ## [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)
75
+
76
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
77
+
78
+ ## [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)
79
+
80
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
81
+
82
+ ## [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)
83
+
84
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
85
+
86
+ ## [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)
87
+
88
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
89
+
90
+ ## [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)
91
+
92
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
93
+
94
+ ## [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)
95
+
96
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
97
+
98
+ ## [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)
99
+
100
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
101
+
102
+ ## [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)
103
+
104
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
105
+
106
+ ## [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)
107
+
108
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
109
+
110
+ ## [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)
111
+
112
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
113
+
114
+ ## [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)
115
+
116
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
117
+
118
+ ## [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)
119
+
120
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
121
+
122
+ ## [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)
123
+
124
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
125
+
126
+ ## [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)
127
+
128
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
129
+
130
+ ## [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)
131
+
132
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
133
+
134
+ ## [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)
135
+
136
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
137
+
138
+ ## [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)
139
+
140
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
141
+
142
+ ## [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)
143
+
144
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
145
+
146
+ ## [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)
147
+
148
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
149
+
150
+ ## [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)
151
+
152
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
153
+
154
+ ## [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)
155
+
156
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
157
+
158
+ ## [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)
159
+
160
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
161
+
162
+ ## [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)
163
+
164
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
165
+
166
+ ## [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)
167
+
168
+ ### Bug Fixes
169
+
170
+ - superagent upgrade to 9.0 ([6e9aa43](https://github.com/BitGo/BitGoJS/commit/6e9aa43a6d2999298abd450ceb168d664b8b926d))
171
+
172
+ ## [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)
173
+
174
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
175
+
176
+ ## [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)
177
+
178
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
179
+
180
+ ## [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)
181
+
182
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
183
+
184
+ ## [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)
185
+
186
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
187
+
188
+ ## [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)
189
+
190
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
191
+
192
+ ## [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)
193
+
194
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
195
+
196
+ ## [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)
197
+
198
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
199
+
200
+ # [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)
201
+
202
+ ### Features
203
+
204
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
205
+
206
+ ### BREAKING CHANGES
207
+
208
+ - **root:** Node 16 is no longer supported in bitgojs.
209
+ TICKET: WP-1100
210
+
211
+ ## [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)
212
+
213
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
214
+
215
+ ## [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)
216
+
217
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
218
+
219
+ ## [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)
220
+
221
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
222
+
223
+ ## [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)
224
+
225
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
226
+
227
+ # [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)
228
+
229
+ ### Bug Fixes
230
+
231
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
232
+
233
+ ### Code Refactoring
234
+
235
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
236
+
237
+ ### BREAKING CHANGES
238
+
239
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
240
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
241
+ getCustomChainName method is removed from Polygon class because a common
242
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
243
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
244
+ and needs to be passed to derive the Eth common object from the chainId.
245
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
246
+ it can be used for other EthLike coins. getBaseFactor method in Eth
247
+ and Polygon class returns number instead of string just to align with
248
+ AbstractEthLikeCoin
249
+ Ticket: WIN-1012
250
+
251
+ # [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)
252
+
253
+ ### Bug Fixes
254
+
255
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
256
+
257
+ ### Code Refactoring
258
+
259
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
260
+
261
+ ### BREAKING CHANGES
262
+
263
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
264
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
265
+ getCustomChainName method is removed from Polygon class because a common
266
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
267
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
268
+ and needs to be passed to derive the Eth common object from the chainId.
269
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
270
+ it can be used for other EthLike coins. getBaseFactor method in Eth
271
+ and Polygon class returns number instead of string just to align with
272
+ AbstractEthLikeCoin
273
+ Ticket: WIN-1012
274
+
275
+ # [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)
276
+
277
+ ### Bug Fixes
278
+
279
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
280
+
281
+ ### Code Refactoring
282
+
283
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
284
+
285
+ ### BREAKING CHANGES
286
+
287
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
288
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
289
+ getCustomChainName method is removed from Polygon class because a common
290
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
291
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
292
+ and needs to be passed to derive the Eth common object from the chainId.
293
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
294
+ it can be used for other EthLike coins. getBaseFactor method in Eth
295
+ and Polygon class returns number instead of string just to align with
296
+ AbstractEthLikeCoin
297
+ Ticket: WIN-1012
298
+
299
+ # [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)
300
+
301
+ ### Bug Fixes
302
+
303
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
304
+
305
+ ### Code Refactoring
306
+
307
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
308
+
309
+ ### BREAKING CHANGES
310
+
311
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
312
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
313
+ getCustomChainName method is removed from Polygon class because a common
314
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
315
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
316
+ and needs to be passed to derive the Eth common object from the chainId.
317
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
318
+ it can be used for other EthLike coins. getBaseFactor method in Eth
319
+ and Polygon class returns number instead of string just to align with
320
+ AbstractEthLikeCoin
321
+ Ticket: WIN-1012
322
+
323
+ # [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)
324
+
325
+ ### Bug Fixes
326
+
327
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
328
+
329
+ ### Code Refactoring
330
+
331
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
332
+
333
+ ### BREAKING CHANGES
334
+
335
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
336
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
337
+ getCustomChainName method is removed from Polygon class because a common
338
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
339
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
340
+ and needs to be passed to derive the Eth common object from the chainId.
341
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
342
+ it can be used for other EthLike coins. getBaseFactor method in Eth
343
+ and Polygon class returns number instead of string just to align with
344
+ AbstractEthLikeCoin
345
+ Ticket: WIN-1012
346
+
347
+ # [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)
348
+
349
+ ### Bug Fixes
350
+
351
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
352
+
353
+ ### Code Refactoring
354
+
355
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
356
+
357
+ ### BREAKING CHANGES
358
+
359
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
360
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
361
+ getCustomChainName method is removed from Polygon class because a common
362
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
363
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
364
+ and needs to be passed to derive the Eth common object from the chainId.
365
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
366
+ it can be used for other EthLike coins. getBaseFactor method in Eth
367
+ and Polygon class returns number instead of string just to align with
368
+ AbstractEthLikeCoin
369
+ Ticket: WIN-1012
370
+
371
+ # [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)
372
+
373
+ ### Bug Fixes
374
+
375
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
376
+
377
+ ### Code Refactoring
378
+
379
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
380
+
381
+ ### BREAKING CHANGES
382
+
383
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
384
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
385
+ getCustomChainName method is removed from Polygon class because a common
386
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
387
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
388
+ and needs to be passed to derive the Eth common object from the chainId.
389
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
390
+ it can be used for other EthLike coins. getBaseFactor method in Eth
391
+ and Polygon class returns number instead of string just to align with
392
+ AbstractEthLikeCoin
393
+ Ticket: WIN-1012
394
+
395
+ # [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)
396
+
397
+ ### Bug Fixes
398
+
399
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
400
+
401
+ ### Code Refactoring
402
+
403
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
404
+
405
+ ### BREAKING CHANGES
406
+
407
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
408
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
409
+ getCustomChainName method is removed from Polygon class because a common
410
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
411
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
412
+ and needs to be passed to derive the Eth common object from the chainId.
413
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
414
+ it can be used for other EthLike coins. getBaseFactor method in Eth
415
+ and Polygon class returns number instead of string just to align with
416
+ AbstractEthLikeCoin
417
+ Ticket: WIN-1012
418
+
419
+ # [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)
420
+
421
+ ### Bug Fixes
422
+
423
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
424
+
425
+ ### Code Refactoring
426
+
427
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
428
+
429
+ ### BREAKING CHANGES
430
+
431
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
432
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
433
+ getCustomChainName method is removed from Polygon class because a common
434
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
435
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
436
+ and needs to be passed to derive the Eth common object from the chainId.
437
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
438
+ it can be used for other EthLike coins. getBaseFactor method in Eth
439
+ and Polygon class returns number instead of string just to align with
440
+ AbstractEthLikeCoin
441
+ Ticket: WIN-1012
442
+
443
+ # [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)
444
+
445
+ ### Bug Fixes
446
+
447
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
448
+
449
+ ### Code Refactoring
450
+
451
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
452
+
453
+ ### BREAKING CHANGES
454
+
455
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
456
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
457
+ getCustomChainName method is removed from Polygon class because a common
458
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
459
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
460
+ and needs to be passed to derive the Eth common object from the chainId.
461
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
462
+ it can be used for other EthLike coins. getBaseFactor method in Eth
463
+ and Polygon class returns number instead of string just to align with
464
+ AbstractEthLikeCoin
465
+ Ticket: WIN-1012
466
+
467
+ # [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)
468
+
469
+ ### Bug Fixes
470
+
471
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
472
+
473
+ ### Code Refactoring
474
+
475
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
476
+
477
+ ### BREAKING CHANGES
478
+
479
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
480
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
481
+ getCustomChainName method is removed from Polygon class because a common
482
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
483
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
484
+ and needs to be passed to derive the Eth common object from the chainId.
485
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
486
+ it can be used for other EthLike coins. getBaseFactor method in Eth
487
+ and Polygon class returns number instead of string just to align with
488
+ AbstractEthLikeCoin
489
+ Ticket: WIN-1012
490
+
491
+ # [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)
492
+
493
+ ### Bug Fixes
494
+
495
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
496
+
497
+ ### Code Refactoring
498
+
499
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
500
+
501
+ ### BREAKING CHANGES
502
+
503
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
504
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
505
+ getCustomChainName method is removed from Polygon class because a common
506
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
507
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
508
+ and needs to be passed to derive the Eth common object from the chainId.
509
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
510
+ it can be used for other EthLike coins. getBaseFactor method in Eth
511
+ and Polygon class returns number instead of string just to align with
512
+ AbstractEthLikeCoin
513
+ Ticket: WIN-1012
514
+
515
+ # [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)
516
+
517
+ ### Bug Fixes
518
+
519
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
520
+
521
+ ### Code Refactoring
522
+
523
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
524
+
525
+ ### BREAKING CHANGES
526
+
527
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
528
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
529
+ getCustomChainName method is removed from Polygon class because a common
530
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
531
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
532
+ and needs to be passed to derive the Eth common object from the chainId.
533
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
534
+ it can be used for other EthLike coins. getBaseFactor method in Eth
535
+ and Polygon class returns number instead of string just to align with
536
+ AbstractEthLikeCoin
537
+ Ticket: WIN-1012
538
+
539
+ # [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)
540
+
541
+ ### Bug Fixes
542
+
543
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
544
+
545
+ ### Code Refactoring
546
+
547
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
548
+
549
+ ### BREAKING CHANGES
550
+
551
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
552
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
553
+ getCustomChainName method is removed from Polygon class because a common
554
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
555
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
556
+ and needs to be passed to derive the Eth common object from the chainId.
557
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
558
+ it can be used for other EthLike coins. getBaseFactor method in Eth
559
+ and Polygon class returns number instead of string just to align with
560
+ AbstractEthLikeCoin
561
+ Ticket: WIN-1012
562
+
563
+ # [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)
564
+
565
+ ### Bug Fixes
566
+
567
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
568
+
569
+ ### Code Refactoring
570
+
571
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
572
+
573
+ ### BREAKING CHANGES
574
+
575
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
576
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
577
+ getCustomChainName method is removed from Polygon class because a common
578
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
579
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
580
+ and needs to be passed to derive the Eth common object from the chainId.
581
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
582
+ it can be used for other EthLike coins. getBaseFactor method in Eth
583
+ and Polygon class returns number instead of string just to align with
584
+ AbstractEthLikeCoin
585
+ Ticket: WIN-1012
586
+
587
+ # [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)
588
+
589
+ ### Bug Fixes
590
+
591
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
592
+
593
+ ### Code Refactoring
594
+
595
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
596
+
597
+ ### BREAKING CHANGES
598
+
599
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
600
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
601
+ getCustomChainName method is removed from Polygon class because a common
602
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
603
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
604
+ and needs to be passed to derive the Eth common object from the chainId.
605
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
606
+ it can be used for other EthLike coins. getBaseFactor method in Eth
607
+ and Polygon class returns number instead of string just to align with
608
+ AbstractEthLikeCoin
609
+ Ticket: WIN-1012
610
+
611
+ # [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)
612
+
613
+ ### Bug Fixes
614
+
615
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
616
+
617
+ ### Code Refactoring
618
+
619
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
620
+
621
+ ### BREAKING CHANGES
622
+
623
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
624
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
625
+ getCustomChainName method is removed from Polygon class because a common
626
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
627
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
628
+ and needs to be passed to derive the Eth common object from the chainId.
629
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
630
+ it can be used for other EthLike coins. getBaseFactor method in Eth
631
+ and Polygon class returns number instead of string just to align with
632
+ AbstractEthLikeCoin
633
+ Ticket: WIN-1012
634
+
635
+ # [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)
636
+
637
+ ### Bug Fixes
638
+
639
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
640
+
641
+ ### Code Refactoring
642
+
643
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
644
+
645
+ ### BREAKING CHANGES
646
+
647
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
648
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
649
+ getCustomChainName method is removed from Polygon class because a common
650
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
651
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
652
+ and needs to be passed to derive the Eth common object from the chainId.
653
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
654
+ it can be used for other EthLike coins. getBaseFactor method in Eth
655
+ and Polygon class returns number instead of string just to align with
656
+ AbstractEthLikeCoin
657
+ Ticket: WIN-1012
658
+
659
+ ## [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)
660
+
661
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
662
+
663
+ ## [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)
664
+
665
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
666
+
667
+ ## [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)
668
+
669
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
670
+
671
+ ## [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)
672
+
673
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
674
+
675
+ ## [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)
676
+
677
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
678
+
679
+ ## [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)
680
+
681
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
682
+
683
+ ## [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)
684
+
685
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
686
+
687
+ ## [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)
688
+
689
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
690
+
691
+ ## [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)
692
+
693
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
694
+
695
+ ## [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)
696
+
697
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
698
+
699
+ ## [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)
700
+
701
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
702
+
703
+ ## [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)
704
+
705
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
706
+
707
+ ## [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)
708
+
709
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
710
+
711
+ # [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)
712
+
713
+ ### Features
714
+
715
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
716
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
717
+
718
+ # [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)
719
+
720
+ ### Features
721
+
722
+ - **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
723
+ - **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
724
+
725
+ ## [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)
726
+
727
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
728
+
729
+ ## [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)
730
+
731
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
732
+
733
+ ## [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)
734
+
735
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
736
+
737
+ ## [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)
738
+
739
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
740
+
741
+ ## [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)
742
+
743
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
744
+
745
+ ## [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)
746
+
747
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
748
+
749
+ ## [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)
750
+
751
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
752
+
753
+ ## [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)
754
+
755
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
756
+
757
+ ## [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)
758
+
759
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
760
+
761
+ ## [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)
762
+
763
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
764
+
765
+ ## [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)
766
+
767
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
768
+
769
+ ## [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)
770
+
771
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
772
+
773
+ ## [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)
774
+
775
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
776
+
777
+ ## [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)
778
+
779
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
780
+
781
+ ## [1.3.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.11...@bitgo/sdk-coin-ethw@1.3.14) (2023-02-16)
782
+
783
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
784
+
785
+ ## [1.3.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.11...@bitgo/sdk-coin-ethw@1.3.13) (2023-02-08)
786
+
787
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
788
+
789
+ ## [1.3.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.11...@bitgo/sdk-coin-ethw@1.3.12) (2023-01-30)
790
+
791
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
792
+
793
+ ## [1.3.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.10...@bitgo/sdk-coin-ethw@1.3.11) (2023-01-25)
794
+
795
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
796
+
797
+ ## [1.3.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.9...@bitgo/sdk-coin-ethw@1.3.10) (2022-12-23)
798
+
799
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
800
+
801
+ ## [1.3.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.8...@bitgo/sdk-coin-ethw@1.3.9) (2022-12-20)
802
+
803
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
804
+
805
+ ## [1.3.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.7...@bitgo/sdk-coin-ethw@1.3.8) (2022-12-09)
806
+
807
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
808
+
809
+ ## [1.3.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.6...@bitgo/sdk-coin-ethw@1.3.7) (2022-12-06)
810
+
811
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
812
+
813
+ ## [1.3.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.5...@bitgo/sdk-coin-ethw@1.3.6) (2022-12-01)
814
+
815
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
816
+
817
+ ## [1.3.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.0...@bitgo/sdk-coin-ethw@1.3.5) (2022-11-29)
818
+
819
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
820
+
821
+ ## [1.3.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.0...@bitgo/sdk-coin-ethw@1.3.4) (2022-11-04)
822
+
823
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
824
+
825
+ ## [1.3.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.0...@bitgo/sdk-coin-ethw@1.3.2) (2022-10-27)
826
+
827
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
828
+
829
+ ## [1.3.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.3.0...@bitgo/sdk-coin-ethw@1.3.1) (2022-10-25)
830
+
831
+ **Note:** Version bump only for package @bitgo/sdk-coin-ethw
832
+
833
+ # 1.3.0 (2022-10-18)
834
+
835
+ ### Bug Fixes
836
+
837
+ - **sdk-coin-eth:** create custom ETH common for unsupported chain ids ([9329162](https://github.com/BitGo/BitGoJS/commit/93291625150a0ae1f2f69432a3910845ee933e9d))
838
+ - signTransaction for ethw and change ethw family to eth ([8f3a127](https://github.com/BitGo/BitGoJS/commit/8f3a127fc183e7176d5275610dea34aae4815375))
839
+
840
+ ### Features
841
+
842
+ - **bitgo:** expose Ethw in core bitgo module ([183cda4](https://github.com/BitGo/BitGoJS/commit/183cda433f8c683722843e2c30bf46101a1cd677))
843
+ - **sdk-coin-ethw:** add ethw sdk module ([8121921](https://github.com/BitGo/BitGoJS/commit/812192168b07327458518ce438b6cdfd14db6a89))
844
+ - **sdk-coin-ethw:** add ethw sdk module ([63e9850](https://github.com/BitGo/BitGoJS/commit/63e9850c27039d1b614d14426a1d9b090d454b76))
845
+ - **sdk-coin-ethw:** use ETHw full node RPC queries to recover funds ([7db9bcd](https://github.com/BitGo/BitGoJS/commit/7db9bcd61549e4e96d8f745211717586eec4535c))
@@ -1,11 +1,11 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  /// <reference types="bn.js" />
3
4
  import { BN } from 'ethereumjs-util';
4
- import { BaseCoin, BitGoBase, KeyPair, ParsedTransaction, ParseTransactionOptions, TransactionExplanation, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
5
+ import { BaseCoin, BitGoBase, KeyPair, ParsedTransaction, ParseTransactionOptions, VerifyAddressOptions, VerifyTransactionOptions } from '@bitgo-beta/sdk-core';
5
6
  import { BaseCoin as StaticsBaseCoin } from '@bitgo-beta/statics';
6
7
  import { Eth, TransactionBuilder } from '@bitgo-beta/sdk-coin-eth';
7
- import { ExplainTransactionOptions } from '@bitgo-beta/abstract-eth';
8
- declare type FullNodeResponseBody = {
8
+ type FullNodeResponseBody = {
9
9
  jsonrpc: string;
10
10
  id: string;
11
11
  result?: string;
@@ -17,11 +17,8 @@ declare type FullNodeResponseBody = {
17
17
  export declare class Ethw extends Eth {
18
18
  protected constructor(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>);
19
19
  static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
20
- getChain(): string;
21
- getFamily(): string;
22
- getFullName(): string;
23
20
  verifyTransaction(params: VerifyTransactionOptions): Promise<boolean>;
24
- isWalletAddress(params: VerifyAddressOptions): boolean;
21
+ isWalletAddress(params: VerifyAddressOptions): Promise<boolean>;
25
22
  parseTransaction(params: ParseTransactionOptions): Promise<ParsedTransaction>;
26
23
  generateKeyPair(seed?: Buffer | undefined): KeyPair;
27
24
  /**
@@ -49,11 +46,6 @@ export declare class Ethw extends Eth {
49
46
  * @returns {Promise<FullNodeResponseBody>} response from full node
50
47
  */
51
48
  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
49
  /**
58
50
  * Create a new transaction builder for the current chain
59
51
  * @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;AAErE,aAAK,oBAAoB,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,qBAAa,IAAK,SAAQ,GAAG;IAC3B,SAAS,aAAa,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC;IAI/E,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,QAAQ;IAI1F,QAAQ,IAAI,MAAM;IAGlB,SAAS,IAAI,MAAM;IAGnB,WAAW,IAAI,MAAM;IAGrB,iBAAiB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,OAAO,CAAC;IAGrE,eAAe,CAAC,MAAM,E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ACN,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,qBAAa,IAAK,SAAQ,GAAG;IAC3B,SAAS,aAAa,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC;IAI/E,MAAM,CAAC,cAAc,CAAC,KAAK,EAAE,SAAS,EAAE,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,QAAQ;IAI1F,iBAAiB,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,OAAO,CAAC;IAG/D,eAAe,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC;IAGrE,gBAAgB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAG7E,eAAe,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,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,30 +5,20 @@ 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
  }
31
- isWalletAddress(params) {
21
+ async isWalletAddress(params) {
32
22
  throw new Error('Method not implemented.');
33
23
  }
34
24
  parseTransaction(params) {
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXRody5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ldGh3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDREQUFpQztBQUNqQyxnRUFBcUM7QUFHckMsbURBVThCO0FBQzlCLGlEQUF5RTtBQUN6RSwyREFBaUY7QUFhakYsTUFBYSxJQUFLLFNBQVEsa0JBQUc7SUFDM0IsWUFBc0IsS0FBZ0IsRUFBRSxXQUF1QztRQUM3RSxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDZixDQUFDO0lBRUQsTUFBTSxDQUFDLGNBQWMsQ0FBQyxLQUFnQixFQUFFLFdBQXVDO1FBQzdFLE9BQU8sSUFBSSxJQUFJLENBQUMsS0FBSyxFQUFFLFdBQVcsQ0FBQyxDQUFDO0lBQ3RDLENBQUM7SUFFRCxRQUFRO1FBQ04sT0FBTyxNQUFNLENBQUM7SUFDaEIsQ0FBQztJQUNELFNBQVM7UUFDUCxPQUFPLEtBQUssQ0FBQztJQUNmLENBQUM7SUFDRCxXQUFXO1FBQ1QsT0FBTyxjQUFjLENBQUM7SUFDeEIsQ0FBQztJQUNELGlCQUFpQixDQUFDLE1BQWdDO1FBQ2hELE1BQU0sSUFBSSxLQUFLLENBQUMseUJBQXlCLENBQUMsQ0FBQztJQUM3QyxDQUFDO0lBQ0QsZUFBZSxDQUFDLE1BQTRCO1FBQzFDLE1BQU0sSUFBSSxLQUFLLENBQUMseUJBQXlCLENBQUMsQ0FBQztJQUM3QyxDQUFDO0lBQ0QsZ0JBQWdCLENBQUMsTUFBK0I7UUFDOUMsTUFBTSxJQUFJLEtBQUssQ0FBQyx5QkFBeUIsQ0FBQyxD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IHtcbiAgICBjb25zdCByZXNwb25zZSA9IGF3YWl0IHJlcXVlc3QucG9zdChjb21tb24uRW52aXJvbm1lbnRzW3RoaXMuYml0Z28uZ2V0RW52KCldLmV0aHdGdWxsTm9kZVJQQ0Jhc2VVcmwpLnNlbmQoe1xuICAgICAgbWV0aG9kLFxuICAgICAgcGFyYW1zLFxuICAgICAgaWQ6IDAsXG4gICAgICBqc29ucnBjOiAnMi4wJyxcbiAgICB9KTtcblxuICAgIGlmICghcmVzcG9uc2Uub2spIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcignY291bGQgbm90IHJlYWNoIEVUSFcgZnVsbCBub2RlJyk7XG4gICAgfVxuXG4gICAgaWYgKHJlc3BvbnNlLmJvZHkuZXJyb3IpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgRVRIVyBmdWxsIG5vZGUgZXJyb3I6ICR7cmVzcG9uc2UuYm9keS5lcnJvci5jb2RlfSAtICR7cmVzcG9uc2UuYm9keS5lcnJvci5tZXNzYWdlfWApO1xuICAgIH1cbiAgICByZXR1cm4gcmVzcG9uc2UuYm9keTtcbiAgfVxuXG4gIC8qKlxuICAgKiBDcmVhdGUgYSBuZXcgdHJhbnNhY3Rpb24gYnVpbGRlciBmb3IgdGhlIGN1cnJlbnQgY2hhaW5cbiAgICogQHJldHVybiBhIG5ldyB0cmFuc2FjdGlvbiBidWlsZGVyXG4gICAqL1xuICBwcm90ZWN0ZWQgZ2V0VHJhbnNhY3Rpb25CdWlsZGVyKCk6IFRyYW5zYWN0aW9uQnVpbGRlciB7XG4gICAgcmV0dXJuIG5ldyBUcmFuc2FjdGlvbkJ1aWxkZXIoY29pbnMuZ2V0KHRoaXMuZ2V0Q2hhaW4oKSkpO1xuICB9XG59XG4iXX0=
@@ -1,2 +1,3 @@
1
1
  export * from './ethw';
2
+ export * from './register';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC"}
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];
@@ -11,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
15
  };
12
16
  Object.defineProperty(exports, "__esModule", { value: true });
13
17
  __exportStar(require("./ethw"), exports);
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEseUNBQXVCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ldGh3JztcbiJdfQ==
18
+ __exportStar(require("./register"), exports);
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHlDQUF1QjtBQUN2Qiw2Q0FBMkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2V0aHcnO1xuZXhwb3J0ICogZnJvbSAnLi9yZWdpc3Rlcic7XG4iXX0=
@@ -0,0 +1,3 @@
1
+ import { BitGoBase } from '@bitgo-beta/sdk-core';
2
+ export declare const register: (sdk: BitGoBase) => void;
3
+ //# sourceMappingURL=register.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../src/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGjD,eAAO,MAAM,QAAQ,QAAS,SAAS,KAAG,IAEzC,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.register = void 0;
4
+ const ethw_1 = require("./ethw");
5
+ const register = (sdk) => {
6
+ sdk.register('ethw', ethw_1.Ethw.createInstance);
7
+ };
8
+ exports.register = register;
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvcmVnaXN0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsaUNBQThCO0FBRXZCLE1BQU0sUUFBUSxHQUFHLENBQUMsR0FBYyxFQUFRLEVBQUU7SUFDL0MsR0FBRyxDQUFDLFFBQVEsQ0FBQyxNQUFNLEVBQUUsV0FBSSxDQUFDLGNBQWMsQ0FBQyxDQUFDO0FBQzVDLENBQUMsQ0FBQztBQUZXLFFBQUEsUUFBUSxZQUVuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJpdEdvQmFzZSB9IGZyb20gJ0BiaXRnby1iZXRhL3Nkay1jb3JlJztcbmltcG9ydCB7IEV0aHcgfSBmcm9tICcuL2V0aHcnO1xuXG5leHBvcnQgY29uc3QgcmVnaXN0ZXIgPSAoc2RrOiBCaXRHb0Jhc2UpOiB2b2lkID0+IHtcbiAgc2RrLnJlZ2lzdGVyKCdldGh3JywgRXRody5jcmVhdGVJbnN0YW5jZSk7XG59O1xuIl19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-ethw",
3
- "version": "1.0.1-beta.8",
3
+ "version": "1.0.1-beta.800",
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.0.2-beta.8",
44
- "@bitgo-beta/sdk-coin-eth": "1.1.1-beta.8",
45
- "@bitgo-beta/sdk-core": "1.1.1-beta.8",
46
- "@bitgo-beta/statics": "7.0.1-beta.8",
47
- "bignumber.js": "^9.0.0",
43
+ "@bitgo-beta/sdk-coin-eth": "4.4.1-beta.571",
44
+ "@bitgo-beta/sdk-core": "8.2.1-beta.575",
45
+ "@bitgo-beta/statics": "15.1.1-beta.578",
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.1.1-beta.8",
53
- "@bitgo-beta/sdk-test": "^1.0.1"
50
+ "@bitgo-beta/sdk-api": "1.10.1-beta.574",
51
+ "@bitgo-beta/sdk-test": "^8.0.53"
54
52
  },
55
- "gitHead": "c0a7aa55e872f2528d06759d1f8c63e71feb79af"
53
+ "gitHead": "750c5859c1b68a6fcf4aac1d7de1cccfa4a57d10"
56
54
  }