@bitgo-beta/abstract-eth 1.2.3-alpha.93 → 1.2.3-alpha.94

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,183 @@
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
+ # [8.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@1.4.0...@bitgo/abstract-eth@8.0.0) (2023-12-05)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
11
+
12
+ ### Code Refactoring
13
+
14
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
15
+ - **abstract-eth:** delete mpc related classes ([52396ed](https://github.com/BitGo/BitGoJS/commit/52396ed5aae8b27f0cc6caee7011a7c6882b9dea))
16
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
17
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
18
+
19
+ ### Features
20
+
21
+ - **abstract-eth:** add abstractethliketsscoin class ([eb99545](https://github.com/BitGo/BitGoJS/commit/eb995457d7787af073f0a9eafe6e4d420228f5f0))
22
+
23
+ ### BREAKING CHANGES
24
+
25
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
26
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
27
+ getCustomChainName method is removed from Polygon class because a common
28
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
29
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
30
+ and needs to be passed to derive the Eth common object from the chainId.
31
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
32
+ it can be used for other EthLike coins. getBaseFactor method in Eth
33
+ and Polygon class returns number instead of string just to align with
34
+ AbstractEthLikeCoin
35
+ Ticket: WIN-1012
36
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
37
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
38
+ getCustomChainName method is removed from Polygon class because a common
39
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
40
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
41
+ and needs to be passed to derive the Eth common object from the chainId.
42
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
43
+ it can be used for other EthLike coins. getBaseFactor method in Eth
44
+ and Polygon class returns number instead of string just to align with
45
+ AbstractEthLikeCoin
46
+ Ticket: WIN-1012
47
+ - **abstract-eth:** AbstractEthLikeMPCCoin and EthLikeMPCToken classes are removed as we have instead added
48
+ a new class AbstractEthLikeNewCoins which will be having both multisig
49
+ and MPC related methods
50
+
51
+ TICKET: WIN-1021
52
+
53
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
54
+ class in abstract-eth module because TransactionBuilder in the
55
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
56
+ be added to the class that will inherit EthLikeToken class
57
+
58
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
59
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
60
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
61
+ support for hop transactions, batch transactions, etc
62
+
63
+ TICKET: WIN-1021
64
+
65
+ # [7.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@1.4.0...@bitgo/abstract-eth@7.0.0) (2023-11-28)
66
+
67
+ ### Bug Fixes
68
+
69
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
70
+
71
+ ### Code Refactoring
72
+
73
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
74
+ - **abstract-eth:** delete mpc related classes ([52396ed](https://github.com/BitGo/BitGoJS/commit/52396ed5aae8b27f0cc6caee7011a7c6882b9dea))
75
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
76
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
77
+
78
+ ### Features
79
+
80
+ - **abstract-eth:** add abstractethliketsscoin class ([eb99545](https://github.com/BitGo/BitGoJS/commit/eb995457d7787af073f0a9eafe6e4d420228f5f0))
81
+
82
+ ### BREAKING CHANGES
83
+
84
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
85
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
86
+ getCustomChainName method is removed from Polygon class because a common
87
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
88
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
89
+ and needs to be passed to derive the Eth common object from the chainId.
90
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
91
+ it can be used for other EthLike coins. getBaseFactor method in Eth
92
+ and Polygon class returns number instead of string just to align with
93
+ AbstractEthLikeCoin
94
+ Ticket: WIN-1012
95
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
96
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
97
+ getCustomChainName method is removed from Polygon class because a common
98
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
99
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
100
+ and needs to be passed to derive the Eth common object from the chainId.
101
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
102
+ it can be used for other EthLike coins. getBaseFactor method in Eth
103
+ and Polygon class returns number instead of string just to align with
104
+ AbstractEthLikeCoin
105
+ Ticket: WIN-1012
106
+ - **abstract-eth:** AbstractEthLikeMPCCoin and EthLikeMPCToken classes are removed as we have instead added
107
+ a new class AbstractEthLikeNewCoins which will be having both multisig
108
+ and MPC related methods
109
+
110
+ TICKET: WIN-1021
111
+
112
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
113
+ class in abstract-eth module because TransactionBuilder in the
114
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
115
+ be added to the class that will inherit EthLikeToken class
116
+
117
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
118
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
119
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
120
+ support for hop transactions, batch transactions, etc
121
+
122
+ TICKET: WIN-1021
123
+
124
+ # [6.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@1.4.0...@bitgo/abstract-eth@6.0.0) (2023-11-24)
125
+
126
+ ### Bug Fixes
127
+
128
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
129
+
130
+ ### Code Refactoring
131
+
132
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
133
+ - **abstract-eth:** delete mpc related classes ([52396ed](https://github.com/BitGo/BitGoJS/commit/52396ed5aae8b27f0cc6caee7011a7c6882b9dea))
134
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
135
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
136
+
137
+ ### Features
138
+
139
+ - **abstract-eth:** add abstractethliketsscoin class ([eb99545](https://github.com/BitGo/BitGoJS/commit/eb995457d7787af073f0a9eafe6e4d420228f5f0))
140
+
141
+ ### BREAKING CHANGES
142
+
143
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
144
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
145
+ getCustomChainName method is removed from Polygon class because a common
146
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
147
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
148
+ and needs to be passed to derive the Eth common object from the chainId.
149
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
150
+ it can be used for other EthLike coins. getBaseFactor method in Eth
151
+ and Polygon class returns number instead of string just to align with
152
+ AbstractEthLikeCoin
153
+ Ticket: WIN-1012
154
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
155
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
156
+ getCustomChainName method is removed from Polygon class because a common
157
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
158
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
159
+ and needs to be passed to derive the Eth common object from the chainId.
160
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
161
+ it can be used for other EthLike coins. getBaseFactor method in Eth
162
+ and Polygon class returns number instead of string just to align with
163
+ AbstractEthLikeCoin
164
+ Ticket: WIN-1012
165
+ - **abstract-eth:** AbstractEthLikeMPCCoin and EthLikeMPCToken classes are removed as we have instead added
166
+ a new class AbstractEthLikeNewCoins which will be having both multisig
167
+ and MPC related methods
168
+
169
+ TICKET: WIN-1021
170
+
171
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
172
+ class in abstract-eth module because TransactionBuilder in the
173
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
174
+ be added to the class that will inherit EthLikeToken class
175
+
176
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
177
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
178
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
179
+ support for hop transactions, batch transactions, etc
180
+
181
+ TICKET: WIN-1021
182
+
6
183
  # [5.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@1.4.0...@bitgo/abstract-eth@5.0.0) (2023-11-17)
7
184
 
8
185
  ### Bug Fixes