@bitgo/sdk-coin-ethw 11.0.0 → 12.0.0

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 +24 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
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
+ # [12.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@12.0.0) (2024-01-03)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
11
+
12
+ ### Code Refactoring
13
+
14
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
15
+
16
+ ### BREAKING CHANGES
17
+
18
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
19
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
20
+ getCustomChainName method is removed from Polygon class because a common
21
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
22
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
23
+ and needs to be passed to derive the Eth common object from the chainId.
24
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
25
+ it can be used for other EthLike coins. getBaseFactor method in Eth
26
+ and Polygon class returns number instead of string just to align with
27
+ AbstractEthLikeCoin
28
+ Ticket: WIN-1012
29
+
6
30
  # [11.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-ethw@1.5.0...@bitgo/sdk-coin-ethw@11.0.0) (2023-12-18)
7
31
 
8
32
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/sdk-coin-ethw",
3
- "version": "11.0.0",
3
+ "version": "12.0.0",
4
4
  "description": "BitGo SDK coin library for Ethereum pow",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -40,15 +40,15 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo/sdk-coin-eth": "^14.0.0",
44
- "@bitgo/sdk-core": "^18.0.0",
45
- "@bitgo/statics": "^39.0.0",
43
+ "@bitgo/sdk-coin-eth": "^15.0.0",
44
+ "@bitgo/sdk-core": "^19.0.0",
45
+ "@bitgo/statics": "^40.0.0",
46
46
  "ethereumjs-util": "7.1.5",
47
47
  "superagent": "^3.8.3"
48
48
  },
49
49
  "devDependencies": {
50
- "@bitgo/sdk-api": "^1.34.0",
51
- "@bitgo/sdk-test": "^1.2.53"
50
+ "@bitgo/sdk-api": "^1.35.0",
51
+ "@bitgo/sdk-test": "^1.2.54"
52
52
  },
53
- "gitHead": "dd5f4f03a22573a1c12147e823a86d88882c3806"
53
+ "gitHead": "7532a29136795ebd4222fc324260db7518b5e9eb"
54
54
  }