@bitgo-beta/sdk-coin-ethw 1.3.3-alpha.38 → 1.3.3-alpha.380
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/.mocharc.yml +1 -1
- package/CHANGELOG.md +985 -0
- package/dist/src/ethw.d.ts +2 -13
- package/dist/src/ethw.d.ts.map +1 -1
- package/dist/src/ethw.js +2 -43
- package/dist/src/index.js +6 -2
- package/package.json +9 -11
package/.mocharc.yml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,991 @@
|
|
|
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.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.15...@bitgo/sdk-coin-ethw@20.2.0) (2025-08-22)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **root:** migrate ts-node -> tsx ([ea180b4](https://github.com/BitGo/BitGoJS/commit/ea180b43001d8e956196bc07b32798e3a7031eeb))
|
|
11
|
+
|
|
12
|
+
## [20.1.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.14...@bitgo/sdk-coin-ethw@20.1.15) (2025-08-22)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
15
|
+
|
|
16
|
+
## [20.1.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.13...@bitgo/sdk-coin-ethw@20.1.14) (2025-08-19)
|
|
17
|
+
|
|
18
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
19
|
+
|
|
20
|
+
## [20.1.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.12...@bitgo/sdk-coin-ethw@20.1.13) (2025-08-14)
|
|
21
|
+
|
|
22
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
23
|
+
|
|
24
|
+
## [20.1.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.11...@bitgo/sdk-coin-ethw@20.1.12) (2025-08-07)
|
|
25
|
+
|
|
26
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
27
|
+
|
|
28
|
+
## [20.1.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.10...@bitgo/sdk-coin-ethw@20.1.11) (2025-07-31)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
31
|
+
|
|
32
|
+
## [20.1.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.9...@bitgo/sdk-coin-ethw@20.1.10) (2025-07-30)
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
- updating recovery tx building for EIP-155 txs ([acd7712](https://github.com/BitGo/BitGoJS/commit/acd77123ba48f06a96ff4d3214343ac62e809006))
|
|
37
|
+
|
|
38
|
+
## [20.1.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.7...@bitgo/sdk-coin-ethw@20.1.9) (2025-07-25)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
41
|
+
|
|
42
|
+
## [20.1.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.7...@bitgo/sdk-coin-ethw@20.1.8) (2025-07-23)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
45
|
+
|
|
46
|
+
## [20.1.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.6...@bitgo/sdk-coin-ethw@20.1.7) (2025-07-15)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
49
|
+
|
|
50
|
+
## [20.1.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.5...@bitgo/sdk-coin-ethw@20.1.6) (2025-07-10)
|
|
51
|
+
|
|
52
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
53
|
+
|
|
54
|
+
## [20.1.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.4...@bitgo/sdk-coin-ethw@20.1.5) (2025-07-03)
|
|
55
|
+
|
|
56
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
57
|
+
|
|
58
|
+
## [20.1.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.3...@bitgo/sdk-coin-ethw@20.1.4) (2025-06-25)
|
|
59
|
+
|
|
60
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
61
|
+
|
|
62
|
+
## [20.1.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.2...@bitgo/sdk-coin-ethw@20.1.3) (2025-06-24)
|
|
63
|
+
|
|
64
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
65
|
+
|
|
66
|
+
## [20.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.1...@bitgo/sdk-coin-ethw@20.1.2) (2025-06-18)
|
|
67
|
+
|
|
68
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
69
|
+
|
|
70
|
+
## [20.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.1.0...@bitgo/sdk-coin-ethw@20.1.1) (2025-06-10)
|
|
71
|
+
|
|
72
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
73
|
+
|
|
74
|
+
# [20.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.83...@bitgo/sdk-coin-ethw@20.1.0) (2025-06-05)
|
|
75
|
+
|
|
76
|
+
### Features
|
|
77
|
+
|
|
78
|
+
- **root:** support node 22 ([c4ad6af](https://github.com/BitGo/BitGoJS/commit/c4ad6af2e8896221417c303f0f6b84652b493216))
|
|
79
|
+
|
|
80
|
+
## [20.0.83](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.82...@bitgo/sdk-coin-ethw@20.0.83) (2025-06-02)
|
|
81
|
+
|
|
82
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
83
|
+
|
|
84
|
+
## [20.0.82](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.81...@bitgo/sdk-coin-ethw@20.0.82) (2025-05-28)
|
|
85
|
+
|
|
86
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
87
|
+
|
|
88
|
+
## [20.0.81](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.80...@bitgo/sdk-coin-ethw@20.0.81) (2025-05-22)
|
|
89
|
+
|
|
90
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
91
|
+
|
|
92
|
+
## [20.0.80](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.79...@bitgo/sdk-coin-ethw@20.0.80) (2025-05-20)
|
|
93
|
+
|
|
94
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
95
|
+
|
|
96
|
+
## [20.0.79](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.78...@bitgo/sdk-coin-ethw@20.0.79) (2025-05-07)
|
|
97
|
+
|
|
98
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
99
|
+
|
|
100
|
+
## [20.0.78](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.77...@bitgo/sdk-coin-ethw@20.0.78) (2025-04-29)
|
|
101
|
+
|
|
102
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
103
|
+
|
|
104
|
+
## [20.0.77](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.76...@bitgo/sdk-coin-ethw@20.0.77) (2025-04-25)
|
|
105
|
+
|
|
106
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
107
|
+
|
|
108
|
+
## [20.0.76](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.75...@bitgo/sdk-coin-ethw@20.0.76) (2025-04-15)
|
|
109
|
+
|
|
110
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
111
|
+
|
|
112
|
+
## [20.0.75](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.74...@bitgo/sdk-coin-ethw@20.0.75) (2025-04-04)
|
|
113
|
+
|
|
114
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
115
|
+
|
|
116
|
+
## [20.0.74](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.73...@bitgo/sdk-coin-ethw@20.0.74) (2025-04-02)
|
|
117
|
+
|
|
118
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
119
|
+
|
|
120
|
+
## [20.0.73](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.72...@bitgo/sdk-coin-ethw@20.0.73) (2025-03-28)
|
|
121
|
+
|
|
122
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
123
|
+
|
|
124
|
+
## [20.0.72](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.71...@bitgo/sdk-coin-ethw@20.0.72) (2025-03-20)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
127
|
+
|
|
128
|
+
## [20.0.71](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@20.0.70...@bitgo/sdk-coin-ethw@20.0.71) (2025-03-18)
|
|
129
|
+
|
|
130
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
131
|
+
|
|
132
|
+
## [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)
|
|
133
|
+
|
|
134
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
135
|
+
|
|
136
|
+
## [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)
|
|
137
|
+
|
|
138
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
139
|
+
|
|
140
|
+
## [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)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
143
|
+
|
|
144
|
+
## [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)
|
|
145
|
+
|
|
146
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
147
|
+
|
|
148
|
+
## [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)
|
|
149
|
+
|
|
150
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
151
|
+
|
|
152
|
+
## [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)
|
|
153
|
+
|
|
154
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
155
|
+
|
|
156
|
+
## [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)
|
|
157
|
+
|
|
158
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
159
|
+
|
|
160
|
+
## [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)
|
|
161
|
+
|
|
162
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
163
|
+
|
|
164
|
+
## [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)
|
|
165
|
+
|
|
166
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
167
|
+
|
|
168
|
+
## [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)
|
|
169
|
+
|
|
170
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
171
|
+
|
|
172
|
+
## [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)
|
|
173
|
+
|
|
174
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
175
|
+
|
|
176
|
+
## [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)
|
|
177
|
+
|
|
178
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
179
|
+
|
|
180
|
+
## [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)
|
|
181
|
+
|
|
182
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
183
|
+
|
|
184
|
+
## [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)
|
|
185
|
+
|
|
186
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
187
|
+
|
|
188
|
+
## [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)
|
|
189
|
+
|
|
190
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
191
|
+
|
|
192
|
+
## [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)
|
|
193
|
+
|
|
194
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
195
|
+
|
|
196
|
+
## [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)
|
|
197
|
+
|
|
198
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
199
|
+
|
|
200
|
+
## [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)
|
|
201
|
+
|
|
202
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
203
|
+
|
|
204
|
+
## [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)
|
|
205
|
+
|
|
206
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
207
|
+
|
|
208
|
+
## [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)
|
|
209
|
+
|
|
210
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
211
|
+
|
|
212
|
+
## [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)
|
|
213
|
+
|
|
214
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
215
|
+
|
|
216
|
+
## [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)
|
|
217
|
+
|
|
218
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
219
|
+
|
|
220
|
+
## [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)
|
|
221
|
+
|
|
222
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
223
|
+
|
|
224
|
+
## [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)
|
|
225
|
+
|
|
226
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
227
|
+
|
|
228
|
+
## [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)
|
|
229
|
+
|
|
230
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
231
|
+
|
|
232
|
+
## [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)
|
|
233
|
+
|
|
234
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
235
|
+
|
|
236
|
+
## [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)
|
|
237
|
+
|
|
238
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
239
|
+
|
|
240
|
+
## [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)
|
|
241
|
+
|
|
242
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
243
|
+
|
|
244
|
+
## [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)
|
|
245
|
+
|
|
246
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
247
|
+
|
|
248
|
+
## [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)
|
|
249
|
+
|
|
250
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
251
|
+
|
|
252
|
+
## [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)
|
|
253
|
+
|
|
254
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
255
|
+
|
|
256
|
+
## [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)
|
|
257
|
+
|
|
258
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
259
|
+
|
|
260
|
+
## [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)
|
|
261
|
+
|
|
262
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
263
|
+
|
|
264
|
+
## [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)
|
|
265
|
+
|
|
266
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
267
|
+
|
|
268
|
+
## [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)
|
|
269
|
+
|
|
270
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
271
|
+
|
|
272
|
+
## [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)
|
|
273
|
+
|
|
274
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
275
|
+
|
|
276
|
+
## [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)
|
|
277
|
+
|
|
278
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
279
|
+
|
|
280
|
+
## [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)
|
|
281
|
+
|
|
282
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
283
|
+
|
|
284
|
+
## [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)
|
|
285
|
+
|
|
286
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
287
|
+
|
|
288
|
+
## [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)
|
|
289
|
+
|
|
290
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
291
|
+
|
|
292
|
+
## [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)
|
|
293
|
+
|
|
294
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
295
|
+
|
|
296
|
+
## [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)
|
|
297
|
+
|
|
298
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
299
|
+
|
|
300
|
+
## [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)
|
|
301
|
+
|
|
302
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
303
|
+
|
|
304
|
+
## [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)
|
|
305
|
+
|
|
306
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
307
|
+
|
|
308
|
+
## [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)
|
|
309
|
+
|
|
310
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
311
|
+
|
|
312
|
+
## [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)
|
|
313
|
+
|
|
314
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
315
|
+
|
|
316
|
+
## [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)
|
|
317
|
+
|
|
318
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
319
|
+
|
|
320
|
+
## [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)
|
|
321
|
+
|
|
322
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
323
|
+
|
|
324
|
+
## [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)
|
|
325
|
+
|
|
326
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
327
|
+
|
|
328
|
+
## [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)
|
|
329
|
+
|
|
330
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
331
|
+
|
|
332
|
+
## [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)
|
|
333
|
+
|
|
334
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
335
|
+
|
|
336
|
+
## [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)
|
|
337
|
+
|
|
338
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
339
|
+
|
|
340
|
+
## [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)
|
|
341
|
+
|
|
342
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
343
|
+
|
|
344
|
+
## [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)
|
|
345
|
+
|
|
346
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
347
|
+
|
|
348
|
+
## [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)
|
|
349
|
+
|
|
350
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
351
|
+
|
|
352
|
+
## [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)
|
|
353
|
+
|
|
354
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
355
|
+
|
|
356
|
+
## [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)
|
|
357
|
+
|
|
358
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
359
|
+
|
|
360
|
+
## [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)
|
|
361
|
+
|
|
362
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
363
|
+
|
|
364
|
+
## [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)
|
|
365
|
+
|
|
366
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
367
|
+
|
|
368
|
+
## [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)
|
|
369
|
+
|
|
370
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
371
|
+
|
|
372
|
+
## [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)
|
|
373
|
+
|
|
374
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
375
|
+
|
|
376
|
+
## [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)
|
|
377
|
+
|
|
378
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
379
|
+
|
|
380
|
+
## [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)
|
|
381
|
+
|
|
382
|
+
### Bug Fixes
|
|
383
|
+
|
|
384
|
+
- superagent upgrade to 9.0 ([6e9aa43](https://github.com/BitGo/BitGoJS/commit/6e9aa43a6d2999298abd450ceb168d664b8b926d))
|
|
385
|
+
|
|
386
|
+
## [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)
|
|
387
|
+
|
|
388
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
389
|
+
|
|
390
|
+
## [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)
|
|
391
|
+
|
|
392
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
393
|
+
|
|
394
|
+
## [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)
|
|
395
|
+
|
|
396
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
397
|
+
|
|
398
|
+
## [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)
|
|
399
|
+
|
|
400
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
401
|
+
|
|
402
|
+
## [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)
|
|
403
|
+
|
|
404
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
405
|
+
|
|
406
|
+
## [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)
|
|
407
|
+
|
|
408
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
409
|
+
|
|
410
|
+
## [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)
|
|
411
|
+
|
|
412
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
413
|
+
|
|
414
|
+
# [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)
|
|
415
|
+
|
|
416
|
+
### Features
|
|
417
|
+
|
|
418
|
+
- **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
|
|
419
|
+
|
|
420
|
+
### BREAKING CHANGES
|
|
421
|
+
|
|
422
|
+
- **root:** Node 16 is no longer supported in bitgojs.
|
|
423
|
+
TICKET: WP-1100
|
|
424
|
+
|
|
425
|
+
## [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)
|
|
426
|
+
|
|
427
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
428
|
+
|
|
429
|
+
## [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)
|
|
430
|
+
|
|
431
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
432
|
+
|
|
433
|
+
## [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)
|
|
434
|
+
|
|
435
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
436
|
+
|
|
437
|
+
## [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)
|
|
438
|
+
|
|
439
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
440
|
+
|
|
441
|
+
# [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)
|
|
442
|
+
|
|
443
|
+
### Bug Fixes
|
|
444
|
+
|
|
445
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
446
|
+
|
|
447
|
+
### Code Refactoring
|
|
448
|
+
|
|
449
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
450
|
+
|
|
451
|
+
### BREAKING CHANGES
|
|
452
|
+
|
|
453
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
454
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
455
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
456
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
457
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
458
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
459
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
460
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
461
|
+
and Polygon class returns number instead of string just to align with
|
|
462
|
+
AbstractEthLikeCoin
|
|
463
|
+
Ticket: WIN-1012
|
|
464
|
+
|
|
465
|
+
# [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)
|
|
466
|
+
|
|
467
|
+
### Bug Fixes
|
|
468
|
+
|
|
469
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
470
|
+
|
|
471
|
+
### Code Refactoring
|
|
472
|
+
|
|
473
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
474
|
+
|
|
475
|
+
### BREAKING CHANGES
|
|
476
|
+
|
|
477
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
478
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
479
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
480
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
481
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
482
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
483
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
484
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
485
|
+
and Polygon class returns number instead of string just to align with
|
|
486
|
+
AbstractEthLikeCoin
|
|
487
|
+
Ticket: WIN-1012
|
|
488
|
+
|
|
489
|
+
# [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)
|
|
490
|
+
|
|
491
|
+
### Bug Fixes
|
|
492
|
+
|
|
493
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
494
|
+
|
|
495
|
+
### Code Refactoring
|
|
496
|
+
|
|
497
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
498
|
+
|
|
499
|
+
### BREAKING CHANGES
|
|
500
|
+
|
|
501
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
502
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
503
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
504
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
505
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
506
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
507
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
508
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
509
|
+
and Polygon class returns number instead of string just to align with
|
|
510
|
+
AbstractEthLikeCoin
|
|
511
|
+
Ticket: WIN-1012
|
|
512
|
+
|
|
513
|
+
# [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)
|
|
514
|
+
|
|
515
|
+
### Bug Fixes
|
|
516
|
+
|
|
517
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
518
|
+
|
|
519
|
+
### Code Refactoring
|
|
520
|
+
|
|
521
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
522
|
+
|
|
523
|
+
### BREAKING CHANGES
|
|
524
|
+
|
|
525
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
526
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
527
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
528
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
529
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
530
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
531
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
532
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
533
|
+
and Polygon class returns number instead of string just to align with
|
|
534
|
+
AbstractEthLikeCoin
|
|
535
|
+
Ticket: WIN-1012
|
|
536
|
+
|
|
537
|
+
# [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)
|
|
538
|
+
|
|
539
|
+
### Bug Fixes
|
|
540
|
+
|
|
541
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
542
|
+
|
|
543
|
+
### Code Refactoring
|
|
544
|
+
|
|
545
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
546
|
+
|
|
547
|
+
### BREAKING CHANGES
|
|
548
|
+
|
|
549
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
550
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
551
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
552
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
553
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
554
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
555
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
556
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
557
|
+
and Polygon class returns number instead of string just to align with
|
|
558
|
+
AbstractEthLikeCoin
|
|
559
|
+
Ticket: WIN-1012
|
|
560
|
+
|
|
561
|
+
# [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)
|
|
562
|
+
|
|
563
|
+
### Bug Fixes
|
|
564
|
+
|
|
565
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
566
|
+
|
|
567
|
+
### Code Refactoring
|
|
568
|
+
|
|
569
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
570
|
+
|
|
571
|
+
### BREAKING CHANGES
|
|
572
|
+
|
|
573
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
574
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
575
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
576
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
577
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
578
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
579
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
580
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
581
|
+
and Polygon class returns number instead of string just to align with
|
|
582
|
+
AbstractEthLikeCoin
|
|
583
|
+
Ticket: WIN-1012
|
|
584
|
+
|
|
585
|
+
# [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)
|
|
586
|
+
|
|
587
|
+
### Bug Fixes
|
|
588
|
+
|
|
589
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
590
|
+
|
|
591
|
+
### Code Refactoring
|
|
592
|
+
|
|
593
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
594
|
+
|
|
595
|
+
### BREAKING CHANGES
|
|
596
|
+
|
|
597
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
598
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
599
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
600
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
601
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
602
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
603
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
604
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
605
|
+
and Polygon class returns number instead of string just to align with
|
|
606
|
+
AbstractEthLikeCoin
|
|
607
|
+
Ticket: WIN-1012
|
|
608
|
+
|
|
609
|
+
# [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)
|
|
610
|
+
|
|
611
|
+
### Bug Fixes
|
|
612
|
+
|
|
613
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
614
|
+
|
|
615
|
+
### Code Refactoring
|
|
616
|
+
|
|
617
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
618
|
+
|
|
619
|
+
### BREAKING CHANGES
|
|
620
|
+
|
|
621
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
622
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
623
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
624
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
625
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
626
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
627
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
628
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
629
|
+
and Polygon class returns number instead of string just to align with
|
|
630
|
+
AbstractEthLikeCoin
|
|
631
|
+
Ticket: WIN-1012
|
|
632
|
+
|
|
633
|
+
# [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)
|
|
634
|
+
|
|
635
|
+
### Bug Fixes
|
|
636
|
+
|
|
637
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
638
|
+
|
|
639
|
+
### Code Refactoring
|
|
640
|
+
|
|
641
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
642
|
+
|
|
643
|
+
### BREAKING CHANGES
|
|
644
|
+
|
|
645
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
646
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
647
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
648
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
649
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
650
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
651
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
652
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
653
|
+
and Polygon class returns number instead of string just to align with
|
|
654
|
+
AbstractEthLikeCoin
|
|
655
|
+
Ticket: WIN-1012
|
|
656
|
+
|
|
657
|
+
# [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)
|
|
658
|
+
|
|
659
|
+
### Bug Fixes
|
|
660
|
+
|
|
661
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
662
|
+
|
|
663
|
+
### Code Refactoring
|
|
664
|
+
|
|
665
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
666
|
+
|
|
667
|
+
### BREAKING CHANGES
|
|
668
|
+
|
|
669
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
670
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
671
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
672
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
673
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
674
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
675
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
676
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
677
|
+
and Polygon class returns number instead of string just to align with
|
|
678
|
+
AbstractEthLikeCoin
|
|
679
|
+
Ticket: WIN-1012
|
|
680
|
+
|
|
681
|
+
# [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)
|
|
682
|
+
|
|
683
|
+
### Bug Fixes
|
|
684
|
+
|
|
685
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
686
|
+
|
|
687
|
+
### Code Refactoring
|
|
688
|
+
|
|
689
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
690
|
+
|
|
691
|
+
### BREAKING CHANGES
|
|
692
|
+
|
|
693
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
694
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
695
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
696
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
697
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
698
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
699
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
700
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
701
|
+
and Polygon class returns number instead of string just to align with
|
|
702
|
+
AbstractEthLikeCoin
|
|
703
|
+
Ticket: WIN-1012
|
|
704
|
+
|
|
705
|
+
# [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)
|
|
706
|
+
|
|
707
|
+
### Bug Fixes
|
|
708
|
+
|
|
709
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
710
|
+
|
|
711
|
+
### Code Refactoring
|
|
712
|
+
|
|
713
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
714
|
+
|
|
715
|
+
### BREAKING CHANGES
|
|
716
|
+
|
|
717
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
718
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
719
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
720
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
721
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
722
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
723
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
724
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
725
|
+
and Polygon class returns number instead of string just to align with
|
|
726
|
+
AbstractEthLikeCoin
|
|
727
|
+
Ticket: WIN-1012
|
|
728
|
+
|
|
729
|
+
# [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)
|
|
730
|
+
|
|
731
|
+
### Bug Fixes
|
|
732
|
+
|
|
733
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
734
|
+
|
|
735
|
+
### Code Refactoring
|
|
736
|
+
|
|
737
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
738
|
+
|
|
739
|
+
### BREAKING CHANGES
|
|
740
|
+
|
|
741
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
742
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
743
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
744
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
745
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
746
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
747
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
748
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
749
|
+
and Polygon class returns number instead of string just to align with
|
|
750
|
+
AbstractEthLikeCoin
|
|
751
|
+
Ticket: WIN-1012
|
|
752
|
+
|
|
753
|
+
# [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)
|
|
754
|
+
|
|
755
|
+
### Bug Fixes
|
|
756
|
+
|
|
757
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
758
|
+
|
|
759
|
+
### Code Refactoring
|
|
760
|
+
|
|
761
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
762
|
+
|
|
763
|
+
### BREAKING CHANGES
|
|
764
|
+
|
|
765
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
766
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
767
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
768
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
769
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
770
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
771
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
772
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
773
|
+
and Polygon class returns number instead of string just to align with
|
|
774
|
+
AbstractEthLikeCoin
|
|
775
|
+
Ticket: WIN-1012
|
|
776
|
+
|
|
777
|
+
# [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)
|
|
778
|
+
|
|
779
|
+
### Bug Fixes
|
|
780
|
+
|
|
781
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
782
|
+
|
|
783
|
+
### Code Refactoring
|
|
784
|
+
|
|
785
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
786
|
+
|
|
787
|
+
### BREAKING CHANGES
|
|
788
|
+
|
|
789
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
790
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
791
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
792
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
793
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
794
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
795
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
796
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
797
|
+
and Polygon class returns number instead of string just to align with
|
|
798
|
+
AbstractEthLikeCoin
|
|
799
|
+
Ticket: WIN-1012
|
|
800
|
+
|
|
801
|
+
# [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)
|
|
802
|
+
|
|
803
|
+
### Bug Fixes
|
|
804
|
+
|
|
805
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
806
|
+
|
|
807
|
+
### Code Refactoring
|
|
808
|
+
|
|
809
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
810
|
+
|
|
811
|
+
### BREAKING CHANGES
|
|
812
|
+
|
|
813
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
814
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
815
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
816
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
817
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
818
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
819
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
820
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
821
|
+
and Polygon class returns number instead of string just to align with
|
|
822
|
+
AbstractEthLikeCoin
|
|
823
|
+
Ticket: WIN-1012
|
|
824
|
+
|
|
825
|
+
# [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)
|
|
826
|
+
|
|
827
|
+
### Bug Fixes
|
|
828
|
+
|
|
829
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
830
|
+
|
|
831
|
+
### Code Refactoring
|
|
832
|
+
|
|
833
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
834
|
+
|
|
835
|
+
### BREAKING CHANGES
|
|
836
|
+
|
|
837
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
838
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
839
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
840
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
841
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
842
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
843
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
844
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
845
|
+
and Polygon class returns number instead of string just to align with
|
|
846
|
+
AbstractEthLikeCoin
|
|
847
|
+
Ticket: WIN-1012
|
|
848
|
+
|
|
849
|
+
# [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)
|
|
850
|
+
|
|
851
|
+
### Bug Fixes
|
|
852
|
+
|
|
853
|
+
- **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
|
|
854
|
+
|
|
855
|
+
### Code Refactoring
|
|
856
|
+
|
|
857
|
+
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
|
|
858
|
+
|
|
859
|
+
### BREAKING CHANGES
|
|
860
|
+
|
|
861
|
+
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
|
|
862
|
+
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
|
|
863
|
+
getCustomChainName method is removed from Polygon class because a common
|
|
864
|
+
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
|
|
865
|
+
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
|
|
866
|
+
and needs to be passed to derive the Eth common object from the chainId.
|
|
867
|
+
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
|
|
868
|
+
it can be used for other EthLike coins. getBaseFactor method in Eth
|
|
869
|
+
and Polygon class returns number instead of string just to align with
|
|
870
|
+
AbstractEthLikeCoin
|
|
871
|
+
Ticket: WIN-1012
|
|
872
|
+
|
|
873
|
+
## [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)
|
|
874
|
+
|
|
875
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
876
|
+
|
|
877
|
+
## [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)
|
|
878
|
+
|
|
879
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
880
|
+
|
|
881
|
+
## [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)
|
|
882
|
+
|
|
883
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
884
|
+
|
|
885
|
+
## [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)
|
|
886
|
+
|
|
887
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
888
|
+
|
|
889
|
+
## [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)
|
|
890
|
+
|
|
891
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
892
|
+
|
|
893
|
+
## [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)
|
|
894
|
+
|
|
895
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
896
|
+
|
|
897
|
+
## [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)
|
|
898
|
+
|
|
899
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
900
|
+
|
|
901
|
+
## [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)
|
|
902
|
+
|
|
903
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
904
|
+
|
|
905
|
+
## [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)
|
|
906
|
+
|
|
907
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
908
|
+
|
|
909
|
+
## [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)
|
|
910
|
+
|
|
911
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
912
|
+
|
|
913
|
+
## [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)
|
|
914
|
+
|
|
915
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
916
|
+
|
|
917
|
+
## [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)
|
|
918
|
+
|
|
919
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
920
|
+
|
|
921
|
+
## [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)
|
|
922
|
+
|
|
923
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
924
|
+
|
|
925
|
+
# [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)
|
|
926
|
+
|
|
927
|
+
### Features
|
|
928
|
+
|
|
929
|
+
- **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
|
|
930
|
+
- **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
|
|
931
|
+
|
|
932
|
+
# [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)
|
|
933
|
+
|
|
934
|
+
### Features
|
|
935
|
+
|
|
936
|
+
- **root:** add node 18 to engines and CI ([9cc6a70](https://github.com/BitGo/BitGoJS/commit/9cc6a70ba807161b7c6a0ebe3d7c47f25c7c8eca))
|
|
937
|
+
- **root:** remove node 14 from engines ([6ec47cb](https://github.com/BitGo/BitGoJS/commit/6ec47cbd7996cc78bbf2cf7f16595c24fe43cd41))
|
|
938
|
+
|
|
939
|
+
## [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)
|
|
940
|
+
|
|
941
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
942
|
+
|
|
943
|
+
## [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)
|
|
944
|
+
|
|
945
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
946
|
+
|
|
947
|
+
## [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)
|
|
948
|
+
|
|
949
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
950
|
+
|
|
951
|
+
## [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)
|
|
952
|
+
|
|
953
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
954
|
+
|
|
955
|
+
## [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)
|
|
956
|
+
|
|
957
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
958
|
+
|
|
959
|
+
## [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)
|
|
960
|
+
|
|
961
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
962
|
+
|
|
963
|
+
## [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)
|
|
964
|
+
|
|
965
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
966
|
+
|
|
967
|
+
## [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)
|
|
968
|
+
|
|
969
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
970
|
+
|
|
971
|
+
## [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)
|
|
972
|
+
|
|
973
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
974
|
+
|
|
975
|
+
## [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)
|
|
976
|
+
|
|
977
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
978
|
+
|
|
979
|
+
## [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)
|
|
980
|
+
|
|
981
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
982
|
+
|
|
983
|
+
## [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)
|
|
984
|
+
|
|
985
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
986
|
+
|
|
987
|
+
## [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)
|
|
988
|
+
|
|
989
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
|
990
|
+
|
|
6
991
|
## [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
992
|
|
|
8
993
|
**Note:** Version bump only for package @bitgo/sdk-coin-ethw
|
package/dist/src/ethw.d.ts
CHANGED
|
@@ -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,
|
|
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
|
-
|
|
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
|
package/dist/src/ethw.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ethw.d.ts","sourceRoot":"","sources":["../../src/ethw.ts"],"names":[],"mappings":"
|
|
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,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;AAEjF,KAAK,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,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,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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXRody5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ldGh3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDREQUFpQztBQUNqQyxnRUFBcUM7QUFHckMsbURBVThCO0FBQzlCLGlEQUF5RTtBQUN6RSwyREFBaUY7QUFhakYsTUFBYSxJQUFLLFNBQVEsa0JBQUc7SUFDM0IsWUFBc0IsS0FBZ0IsRUFBRSxXQUF1QztRQUM3RSxLQUFLLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDZixDQUFDO0lBRUQsTUFBTSxDQUFDLGNBQWMsQ0FBQyxLQUFnQixFQUFFLFdBQXVDO1FBQzdFLE9BQU8sSUFBSSxJQUFJLENBQUMsS0FBSyxFQUFFLFdBQVcsQ0FBQyxDQUFDO0lBQ3RDLENBQUM7SUFFRCxRQUFRO1FBQ04sT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b25zZS5ib2R5O1xuICB9XG5cbiAgLyoqXG4gICAqIENyZWF0ZSBhIG5ldyB0cmFuc2FjdGlvbiBidWlsZGVyIGZvciB0aGUgY3VycmVudCBjaGFpblxuICAgKiBAcmV0dXJuIGEgbmV3IHRyYW5zYWN0aW9uIGJ1aWxkZXJcbiAgICovXG4gIHByb3RlY3RlZCBnZXRUcmFuc2FjdGlvbkJ1aWxkZXIoKTogVHJhbnNhY3Rpb25CdWlsZGVyIHtcbiAgICByZXR1cm4gbmV3IFRyYW5zYWN0aW9uQnVpbGRlcihjb2lucy5nZXQodGhpcy5nZXRDaGFpbigpKSk7XG4gIH1cbn1cbiJdfQ==
|
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.
|
|
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,
|
|
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.
|
|
3
|
+
"version": "1.3.3-alpha.380",
|
|
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": ">=
|
|
21
|
+
"node": ">=20 <23"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -40,17 +40,15 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@bitgo-beta/
|
|
44
|
-
"@bitgo-beta/sdk-
|
|
45
|
-
"@bitgo-beta/
|
|
46
|
-
"@bitgo-beta/statics": "10.0.1-alpha.39",
|
|
47
|
-
"bignumber.js": "^9.0.0",
|
|
43
|
+
"@bitgo-beta/sdk-coin-eth": "2.4.1-alpha.383",
|
|
44
|
+
"@bitgo-beta/sdk-core": "2.4.1-alpha.385",
|
|
45
|
+
"@bitgo-beta/statics": "10.0.1-alpha.385",
|
|
48
46
|
"ethereumjs-util": "7.1.5",
|
|
49
|
-
"superagent": "^
|
|
47
|
+
"superagent": "^9.0.1"
|
|
50
48
|
},
|
|
51
49
|
"devDependencies": {
|
|
52
|
-
"@bitgo-beta/sdk-api": "1.6.1-alpha.
|
|
53
|
-
"@bitgo-beta/sdk-test": "^
|
|
50
|
+
"@bitgo-beta/sdk-api": "1.6.1-alpha.385",
|
|
51
|
+
"@bitgo-beta/sdk-test": "^9.0.5"
|
|
54
52
|
},
|
|
55
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "18be22938f6032fc61c32d94bd029d86d5dc68e8"
|
|
56
54
|
}
|