@bitgo-beta/sdk-coin-eth 4.4.1-beta.168 → 4.4.1-beta.169

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +126 -0
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,132 @@
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
+ # [7.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@7.0.0) (2023-11-13)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
11
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
12
+
13
+ ### Code Refactoring
14
+
15
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
16
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
17
+
18
+ ### Features
19
+
20
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
21
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
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:** getTransactionBuilder method is removed from EthLikeToken
37
+ class in abstract-eth module because TransactionBuilder in the
38
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
39
+ be added to the class that will inherit EthLikeToken class
40
+
41
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
42
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
43
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
44
+ support for hop transactions, batch transactions, etc
45
+
46
+ TICKET: WIN-1021
47
+
48
+ # [6.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@6.0.0) (2023-11-13)
49
+
50
+ ### Bug Fixes
51
+
52
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
53
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
54
+
55
+ ### Code Refactoring
56
+
57
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
58
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
59
+
60
+ ### Features
61
+
62
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
63
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
64
+
65
+ ### BREAKING CHANGES
66
+
67
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
68
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
69
+ getCustomChainName method is removed from Polygon class because a common
70
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
71
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
72
+ and needs to be passed to derive the Eth common object from the chainId.
73
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
74
+ it can be used for other EthLike coins. getBaseFactor method in Eth
75
+ and Polygon class returns number instead of string just to align with
76
+ AbstractEthLikeCoin
77
+ Ticket: WIN-1012
78
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
79
+ class in abstract-eth module because TransactionBuilder in the
80
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
81
+ be added to the class that will inherit EthLikeToken class
82
+
83
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
84
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
85
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
86
+ support for hop transactions, batch transactions, etc
87
+
88
+ TICKET: WIN-1021
89
+
90
+ # [5.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@5.0.0) (2023-11-13)
91
+
92
+ ### Bug Fixes
93
+
94
+ - **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
95
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
96
+
97
+ ### Code Refactoring
98
+
99
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
100
+ - **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))
101
+
102
+ ### Features
103
+
104
+ - **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
105
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
106
+
107
+ ### BREAKING CHANGES
108
+
109
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
110
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
111
+ getCustomChainName method is removed from Polygon class because a common
112
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
113
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
114
+ and needs to be passed to derive the Eth common object from the chainId.
115
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
116
+ it can be used for other EthLike coins. getBaseFactor method in Eth
117
+ and Polygon class returns number instead of string just to align with
118
+ AbstractEthLikeCoin
119
+ Ticket: WIN-1012
120
+ - **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
121
+ class in abstract-eth module because TransactionBuilder in the
122
+ abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
123
+ be added to the class that will inherit EthLikeToken class
124
+
125
+ TransactionPrebuild from new class AbstractEthLikeNewCoins is being
126
+ exported now instead of TransactionPrebuild from AbstractEthLikeCoin
127
+ class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
128
+ support for hop transactions, batch transactions, etc
129
+
130
+ TICKET: WIN-1021
131
+
6
132
  # [4.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-eth@4.7.0...@bitgo/sdk-coin-eth@4.10.0) (2023-10-20)
7
133
 
8
134
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-eth",
3
- "version": "4.4.1-beta.168",
3
+ "version": "4.4.1-beta.169",
4
4
  "description": "BitGo SDK coin library for Ethereum",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -40,10 +40,10 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo-beta/abstract-eth": "1.0.2-beta.399",
44
- "@bitgo-beta/sdk-core": "8.2.1-beta.168",
45
- "@bitgo-beta/statics": "15.1.1-beta.171",
46
- "@bitgo-beta/utxo-lib": "8.0.3-beta.169",
43
+ "@bitgo-beta/abstract-eth": "1.0.2-beta.400",
44
+ "@bitgo-beta/sdk-core": "8.2.1-beta.169",
45
+ "@bitgo-beta/statics": "15.1.1-beta.172",
46
+ "@bitgo-beta/utxo-lib": "8.0.3-beta.170",
47
47
  "@ethereumjs/tx": "^3.3.0",
48
48
  "@ethereumjs/util": "8.0.3",
49
49
  "ethereumjs-abi": "^0.6.5",
@@ -54,9 +54,9 @@
54
54
  "superagent": "^3.8.3"
55
55
  },
56
56
  "devDependencies": {
57
- "@bitgo-beta/sdk-api": "1.10.1-beta.168",
58
- "@bitgo-beta/sdk-test": "^1.2.43",
57
+ "@bitgo-beta/sdk-api": "1.10.1-beta.169",
58
+ "@bitgo-beta/sdk-test": "^1.2.46",
59
59
  "tweetnacl": "^1.0.3"
60
60
  },
61
- "gitHead": "93f00090010abeb28949bf55975bcdda082968cc"
61
+ "gitHead": "c8d083b9f404a38508c99fe6a14845430ab8bf4b"
62
62
  }