@bitgo-beta/sdk-coin-polygon 1.3.3-alpha.96 → 1.3.3-alpha.97

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 +9 -9
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
+ # [14.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-polygon@1.7.0...@bitgo/sdk-coin-polygon@14.0.0) (2024-01-22)
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
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
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:** 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
+
48
+ # [13.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-polygon@1.7.0...@bitgo/sdk-coin-polygon@13.0.0) (2024-01-09)
49
+
50
+ ### Bug Fixes
51
+
52
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
53
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
54
+
55
+ ### Code Refactoring
56
+
57
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
58
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
59
+
60
+ ### Features
61
+
62
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
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:** Type of nextContractSequenceId field in TransactionPrebuild
79
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
80
+ getCustomChainName method is removed from Polygon class because a common
81
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
82
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
83
+ and needs to be passed to derive the Eth common object from the chainId.
84
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
85
+ it can be used for other EthLike coins. getBaseFactor method in Eth
86
+ and Polygon class returns number instead of string just to align with
87
+ AbstractEthLikeCoin
88
+ Ticket: WIN-1012
89
+
90
+ # [12.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-polygon@1.7.0...@bitgo/sdk-coin-polygon@12.0.0) (2024-01-03)
91
+
92
+ ### Bug Fixes
93
+
94
+ - **sdk-coin-eth:** fix issue related to ethtxbuilder ([286ccfd](https://github.com/BitGo/BitGoJS/commit/286ccfd4bc89075fd2d8c59d3770dc3b8cd78c79))
95
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
96
+
97
+ ### Code Refactoring
98
+
99
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
100
+ - **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
101
+
102
+ ### Features
103
+
104
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
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:** Type of nextContractSequenceId field in TransactionPrebuild
121
+ interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
122
+ getCustomChainName method is removed from Polygon class because a common
123
+ method getCustomChainCommon has been added to AbstractEthLikeNewCoins
124
+ class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
125
+ and needs to be passed to derive the Eth common object from the chainId.
126
+ signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
127
+ it can be used for other EthLike coins. getBaseFactor method in Eth
128
+ and Polygon class returns number instead of string just to align with
129
+ AbstractEthLikeCoin
130
+ Ticket: WIN-1012
131
+
6
132
  # [11.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-polygon@1.7.0...@bitgo/sdk-coin-polygon@11.0.0) (2023-12-18)
7
133
 
8
134
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo-beta/sdk-coin-polygon",
3
- "version": "1.3.3-alpha.96",
3
+ "version": "1.3.3-alpha.97",
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-beta/abstract-eth": "1.2.3-alpha.97",
44
- "@bitgo-beta/sdk-core": "2.4.1-alpha.97",
45
- "@bitgo-beta/sjcl": "1.0.1-alpha.46",
46
- "@bitgo-beta/statics": "10.0.1-alpha.97",
47
- "@bitgo-beta/utxo-lib": "4.0.1-alpha.97",
43
+ "@bitgo-beta/abstract-eth": "1.2.3-alpha.98",
44
+ "@bitgo-beta/sdk-core": "2.4.1-alpha.98",
45
+ "@bitgo-beta/sjcl": "1.0.1-alpha.47",
46
+ "@bitgo-beta/statics": "10.0.1-alpha.98",
47
+ "@bitgo-beta/utxo-lib": "4.0.1-alpha.98",
48
48
  "@ethereumjs/common": "^2.6.5",
49
49
  "superagent": "^3.8.3"
50
50
  },
51
51
  "devDependencies": {
52
- "@bitgo-beta/sdk-api": "1.6.1-alpha.97",
53
- "@bitgo-beta/sdk-test": "^1.2.53",
52
+ "@bitgo-beta/sdk-api": "1.6.1-alpha.98",
53
+ "@bitgo-beta/sdk-test": "^3.0.0",
54
54
  "secp256k1": "5.0.0"
55
55
  },
56
- "gitHead": "9f12528ef5192b131f79a84aeb370477cd2cf32b"
56
+ "gitHead": "5b22fd7612bf0a35603e95bbd758109be61ad7a8"
57
57
  }