@bitgo/sdk-coin-polygon 6.0.0 → 7.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 +41 -0
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
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-polygon@1.7.0...@bitgo/sdk-coin-polygon@7.0.0) (2023-11-28)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
11
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
12
+
13
+ ### Code Refactoring
14
+
15
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
16
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
17
+
18
+ ### Features
19
+
20
+ - update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))
21
+
22
+ ### BREAKING CHANGES
23
+
24
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
25
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
26
+ getCustomChainName method is removed from Polygon class because a common
27
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
28
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
29
+ and needs to be passed to derive the Eth common object from the chainId.
30
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
31
+ it can be used for other EthLike coins. getBaseFactor method in Eth
32
+ and Polygon class returns number instead of string just to align with
33
+ AbstractEthLikeCoin
34
+ Ticket: WIN-1012
35
+ - **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
36
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
37
+ getCustomChainName method is removed from Polygon class because a common
38
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
39
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
40
+ and needs to be passed to derive the Eth common object from the chainId.
41
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
42
+ it can be used for other EthLike coins. getBaseFactor method in Eth
43
+ and Polygon class returns number instead of string just to align with
44
+ AbstractEthLikeCoin
45
+ Ticket: WIN-1012
46
+
6
47
  # [6.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-polygon@1.7.0...@bitgo/sdk-coin-polygon@6.0.0) (2023-11-24)
7
48
 
8
49
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/sdk-coin-polygon",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "description": "BitGo SDK coin library for Polygon",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -40,18 +40,18 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo/abstract-eth": "^6.0.0",
44
- "@bitgo/sdk-core": "^13.0.0",
43
+ "@bitgo/abstract-eth": "^7.0.0",
44
+ "@bitgo/sdk-core": "^14.0.0",
45
45
  "@bitgo/sjcl": "^1.0.1",
46
- "@bitgo/statics": "^34.0.0",
47
- "@bitgo/utxo-lib": "^9.21.0",
46
+ "@bitgo/statics": "^35.0.0",
47
+ "@bitgo/utxo-lib": "^9.22.0",
48
48
  "@ethereumjs/common": "^2.6.5",
49
49
  "superagent": "^3.8.3"
50
50
  },
51
51
  "devDependencies": {
52
- "@bitgo/sdk-api": "^1.29.0",
53
- "@bitgo/sdk-test": "^1.2.48",
52
+ "@bitgo/sdk-api": "^1.30.0",
53
+ "@bitgo/sdk-test": "^1.2.49",
54
54
  "secp256k1": "5.0.0"
55
55
  },
56
- "gitHead": "4aeaec52f6ad58060966c33440ea720dcc04faf5"
56
+ "gitHead": "132200b0bd403c02e20dc13df337a40968a2f830"
57
57
  }