@bitgo-beta/abstract-eth 1.0.2-beta.414 → 1.0.2-beta.416

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 +59 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,65 @@
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/abstract-eth@1.4.0...@bitgo/abstract-eth@7.0.0) (2023-11-28)
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
+
6
65
  # [6.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/abstract-eth@1.4.0...@bitgo/abstract-eth@6.0.0) (2023-11-24)
7
66
 
8
67
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo-beta/abstract-eth",
3
- "version": "1.0.2-beta.414",
3
+ "version": "1.0.2-beta.416",
4
4
  "description": "BitGo SDK coin library for ETH base implementation",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -37,10 +37,10 @@
37
37
  ]
38
38
  },
39
39
  "dependencies": {
40
- "@bitgo-beta/sdk-core": "8.2.1-beta.183",
41
- "@bitgo-beta/sdk-lib-mpc": "8.2.0-beta.175",
42
- "@bitgo-beta/statics": "15.1.1-beta.186",
43
- "@bitgo-beta/utxo-lib": "8.0.3-beta.184",
40
+ "@bitgo-beta/sdk-core": "8.2.1-beta.185",
41
+ "@bitgo-beta/sdk-lib-mpc": "8.2.0-beta.177",
42
+ "@bitgo-beta/statics": "15.1.1-beta.188",
43
+ "@bitgo-beta/utxo-lib": "8.0.3-beta.186",
44
44
  "@ethereumjs/common": "^2.6.5",
45
45
  "@ethereumjs/tx": "^3.3.0",
46
46
  "@metamask/eth-sig-util": "^5.0.2",
@@ -54,5 +54,5 @@
54
54
  "lodash": "4.17.21",
55
55
  "secp256k1": "5.0.0"
56
56
  },
57
- "gitHead": "4ed251a2f69cb930cc8ae3bf3e39e41441025d4a"
57
+ "gitHead": "d3c0a1f84926d42e5770beff42845e3df18fd840"
58
58
  }