@bitgo-beta/sdk-coin-opeth 1.0.1-beta.60 → 1.0.1-beta.600

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,674 @@
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
+ ## [18.1.54](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.51...@bitgo/sdk-coin-opeth@18.1.54) (2025-03-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - dependency fixes for secp256 lib ([826db0b](https://github.com/BitGo/BitGoJS/commit/826db0b5481435bb38b251e8bb5ba8ce9f78d017))
11
+
12
+ ## [18.1.53](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.51...@bitgo/sdk-coin-opeth@18.1.53) (2025-02-26)
13
+
14
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
15
+
16
+ ## [18.1.52](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.51...@bitgo/sdk-coin-opeth@18.1.52) (2025-02-20)
17
+
18
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
19
+
20
+ ## [18.1.51](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.50...@bitgo/sdk-coin-opeth@18.1.51) (2025-02-19)
21
+
22
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
23
+
24
+ ## [18.1.50](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.49...@bitgo/sdk-coin-opeth@18.1.50) (2025-02-11)
25
+
26
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
27
+
28
+ ## [18.1.49](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.48...@bitgo/sdk-coin-opeth@18.1.49) (2025-02-05)
29
+
30
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
31
+
32
+ ## [18.1.48](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.47...@bitgo/sdk-coin-opeth@18.1.48) (2025-01-28)
33
+
34
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
35
+
36
+ ## [18.1.47](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.46...@bitgo/sdk-coin-opeth@18.1.47) (2025-01-23)
37
+
38
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
39
+
40
+ ## [18.1.46](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.45...@bitgo/sdk-coin-opeth@18.1.46) (2025-01-23)
41
+
42
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
43
+
44
+ ## [18.1.45](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.44...@bitgo/sdk-coin-opeth@18.1.45) (2025-01-20)
45
+
46
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
47
+
48
+ ## [18.1.44](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.43...@bitgo/sdk-coin-opeth@18.1.44) (2025-01-15)
49
+
50
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
51
+
52
+ ## [18.1.43](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.42...@bitgo/sdk-coin-opeth@18.1.43) (2025-01-09)
53
+
54
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
55
+
56
+ ## [18.1.42](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.41...@bitgo/sdk-coin-opeth@18.1.42) (2025-01-03)
57
+
58
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
59
+
60
+ ## [18.1.41](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.40...@bitgo/sdk-coin-opeth@18.1.41) (2024-12-24)
61
+
62
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
63
+
64
+ ## [18.1.40](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.39...@bitgo/sdk-coin-opeth@18.1.40) (2024-12-19)
65
+
66
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
67
+
68
+ ## [18.1.39](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.37...@bitgo/sdk-coin-opeth@18.1.39) (2024-12-17)
69
+
70
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
71
+
72
+ ## [18.1.38](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.37...@bitgo/sdk-coin-opeth@18.1.38) (2024-12-17)
73
+
74
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
75
+
76
+ ## [18.1.37](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.36...@bitgo/sdk-coin-opeth@18.1.37) (2024-12-12)
77
+
78
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
79
+
80
+ ## [18.1.36](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.35...@bitgo/sdk-coin-opeth@18.1.36) (2024-12-11)
81
+
82
+ ### Bug Fixes
83
+
84
+ - **abstract-eth:** fix issue with ethlike signTx ([7584c8b](https://github.com/BitGo/BitGoJS/commit/7584c8bf2e3ddea21582cac36abdebe0a0a78646))
85
+
86
+ ## [18.1.35](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.34...@bitgo/sdk-coin-opeth@18.1.35) (2024-12-03)
87
+
88
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
89
+
90
+ ## [18.1.34](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.33...@bitgo/sdk-coin-opeth@18.1.34) (2024-11-26)
91
+
92
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
93
+
94
+ ## [18.1.33](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.32...@bitgo/sdk-coin-opeth@18.1.33) (2024-11-21)
95
+
96
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
97
+
98
+ ## [18.1.32](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.30...@bitgo/sdk-coin-opeth@18.1.32) (2024-11-19)
99
+
100
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
101
+
102
+ ## [18.1.31](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.30...@bitgo/sdk-coin-opeth@18.1.31) (2024-11-14)
103
+
104
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
105
+
106
+ ## [18.1.30](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.29...@bitgo/sdk-coin-opeth@18.1.30) (2024-11-08)
107
+
108
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
109
+
110
+ ## [18.1.29](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.28...@bitgo/sdk-coin-opeth@18.1.29) (2024-11-07)
111
+
112
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
113
+
114
+ ## [18.1.28](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.27...@bitgo/sdk-coin-opeth@18.1.28) (2024-11-01)
115
+
116
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
117
+
118
+ ## [18.1.27](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.26...@bitgo/sdk-coin-opeth@18.1.27) (2024-10-22)
119
+
120
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
121
+
122
+ ## [18.1.26](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.25...@bitgo/sdk-coin-opeth@18.1.26) (2024-10-15)
123
+
124
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
125
+
126
+ ## [18.1.25](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.24...@bitgo/sdk-coin-opeth@18.1.25) (2024-10-08)
127
+
128
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
129
+
130
+ ## [18.1.24](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.23...@bitgo/sdk-coin-opeth@18.1.24) (2024-10-04)
131
+
132
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
133
+
134
+ ## [18.1.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.22...@bitgo/sdk-coin-opeth@18.1.23) (2024-09-24)
135
+
136
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
137
+
138
+ ## [18.1.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.21...@bitgo/sdk-coin-opeth@18.1.22) (2024-09-19)
139
+
140
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
141
+
142
+ ## [18.1.21](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.20...@bitgo/sdk-coin-opeth@18.1.21) (2024-09-16)
143
+
144
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
145
+
146
+ ## [18.1.20](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.19...@bitgo/sdk-coin-opeth@18.1.20) (2024-09-10)
147
+
148
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
149
+
150
+ ## [18.1.19](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.18...@bitgo/sdk-coin-opeth@18.1.19) (2024-09-03)
151
+
152
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
153
+
154
+ ## [18.1.18](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.17...@bitgo/sdk-coin-opeth@18.1.18) (2024-08-29)
155
+
156
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
157
+
158
+ ## [18.1.17](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.16...@bitgo/sdk-coin-opeth@18.1.17) (2024-08-27)
159
+
160
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
161
+
162
+ ## [18.1.16](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.14...@bitgo/sdk-coin-opeth@18.1.16) (2024-08-20)
163
+
164
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
165
+
166
+ ## [18.1.15](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.14...@bitgo/sdk-coin-opeth@18.1.15) (2024-08-13)
167
+
168
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
169
+
170
+ ## [18.1.14](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.13...@bitgo/sdk-coin-opeth@18.1.14) (2024-08-07)
171
+
172
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
173
+
174
+ ## [18.1.13](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.12...@bitgo/sdk-coin-opeth@18.1.13) (2024-07-30)
175
+
176
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
177
+
178
+ ## [18.1.12](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.11...@bitgo/sdk-coin-opeth@18.1.12) (2024-07-24)
179
+
180
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
181
+
182
+ ## [18.1.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.10...@bitgo/sdk-coin-opeth@18.1.11) (2024-07-16)
183
+
184
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
185
+
186
+ ## [18.1.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.9...@bitgo/sdk-coin-opeth@18.1.10) (2024-07-04)
187
+
188
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
189
+
190
+ ## [18.1.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.8...@bitgo/sdk-coin-opeth@18.1.9) (2024-07-02)
191
+
192
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
193
+
194
+ ## [18.1.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.7...@bitgo/sdk-coin-opeth@18.1.8) (2024-06-27)
195
+
196
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
197
+
198
+ ## [18.1.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.6...@bitgo/sdk-coin-opeth@18.1.7) (2024-06-26)
199
+
200
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
201
+
202
+ ## [18.1.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.4...@bitgo/sdk-coin-opeth@18.1.6) (2024-06-21)
203
+
204
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
205
+
206
+ ## [18.1.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.4...@bitgo/sdk-coin-opeth@18.1.5) (2024-06-20)
207
+
208
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
209
+
210
+ ## [18.1.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.3...@bitgo/sdk-coin-opeth@18.1.4) (2024-06-14)
211
+
212
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
213
+
214
+ ## [18.1.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.2...@bitgo/sdk-coin-opeth@18.1.3) (2024-06-11)
215
+
216
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
217
+
218
+ ## [18.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.1...@bitgo/sdk-coin-opeth@18.1.2) (2024-06-05)
219
+
220
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
221
+
222
+ ## [18.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.1.0...@bitgo/sdk-coin-opeth@18.1.1) (2024-05-31)
223
+
224
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
225
+
226
+ # [18.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.6...@bitgo/sdk-coin-opeth@18.1.0) (2024-05-28)
227
+
228
+ ### Bug Fixes
229
+
230
+ - **abstract-eth:** handle absence of batcher contract for native coin ([37ede15](https://github.com/BitGo/BitGoJS/commit/37ede15f2fc8e24f732a6d8f513327650d58590c))
231
+
232
+ ### Features
233
+
234
+ - **abstract-eth:** add support to build tx for CCR of unsupported token ([a6dac7c](https://github.com/BitGo/BitGoJS/commit/a6dac7c00d47acfa3d4dd072b9cfcdf99215a743))
235
+
236
+ ## [18.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.5...@bitgo/sdk-coin-opeth@18.0.6) (2024-05-22)
237
+
238
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
239
+
240
+ ## [18.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.4...@bitgo/sdk-coin-opeth@18.0.5) (2024-05-17)
241
+
242
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
243
+
244
+ ## [18.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.3...@bitgo/sdk-coin-opeth@18.0.4) (2024-05-13)
245
+
246
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
247
+
248
+ ## [18.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.2...@bitgo/sdk-coin-opeth@18.0.3) (2024-05-08)
249
+
250
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
251
+
252
+ ## [18.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.1...@bitgo/sdk-coin-opeth@18.0.2) (2024-05-01)
253
+
254
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
255
+
256
+ ## [18.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@18.0.0...@bitgo/sdk-coin-opeth@18.0.1) (2024-04-25)
257
+
258
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
259
+
260
+ # [18.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.7...@bitgo/sdk-coin-opeth@18.0.0) (2024-04-24)
261
+
262
+ ### Features
263
+
264
+ - **abstract-eth:** support txn bulding for v4 wallet on eth chain ([d8aabea](https://github.com/BitGo/BitGoJS/commit/d8aabead0197072ee5b6c7fb11bd9c379606208d))
265
+
266
+ ### BREAKING CHANGES
267
+
268
+ - **abstract-eth:** Made ChainID mandatory for signAndBuild method
269
+
270
+ ## [17.0.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.6...@bitgo/sdk-coin-opeth@17.0.7) (2024-04-22)
271
+
272
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
273
+
274
+ ## [17.0.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.5...@bitgo/sdk-coin-opeth@17.0.6) (2024-04-17)
275
+
276
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
277
+
278
+ ## [17.0.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.4...@bitgo/sdk-coin-opeth@17.0.5) (2024-04-12)
279
+
280
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
281
+
282
+ ## [17.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.3...@bitgo/sdk-coin-opeth@17.0.4) (2024-04-10)
283
+
284
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
285
+
286
+ ## [17.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.2...@bitgo/sdk-coin-opeth@17.0.3) (2024-04-09)
287
+
288
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
289
+
290
+ ## [17.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.1...@bitgo/sdk-coin-opeth@17.0.2) (2024-04-08)
291
+
292
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
293
+
294
+ ## [17.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@17.0.0...@bitgo/sdk-coin-opeth@17.0.1) (2024-04-05)
295
+
296
+ ### Bug Fixes
297
+
298
+ - **abstract-eth:** fix opeth:op transfers ([37a8f4f](https://github.com/BitGo/BitGoJS/commit/37a8f4f03325d76c32b4764381e3d2d7976dd414))
299
+
300
+ # [17.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.4...@bitgo/sdk-coin-opeth@17.0.0) (2024-03-28)
301
+
302
+ ### Features
303
+
304
+ - **root:** deprecate node 16 ([d3ec624](https://github.com/BitGo/BitGoJS/commit/d3ec6240bddae2a4ab7fa80c4a16efecc36210bd))
305
+
306
+ ### BREAKING CHANGES
307
+
308
+ - **root:** Node 16 is no longer supported in bitgojs.
309
+ TICKET: WP-1100
310
+
311
+ ## [16.0.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.3...@bitgo/sdk-coin-opeth@16.0.4) (2024-03-19)
312
+
313
+ ### Bug Fixes
314
+
315
+ - **statics:** updates decimal for opeth:usdt ([0e98be4](https://github.com/BitGo/BitGoJS/commit/0e98be4e4151b8d64050f475e4fb3302e3b31b75))
316
+
317
+ ## [16.0.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.2...@bitgo/sdk-coin-opeth@16.0.3) (2024-03-11)
318
+
319
+ ### Bug Fixes
320
+
321
+ - **abstract-eth:** fixes issue related to gasestimate for ethlike ([190bdb2](https://github.com/BitGo/BitGoJS/commit/190bdb2b225fc2fd87fe536aeb77734f102b9984))
322
+
323
+ ## [16.0.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.1...@bitgo/sdk-coin-opeth@16.0.2) (2024-02-28)
324
+
325
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
326
+
327
+ ## [16.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.0...@bitgo/sdk-coin-opeth@16.0.1) (2024-02-22)
328
+
329
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
330
+
331
+ # 16.0.0 (2024-02-19)
332
+
333
+ ### Bug Fixes
334
+
335
+ - **abstract-eth:** change tx encoding method for arb and op ([c11b0dd](https://github.com/BitGo/BitGoJS/commit/c11b0dd4705b0de4aaf9fff26eecf361d78b9f10))
336
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
337
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
338
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
339
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
340
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
341
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
342
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
343
+
344
+ ### Code Refactoring
345
+
346
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
347
+
348
+ ### Features
349
+
350
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
351
+ - **abstract-eth:** add v4 forwarder creation logic ([25faaa3](https://github.com/BitGo/BitGoJS/commit/25faaa33723feb2a4f7ce7209a64841b438a4367))
352
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
353
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
354
+
355
+ ### BREAKING CHANGES
356
+
357
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
358
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
359
+ getCustomChainName method is removed from Polygon class because a common
360
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
361
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
362
+ and needs to be passed to derive the Eth common object from the chainId.
363
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
364
+ it can be used for other EthLike coins. getBaseFactor method in Eth
365
+ and Polygon class returns number instead of string just to align with
366
+ AbstractEthLikeCoin
367
+ Ticket: WIN-1012
368
+
369
+ # 15.0.0 (2024-01-30)
370
+
371
+ ### Bug Fixes
372
+
373
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
374
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
375
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
376
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
377
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
378
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
379
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
380
+
381
+ ### Code Refactoring
382
+
383
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
384
+
385
+ ### Features
386
+
387
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
388
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
389
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
390
+
391
+ ### BREAKING CHANGES
392
+
393
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
394
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
395
+ getCustomChainName method is removed from Polygon class because a common
396
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
397
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
398
+ and needs to be passed to derive the Eth common object from the chainId.
399
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
400
+ it can be used for other EthLike coins. getBaseFactor method in Eth
401
+ and Polygon class returns number instead of string just to align with
402
+ AbstractEthLikeCoin
403
+ Ticket: WIN-1012
404
+
405
+ # 14.0.0 (2024-01-26)
406
+
407
+ ### Bug Fixes
408
+
409
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
410
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
411
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
412
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
413
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
414
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
415
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
416
+
417
+ ### Code Refactoring
418
+
419
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
420
+
421
+ ### Features
422
+
423
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
424
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
425
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
426
+
427
+ ### BREAKING CHANGES
428
+
429
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
430
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
431
+ getCustomChainName method is removed from Polygon class because a common
432
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
433
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
434
+ and needs to be passed to derive the Eth common object from the chainId.
435
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
436
+ it can be used for other EthLike coins. getBaseFactor method in Eth
437
+ and Polygon class returns number instead of string just to align with
438
+ AbstractEthLikeCoin
439
+ Ticket: WIN-1012
440
+
441
+ # 13.0.0 (2024-01-26)
442
+
443
+ ### Bug Fixes
444
+
445
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
446
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
447
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
448
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
449
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
450
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
451
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
452
+
453
+ ### Code Refactoring
454
+
455
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
456
+
457
+ ### Features
458
+
459
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
460
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
461
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
462
+
463
+ ### BREAKING CHANGES
464
+
465
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
466
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
467
+ getCustomChainName method is removed from Polygon class because a common
468
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
469
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
470
+ and needs to be passed to derive the Eth common object from the chainId.
471
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
472
+ it can be used for other EthLike coins. getBaseFactor method in Eth
473
+ and Polygon class returns number instead of string just to align with
474
+ AbstractEthLikeCoin
475
+ Ticket: WIN-1012
476
+
477
+ # 12.0.0 (2024-01-25)
478
+
479
+ ### Bug Fixes
480
+
481
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
482
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
483
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
484
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
485
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
486
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
487
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
488
+
489
+ ### Code Refactoring
490
+
491
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
492
+
493
+ ### Features
494
+
495
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
496
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
497
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
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
+ # 11.0.0 (2024-01-22)
514
+
515
+ ### Bug Fixes
516
+
517
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
518
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
519
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
520
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
521
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
522
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
523
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
524
+
525
+ ### Code Refactoring
526
+
527
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
528
+
529
+ ### Features
530
+
531
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
532
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
533
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
534
+
535
+ ### BREAKING CHANGES
536
+
537
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
538
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
539
+ getCustomChainName method is removed from Polygon class because a common
540
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
541
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
542
+ and needs to be passed to derive the Eth common object from the chainId.
543
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
544
+ it can be used for other EthLike coins. getBaseFactor method in Eth
545
+ and Polygon class returns number instead of string just to align with
546
+ AbstractEthLikeCoin
547
+ Ticket: WIN-1012
548
+
549
+ # 10.0.0 (2024-01-09)
550
+
551
+ ### Bug Fixes
552
+
553
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
554
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
555
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
556
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
557
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
558
+
559
+ ### Code Refactoring
560
+
561
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
562
+
563
+ ### Features
564
+
565
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
566
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
567
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
568
+
569
+ ### BREAKING CHANGES
570
+
571
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
572
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
573
+ getCustomChainName method is removed from Polygon class because a common
574
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
575
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
576
+ and needs to be passed to derive the Eth common object from the chainId.
577
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
578
+ it can be used for other EthLike coins. getBaseFactor method in Eth
579
+ and Polygon class returns number instead of string just to align with
580
+ AbstractEthLikeCoin
581
+ Ticket: WIN-1012
582
+
583
+ # 9.0.0 (2024-01-03)
584
+
585
+ ### Bug Fixes
586
+
587
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
588
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
589
+
590
+ ### Code Refactoring
591
+
592
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
593
+
594
+ ### Features
595
+
596
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
597
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
598
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
599
+
600
+ ### BREAKING CHANGES
601
+
602
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
603
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
604
+ getCustomChainName method is removed from Polygon class because a common
605
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
606
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
607
+ and needs to be passed to derive the Eth common object from the chainId.
608
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
609
+ it can be used for other EthLike coins. getBaseFactor method in Eth
610
+ and Polygon class returns number instead of string just to align with
611
+ AbstractEthLikeCoin
612
+ Ticket: WIN-1012
613
+
614
+ # 8.0.0 (2023-12-18)
615
+
616
+ ### Bug Fixes
617
+
618
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
619
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
620
+
621
+ ### Code Refactoring
622
+
623
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
624
+
625
+ ### Features
626
+
627
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
628
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
629
+
630
+ ### BREAKING CHANGES
631
+
632
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
633
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
634
+ getCustomChainName method is removed from Polygon class because a common
635
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
636
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
637
+ and needs to be passed to derive the Eth common object from the chainId.
638
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
639
+ it can be used for other EthLike coins. getBaseFactor method in Eth
640
+ and Polygon class returns number instead of string just to align with
641
+ AbstractEthLikeCoin
642
+ Ticket: WIN-1012
643
+
644
+ # 7.0.0 (2023-12-12)
645
+
646
+ ### Bug Fixes
647
+
648
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
649
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
650
+
651
+ ### Code Refactoring
652
+
653
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
654
+
655
+ ### Features
656
+
657
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
658
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
659
+
660
+ ### BREAKING CHANGES
661
+
662
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
663
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
664
+ getCustomChainName method is removed from Polygon class because a common
665
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
666
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
667
+ and needs to be passed to derive the Eth common object from the chainId.
668
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
669
+ it can be used for other EthLike coins. getBaseFactor method in Eth
670
+ and Polygon class returns number instead of string just to align with
671
+ AbstractEthLikeCoin
672
+ Ticket: WIN-1012
673
+
6
674
  # 6.0.0 (2023-12-09)
7
675
 
8
676
  ### Bug Fixes
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];
@@ -15,4 +19,4 @@ __exportStar(require("./opeth"), exports);
15
19
  __exportStar(require("./topeth"), exports);
16
20
  __exportStar(require("./opethToken"), exports);
17
21
  __exportStar(require("./register"), exports);
18
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsd0NBQXNCO0FBQ3RCLDBDQUF3QjtBQUN4QiwyQ0FBeUI7QUFDekIsK0NBQTZCO0FBQzdCLDZDQUEyQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliJztcbmV4cG9ydCAqIGZyb20gJy4vb3BldGgnO1xuZXhwb3J0ICogZnJvbSAnLi90b3BldGgnO1xuZXhwb3J0ICogZnJvbSAnLi9vcGV0aFRva2VuJztcbmV4cG9ydCAqIGZyb20gJy4vcmVnaXN0ZXInO1xuIl19
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHdDQUFzQjtBQUN0QiwwQ0FBd0I7QUFDeEIsMkNBQXlCO0FBQ3pCLCtDQUE2QjtBQUM3Qiw2Q0FBMkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYic7XG5leHBvcnQgKiBmcm9tICcuL29wZXRoJztcbmV4cG9ydCAqIGZyb20gJy4vdG9wZXRoJztcbmV4cG9ydCAqIGZyb20gJy4vb3BldGhUb2tlbic7XG5leHBvcnQgKiBmcm9tICcuL3JlZ2lzdGVyJztcbiJdfQ==
@@ -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,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
11
15
  }) : function(o, v) {
12
16
  o["default"] = v;
13
17
  });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
21
35
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
22
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
23
37
  };
@@ -33,4 +47,4 @@ var abstract_eth_1 = require("@bitgo-beta/abstract-eth");
33
47
  Object.defineProperty(exports, "Transaction", { enumerable: true, get: function () { return abstract_eth_1.Transaction; } });
34
48
  Object.defineProperty(exports, "KeyPair", { enumerable: true, get: function () { return abstract_eth_1.KeyPair; } });
35
49
  __exportStar(require("./walletUtil"), exports);
36
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSwrQ0FBaUM7QUFLeEIsc0JBQUs7QUFIZCwyREFBMEQ7QUFBakQsd0hBQUEsa0JBQWtCLE9BQUE7QUFDM0IscURBQW9EO0FBQTNDLGtIQUFBLGVBQWUsT0FBQTtBQUN4Qix5REFBZ0U7QUFBdkQsMkdBQUEsV0FBVyxPQUFBO0FBQUUsdUdBQUEsT0FBTyxPQUFBO0FBRTdCLCtDQUE2QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIFV0aWxzIGZyb20gJy4vdXRpbHMnO1xuXG5leHBvcnQgeyBUcmFuc2FjdGlvbkJ1aWxkZXIgfSBmcm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G5leHBvcnQgKiBmcm9tICcuL3dhbGxldFV0aWwnO1xuIl19
@@ -1 +1 @@
1
- {"version":3,"file":"transactionBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/transactionBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAwB,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAEjH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,qBAAa,kBAAmB,SAAQ,yBAAyB;IAC/D,SAAS,CAAC,SAAS,EAAG,eAAe,CAAC;gBAE1B,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC;IAO7C,kBAAkB;IAClB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,eAAe;IAUxC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;CAG7B"}
1
+ {"version":3,"file":"transactionBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/transactionBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE7D,OAAO,EAAwB,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAGjH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,qBAAa,kBAAmB,SAAQ,yBAAyB;IAC/D,SAAS,CAAC,SAAS,EAAG,eAAe,CAAC;gBAE1B,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC;IAO7C,kBAAkB;IAClB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,eAAe;IAUxC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;CAG7B"}
@@ -9,7 +9,7 @@ const walletUtil_1 = require("./walletUtil");
9
9
  class TransactionBuilder extends abstract_eth_1.TransactionBuilder {
10
10
  constructor(_coinConfig) {
11
11
  super(_coinConfig);
12
- this._common = utils_1.getCommon(this._coinConfig.network.type);
12
+ this._common = (0, utils_1.getCommon)(this._coinConfig.network.type);
13
13
  this.transaction = new abstract_eth_1.Transaction(this._coinConfig, this._common);
14
14
  this._walletSimpleByteCode = walletUtil_1.walletSimpleByteCode;
15
15
  }
@@ -28,4 +28,4 @@ class TransactionBuilder extends abstract_eth_1.TransactionBuilder {
28
28
  }
29
29
  }
30
30
  exports.TransactionBuilder = TransactionBuilder;
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNhY3Rpb25CdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi90cmFuc2FjdGlvbkJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsbURBQThFO0FBQzlFLDJEQUFpSDtBQUNqSCxtQ0FBb0M7QUFDcEMsdURBQW9EO0FBQ3BELDZDQUFvRDtBQUVwRCxNQUFhLGtCQUFtQixTQUFRLGlDQUF5QjtJQUcvRCxZQUFZLFdBQWlDO1FBQzNDLEtBQUssQ0FBQyxXQUFXLENBQUMsQ0FBQztRQUNuQixJQUFJLENBQUMsT0FBTyxHQUFHLGlCQUFTLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUM7UUFDeEQsSUFBSSxDQUFDLFdBQVcsR0FBRyxJQUFJLDBCQUFXLENBQUMsSUFBSSxDQUFDLFdBQVcsRUFBRSxJQUFJLENBQUMsT0FBTyxDQUFDLENBQUM7UUFDbkUsSUFBSSxDQUFDLHFCQUFxQixHQUFHLGlDQUFvQixDQUFDO0lBQ3BELENBQUM7SUFFRCxrQkFBa0I7SUFDbEIsUUFBUSxDQUFDLElBQWE7UUFDcEIsSUFBSSxJQUFJLENBQUMsS0FBSyxLQUFLLDBCQUFlLENBQUMsSUFBSS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HlwZSk7XG4gICAgdGhpcy50cmFuc2FjdGlvbiA9IG5ldyBUcmFuc2FjdGlvbih0aGlzLl9jb2luQ29uZmlnLCB0aGlzLl9jb21tb24pO1xuICAgIHRoaXMuX3dhbGxldFNpbXBsZUJ5dGVDb2RlID0gd2FsbGV0U2ltcGxlQnl0ZUNvZGU7XG4gIH1cblxuICAvKiogQGluaGVyaXRkb2MgKi9cbiAgdHJhbnNmZXIoZGF0YT86IHN0cmluZyk6IFRyYW5zZmVyQnVpbGRlciB7XG4gICAgaWYgKHRoaXMuX3R5cGUgIT09IFRyYW5zYWN0aW9uVHlwZS5TZW5kKSB7XG4gICAgICB0aHJvdyBuZXcgQnVpbGRUcmFuc2FjdGlvbkVycm9yKCdUcmFuc2ZlcnMgY2FuIG9ubHkgYmUgc2V0IGZvciBzZW5kIHRyYW5zYWN0aW9ucycpO1xuICAgIH1cbiAgICBpZiAoIXRoaXMuX3RyYW5zZmVyKSB7XG4gICAgICB0aGlzLl90cmFuc2ZlciA9IG5ldyBUcmFuc2ZlckJ1aWxkZXIoZGF0YSk7XG4gICAgfVxuICAgIHJldHVybiB0aGlzLl90cmFuc2ZlcjtcbiAgfVxuXG4gIHB1YmxpY0tleShrZXk6IHN0cmluZyk6IHZvaWQge1xuICAgIHRoaXMuX3NvdXJjZUtleVBhaXIgPSBuZXcgS2V5UGFpcih7IHB1Yjoga2V5IH0pO1xuICB9XG59XG4iXX0=
@@ -1,6 +1,2 @@
1
- import { TransferBuilder as EthTransferBuilder } from '@bitgo-beta/abstract-eth';
2
- export declare class TransferBuilder extends EthTransferBuilder {
3
- /** @inheritdoc */
4
- protected getNativeOperationHashPrefix(): string;
5
- }
1
+ export { TransferBuilder } from '@bitgo-beta/abstract-eth';
6
2
  //# sourceMappingURL=transferBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transferBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/transferBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEjF,qBAAa,eAAgB,SAAQ,kBAAkB;IACrD,kBAAkB;IAClB,SAAS,CAAC,4BAA4B,IAAI,MAAM;CAGjD"}
1
+ {"version":3,"file":"transferBuilder.d.ts","sourceRoot":"","sources":["../../../src/lib/transferBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,12 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TransferBuilder = void 0;
4
- const abstract_eth_1 = require("@bitgo-beta/abstract-eth");
5
- class TransferBuilder extends abstract_eth_1.TransferBuilder {
6
- /** @inheritdoc */
7
- getNativeOperationHashPrefix() {
8
- return 'OPETH';
9
- }
10
- }
11
- exports.TransferBuilder = TransferBuilder;
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmZXJCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi90cmFuc2ZlckJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkRBQWlGO0FBRWpGLE1BQWEsZUFBZ0IsU0FBUSw4QkFBa0I7SUFDckQsa0JBQWtCO0lBQ1IsNEJBQTRCO1FBQ3BDLE9BQU8sT0FBTyxDQUFDO0lBQ2pCLENBQUM7Q0FDRjtBQUxELDBDQUtDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVHJhbnNmZXJCdWlsZGVyIGFzIEV0aFRyYW5zZmVyQnVpbGRlciB9IGZyb20gJ0BiaXRnby1iZXRhL2Fic3RyYWN0LWV0aCc7XG5cbmV4cG9ydCBjbGFzcyBUcmFuc2ZlckJ1aWxkZXIgZXh0ZW5kcyBFdGhUcmFuc2ZlckJ1aWxkZXIge1xuICAvKiogQGluaGVyaXRkb2MgKi9cbiAgcHJvdGVjdGVkIGdldE5hdGl2ZU9wZXJhdGlvbkhhc2hQcmVmaXgoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gJ09QRVRIJztcbiAgfVxufVxuIl19
4
+ var abstract_eth_1 = require("@bitgo-beta/abstract-eth");
5
+ Object.defineProperty(exports, "TransferBuilder", { enumerable: true, get: function () { return abstract_eth_1.TransferBuilder; } });
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmZXJCdWlsZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi90cmFuc2ZlckJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQTJEO0FBQWxELCtHQUFBLGVBQWUsT0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IFRyYW5zZmVyQnVpbGRlciB9IGZyb20gJ0BiaXRnby1iZXRhL2Fic3RyYWN0LWV0aCc7XG4iXX0=
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCommon = void 0;
3
+ exports.getCommon = getCommon;
4
4
  const statics_1 = require("@bitgo-beta/statics");
5
5
  const sdk_core_1 = require("@bitgo-beta/sdk-core");
6
6
  const resources_1 = require("./resources");
@@ -19,5 +19,4 @@ function getCommon(network) {
19
19
  }
20
20
  return common;
21
21
  }
22
- exports.getCommon = getCommon;
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3V0aWxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLGlEQUFrRDtBQUVsRCxtREFBK0Q7QUFDL0QsMkNBQTJEO0FBRTNELE1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Jyb3IoJ01pc3NpbmcgbmV0d29yayBjb21tb24gY29uZmlndXJhdGlvbicpO1xuICB9XG4gIHJldHVybiBjb21tb247XG59XG4iXX0=
@@ -9,10 +9,17 @@ export declare class Opeth extends AbstractEthLikeNewCoins {
9
9
  static createInstance(bitgo: BitGoBase, staticsCoin?: Readonly<StaticsBaseCoin>): BaseCoin;
10
10
  protected getTransactionBuilder(): EthLikeTransactionBuilder;
11
11
  /**
12
- * Make a query to Arbiscan for information such as balance, token balance, solidity calls
12
+ * Make a query to Optimism Etherscan for information such as balance, token balance, solidity calls
13
13
  * @param {Object} query key-value pairs of parameters to append after /api
14
- * @returns {Promise<Object>} response from Arbiscan
14
+ * @returns {Promise<Object>} response from Optimism Etherscan
15
15
  */
16
16
  recoveryBlockchainExplorerQuery(query: Record<string, string>): Promise<Record<string, unknown>>;
17
+ /**
18
+ * Check whether gas limit passed in by user are within our max and min bounds
19
+ * If they are not set, set them to the defaults
20
+ * @param {number} userGasLimit user defined gas limit
21
+ * @returns {number} the gas limit to use for this transaction
22
+ */
23
+ setGasLimit(userGasLimit?: number): number;
17
24
  }
18
25
  //# sourceMappingURL=opeth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"opeth.d.ts","sourceRoot":"","sources":["../../src/opeth.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAU,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAS,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAGpH,qBAAa,KAAM,SAAQ,uBAAuB;IAChD,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,SAAS,CAAC,qBAAqB,IAAI,yBAAyB;IAI5D;;;;OAIG;IACG,+BAA+B,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAgBvG"}
1
+ {"version":3,"file":"opeth.d.ts","sourceRoot":"","sources":["../../src/opeth.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAU,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAwB,MAAM,qBAAqB,CAAC;AACxF,OAAO,EACL,uBAAuB,EACvB,kBAAkB,IAAI,yBAAyB,EAEhD,MAAM,0BAA0B,CAAC;AAGlC,qBAAa,KAAM,SAAQ,uBAAuB;IAChD,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,SAAS,CAAC,qBAAqB,IAAI,yBAAyB;IAI5D;;;;OAIG;IACG,+BAA+B,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAMtG;;;;;OAKG;IACH,WAAW,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM;CAW3C"}
package/dist/src/opeth.js CHANGED
@@ -1,13 +1,9 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Opeth = void 0;
2
4
  /**
3
5
  * @prettier
4
6
  */
5
- var __importDefault = (this && this.__importDefault) || function (mod) {
6
- return (mod && mod.__esModule) ? mod : { "default": mod };
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.Opeth = void 0;
10
- const superagent_1 = __importDefault(require("superagent"));
11
7
  const sdk_core_1 = require("@bitgo-beta/sdk-core");
12
8
  const statics_1 = require("@bitgo-beta/statics");
13
9
  const abstract_eth_1 = require("@bitgo-beta/abstract-eth");
@@ -23,24 +19,32 @@ class Opeth extends abstract_eth_1.AbstractEthLikeNewCoins {
23
19
  return new lib_1.TransactionBuilder(statics_1.coins.get(this.getBaseChain()));
24
20
  }
25
21
  /**
26
- * Make a query to Arbiscan for information such as balance, token balance, solidity calls
22
+ * Make a query to Optimism Etherscan for information such as balance, token balance, solidity calls
27
23
  * @param {Object} query key-value pairs of parameters to append after /api
28
- * @returns {Promise<Object>} response from Arbiscan
24
+ * @returns {Promise<Object>} response from Optimism Etherscan
29
25
  */
30
26
  async recoveryBlockchainExplorerQuery(query) {
31
- const token = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanApiToken;
32
- if (token) {
33
- query.apikey = token;
34
- }
35
- const response = await superagent_1.default.get(sdk_core_1.common.Environments[this.bitgo.getEnv()].arbiscanBaseUrl + '/api').query(query);
36
- if (!response.ok) {
37
- throw new Error('could not reach Optimism Etherscan');
27
+ const apiToken = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanApiToken;
28
+ const explorerUrl = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanBaseUrl;
29
+ return await (0, abstract_eth_1.recoveryBlockchainExplorerQuery)(query, explorerUrl, apiToken);
30
+ }
31
+ /**
32
+ * Check whether gas limit passed in by user are within our max and min bounds
33
+ * If they are not set, set them to the defaults
34
+ * @param {number} userGasLimit user defined gas limit
35
+ * @returns {number} the gas limit to use for this transaction
36
+ */
37
+ setGasLimit(userGasLimit) {
38
+ if (!userGasLimit) {
39
+ return statics_1.ethGasConfigs.defaultGasLimit;
38
40
  }
39
- if (response.body.status === '0' && response.body.message === 'NOTOK') {
40
- throw new Error('Optimism Etherscan rate limit reached');
41
+ const gasLimitMax = statics_1.ethGasConfigs.maximumGasLimit;
42
+ const gasLimitMin = statics_1.ethGasConfigs.newEthLikeCoinsMinGasLimit;
43
+ if (userGasLimit < gasLimitMin || userGasLimit > gasLimitMax) {
44
+ throw new Error(`Gas limit must be between ${gasLimitMin} and ${gasLimitMax}`);
41
45
  }
42
- return response.body;
46
+ return userGasLimit;
43
47
  }
44
48
  }
45
49
  exports.Opeth = Opeth;
46
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BldGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvb3BldGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOztHQUVHOzs7Ozs7QUFFSCw0REFBaUM7QUFDakMsbURBQW1FO0FBQ25FLGlEQUF5RTtBQUN6RSwyREFBb0g7QUFDcEgsK0JBQTJDO0FBRTNDLE1BQWEsS0FBTSxTQUFRLHNDQUF1QjtJQUNoRCxZQUFzQixLQUFnQixFQUFFLFdBQXVDO1FBQzdFLEtBQUssQ0FBQyxLQUFLLEVBQUUsV0FBVyxDQUFDLENBQUM7SUFDNUIsQ0FBQztJQUVELE1BQU0sQ0FBQyxjQUFjLENBQUMsS0FBZ0IsRUFBRSxXQUF1QztRQUM3RSxPQUFPLElBQUksS0FBSyxDQUFDLEtBQUssRUFBRSxXQUFXLENBQUMsQ0FBQztJQUN2QyxDQUFDO0lBRVMscUJBQXFCO1FBQzdCLE9BQU8sSUFBSSx3QkFBa0IsQ0FBQyxlQUFLLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxZQUFZLEVBQUUsQ0FBQyxDQUFDLENBQUM7SUFDaEUsQ0FBQztJQUVEOzs7O09BSUc7SUFDSCxLQUFLLENBQUMsK0JBQStCLENBQUMsS0FBNkI7UUFDakUsTUFBTSxLQUFLLEdBQUcsaUJBQU0sQ0FBQyxZQUFZLENBQUMsSUFBSSx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ucyB7UHJvbWlzZTxPYmplY3Q+fSByZXNwb25zZSBmcm9tIEFyYmlzY2FuXG4gICAqL1xuICBhc3luYyByZWNvdmVyeUJsb2NrY2hhaW5FeHBsb3JlclF1ZXJ5KHF1ZXJ5OiBSZWNvcmQ8c3RyaW5nLCBzdHJpbmc+KTogUHJvbWlzZTxSZWNvcmQ8c3RyaW5nLCB1bmtub3duPj4ge1xuICAgIGNvbnN0IHRva2VuID0gY29tbW9uLkVudmlyb25tZW50c1t0aGlzLmJpdGdvLmdldEVudigpXS5vcHRpbWlzdGljRXRoZXJzY2FuQXBpVG9rZW47XG4gICAgaWYgKHRva2VuKSB7XG4gICAgICBxdWVyeS5hcGlrZXkgPSB0b2tlbjtcbiAgICB9XG4gICAgY29uc3QgcmVzcG9uc2UgPSBhd2FpdCByZXF1ZXN0LmdldChjb21tb24uRW52aXJvbm1lbnRzW3RoaXMuYml0Z28uZ2V0RW52KCldLmFyYmlzY2FuQmFzZVVybCArICcvYXBpJykucXVlcnkocXVlcnkpO1xuXG4gICAgaWYgKCFyZXNwb25zZS5vaykge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKCdjb3VsZCBub3QgcmVhY2ggT3B0aW1pc20gRXRoZXJzY2FuJyk7XG4gICAgfVxuXG4gICAgaWYgKHJlc3BvbnNlLmJvZHkuc3RhdHVzID09PSAnMCcgJiYgcmVzcG9uc2UuYm9keS5tZXNzYWdlID09PSAnTk9UT0snKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ09wdGltaXNtIEV0aGVyc2NhbiByYXRlIGxpbWl0IHJlYWNoZWQnKTtcbiAgICB9XG4gICAgcmV0dXJuIHJlc3BvbnNlLmJvZHk7XG4gIH1cbn1cbiJdfQ==
50
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BldGguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvb3BldGgudHMiXSwibmFtZXMiOltdLC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GltaXQgPiBnYXNMaW1pdE1heCkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKGBHYXMgbGltaXQgbXVzdCBiZSBiZXR3ZWVuICR7Z2FzTGltaXRNaW59IGFuZCAke2dhc0xpbWl0TWF4fWApO1xuICAgIH1cbiAgICByZXR1cm4gdXNlckdhc0xpbWl0O1xuICB9XG59XG4iXX0=
@@ -13,6 +13,12 @@ export declare class OpethToken extends EthLikeToken {
13
13
  static createTokenConstructor(config: EthLikeTokenConfig): CoinConstructor;
14
14
  static createTokenConstructors(): NamedCoinConstructor[];
15
15
  protected getTransactionBuilder(): TransactionBuilder;
16
+ /**
17
+ * Make a query to Optimism Etherscan for information such as balance, token balance, solidity calls
18
+ * @param {Object} query key-value pairs of parameters to append after /api
19
+ * @returns {Promise<Object>} response from Optimism Etherscan
20
+ */
21
+ recoveryBlockchainExplorerQuery(query: Record<string, string>): Promise<Record<string, unknown>>;
16
22
  getFullName(): string;
17
23
  }
18
24
  //# sourceMappingURL=opethToken.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"opethToken.d.ts","sourceRoot":"","sources":["../../src/opethToken.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAS,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAEnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,qBAAa,UAAW,SAAQ,YAAY;IAC1C,SAAgB,WAAW,EAAE,kBAAkB,CAAC;IAChD,MAAM,CAAC,SAAS,EAAE,SAAS,CAGzB;gBACU,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,kBAAkB;IAG7D,MAAM,CAAC,sBAAsB,CAAC,MAAM,EAAE,kBAAkB,GAAG,eAAe;IAI1E,MAAM,CAAC,uBAAuB,IAAI,oBAAoB,EAAE;IAIxD,SAAS,CAAC,qBAAqB,IAAI,kBAAkB;IAIrD,WAAW,IAAI,MAAM;CAGtB"}
1
+ {"version":3,"file":"opethToken.d.ts","sourceRoot":"","sources":["../../src/opethToken.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAS,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,oBAAoB,EAAU,MAAM,sBAAsB,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,YAAY,EAAmC,MAAM,0BAA0B,CAAC;AAEpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAE9B,qBAAa,UAAW,SAAQ,YAAY;IAC1C,SAAgB,WAAW,EAAE,kBAAkB,CAAC;IAChD,MAAM,CAAC,SAAS,EAAE,SAAS,CAGzB;gBACU,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,kBAAkB;IAG7D,MAAM,CAAC,sBAAsB,CAAC,MAAM,EAAE,kBAAkB,GAAG,eAAe;IAI1E,MAAM,CAAC,uBAAuB,IAAI,oBAAoB,EAAE;IAIxD,SAAS,CAAC,qBAAqB,IAAI,kBAAkB;IAIrD;;;;OAIG;IACG,+BAA+B,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAMtG,WAAW,IAAI,MAAM;CAGtB"}
@@ -5,6 +5,7 @@ exports.OpethToken = void 0;
5
5
  * @prettier
6
6
  */
7
7
  const statics_1 = require("@bitgo-beta/statics");
8
+ const sdk_core_1 = require("@bitgo-beta/sdk-core");
8
9
  const abstract_eth_1 = require("@bitgo-beta/abstract-eth");
9
10
  const lib_1 = require("./lib");
10
11
  class OpethToken extends abstract_eth_1.EthLikeToken {
@@ -20,6 +21,16 @@ class OpethToken extends abstract_eth_1.EthLikeToken {
20
21
  getTransactionBuilder() {
21
22
  return new lib_1.TransactionBuilder(statics_1.coins.get(this.getBaseChain()));
22
23
  }
24
+ /**
25
+ * Make a query to Optimism Etherscan for information such as balance, token balance, solidity calls
26
+ * @param {Object} query key-value pairs of parameters to append after /api
27
+ * @returns {Promise<Object>} response from Optimism Etherscan
28
+ */
29
+ async recoveryBlockchainExplorerQuery(query) {
30
+ const apiToken = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanApiToken;
31
+ const explorerUrl = sdk_core_1.common.Environments[this.bitgo.getEnv()].optimisticEtherscanBaseUrl;
32
+ return await (0, abstract_eth_1.recoveryBlockchainExplorerQuery)(query, explorerUrl, apiToken);
33
+ }
23
34
  getFullName() {
24
35
  return 'Opeth Token';
25
36
  }
@@ -29,4 +40,4 @@ OpethToken.coinNames = {
29
40
  Mainnet: 'opeth',
30
41
  Testnet: 'topeth',
31
42
  };
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BldGhUb2tlbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9vcGV0aFRva2VuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBOztHQUVHO0FBQ0gsaURBQWdFO0FBRWhFLDJEQUFtRTtBQUVuRSwrQkFBMkM7QUFHM0MsTUFBYSxVQUFXLFNBQVEsMkJBQVk7SUFNMUMsWUFBWSxLQUFnQixFQUFFLFdBQStCO1FBQzNELEtBQUssQ0FBQyxLQUFLLEVBQUUsV0FBVyxFQUFFLFVBQVUsQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUNsRCxDQUFDO0lBQ0QsTUFBTSxDQUFDLHNCQUFzQixDQUFDLE1BQTBCO1FBQ3RELE9BQU8sS0FBSyxDQUFDLHNCQUFzQixDQUFDLE1BQU0sRUF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3ZlcnlCbG9ja2NoYWluRXhwbG9yZXJRdWVyeShxdWVyeTogUmVjb3JkPHN0cmluZywgc3RyaW5nPik6IFByb21pc2U8UmVjb3JkPHN0cmluZywgdW5rbm93bj4+IHtcbiAgICBjb25zdCBhcGlUb2tlbiA9IGNvbW1vbi5FbnZpcm9ubWVudHNbdGhpcy5iaXRnby5nZXRFbnYoKV0ub3B0aW1pc3RpY0V0aGVyc2NhbkFwaVRva2VuO1xuICAgIGNvbnN0IGV4cGxvcmVyVXJsID0gY29tbW9uLkVudmlyb25tZW50c1t0aGlzLmJpdGdvLmdldEVudigpXS5vcHRpbWlzdGljRXRoZXJzY2FuQmFzZVVybDtcbiAgICByZXR1cm4gYXdhaXQgcmVjb3ZlcnlCbG9ja2NoYWluRXhwbG9yZXJRdWVyeShxdWVyeSwgZXhwbG9yZXJVcmwgYXMgc3RyaW5nLCBhcGlUb2tlbik7XG4gIH1cblxuICBnZXRGdWxsTmFtZSgpOiBzdHJpbmcge1xuICAgIHJldHVybiAnT3BldGggVG9rZW4nO1xuICB9XG59XG4iXX0=
@@ -1 +1 @@
1
- {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../src/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,eAAO,MAAM,QAAQ,QAAS,SAAS,KAAG,IAGzC,CAAC"}
1
+ {"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../src/register.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,eAAO,MAAM,QAAQ,QAAS,SAAS,KAAG,IAMzC,CAAC"}
@@ -3,9 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.register = void 0;
4
4
  const opeth_1 = require("./opeth");
5
5
  const topeth_1 = require("./topeth");
6
+ const opethToken_1 = require("./opethToken");
6
7
  const register = (sdk) => {
7
8
  sdk.register('opeth', opeth_1.Opeth.createInstance);
8
9
  sdk.register('topeth', topeth_1.Topeth.createInstance);
10
+ opethToken_1.OpethToken.createTokenConstructors().forEach(({ name, coinConstructor }) => {
11
+ sdk.register(name, coinConstructor);
12
+ });
9
13
  };
10
14
  exports.register = register;
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvcmVnaXN0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsbUNBQWdDO0FBQ2hDLHFDQUFrQztBQUUzQixNQUFNLFFBQVEsR0FBRyxDQUFDLEdBQWMsRUFBUSxFQUFFO0lBQy9DLEdBQUcsQ0FBQyxRQUFRLENBQUMsT0FBTyxFQUFFLGFBQUssQ0FBQyxjQUFjLENBQUMsQ0FBQztJQUM1QyxHQUFHLENBQUMsUUFBUSxDQUFDLFFBQVEsRUFBRSxlQUFNLENBQUMsY0FBYyxDQUFDLENBQUM7QUFDaEQsQ0FBQyxDQUFDO0FBSFcsUUFBQSxRQUFRLFlBR25CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQml0R29CYXNlIH0gZnJvbSAnQGJpdGdvLWJldGEvc2RrLWNvcmUnO1xuaW1wb3J0IHsgT3BldGggfSBmcm9tICcuL29wZXRoJztcbmltcG9ydCB7IFRvcGV0aCB9IGZyb20gJy4vdG9wZXRoJztcblxuZXhwb3J0IGNvbnN0IHJlZ2lzdGVyID0gKHNkazogQml0R29CYXNlKTogdm9pZCA9PiB7XG4gIHNkay5yZWdpc3Rlcignb3BldGgnLCBPcGV0aC5jcmVhdGVJbnN0YW5jZSk7XG4gIHNkay5yZWdpc3RlcigndG9wZXRoJywgVG9wZXRoLmNyZWF0ZUluc3RhbmNlKTtcbn07XG4iXX0=
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN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KCd0b3BldGgnLCBUb3BldGguY3JlYXRlSW5zdGFuY2UpO1xuICBPcGV0aFRva2VuLmNyZWF0ZVRva2VuQ29uc3RydWN0b3JzKCkuZm9yRWFjaCgoeyBuYW1lLCBjb2luQ29uc3RydWN0b3IgfSkgPT4ge1xuICAgIHNkay5yZWdpc3RlcihuYW1lLCBjb2luQ29uc3RydWN0b3IpO1xuICB9KTtcbn07XG4iXX0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-opeth",
3
- "version": "1.0.1-beta.60",
3
+ "version": "1.0.1-beta.600",
4
4
  "description": "BitGo SDK coin library for Optimism",
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": ">=16 <21"
21
+ "node": ">=18 <21"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
@@ -40,17 +40,18 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo-beta/abstract-eth": "1.0.2-beta.435",
44
- "@bitgo-beta/sdk-core": "8.2.1-beta.204",
45
- "@bitgo-beta/statics": "15.1.1-beta.207",
46
- "@bitgo-beta/utxo-lib": "8.0.3-beta.205",
43
+ "@bitgo-beta/abstract-eth": "1.0.2-beta.978",
44
+ "@bitgo-beta/sdk-core": "8.2.1-beta.748",
45
+ "@bitgo-beta/secp256k1": "1.0.2-beta.774",
46
+ "@bitgo-beta/statics": "15.1.1-beta.751",
47
47
  "@ethereumjs/common": "^2.6.5",
48
- "superagent": "^3.8.3"
48
+ "ethereumjs-abi": "^0.6.5",
49
+ "ethereumjs-util": "7.1.5"
49
50
  },
50
51
  "devDependencies": {
51
- "@bitgo-beta/sdk-api": "1.10.1-beta.204",
52
- "@bitgo-beta/sdk-test": "^1.2.51",
53
- "secp256k1": "5.0.0"
52
+ "@bitgo-beta/sdk-api": "1.10.1-beta.747",
53
+ "@bitgo-beta/sdk-test": "^8.0.74",
54
+ "secp256k1": "5.0.1"
54
55
  },
55
- "gitHead": "3d037e867d3979676dd7ac34c79ee7c8d7aa0749"
56
+ "gitHead": "7a14ea485f03486aedb4fac3610db8c9f44a500b"
56
57
  }