@bitgo/sdk-coin-opeth 15.1.0 → 16.0.1

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 +42 -0
  2. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -3,6 +3,48 @@
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
+ ## [16.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-opeth@16.0.0...@bitgo/sdk-coin-opeth@16.0.1) (2024-02-22)
7
+
8
+ **Note:** Version bump only for package @bitgo/sdk-coin-opeth
9
+
10
+ # 16.0.0 (2024-02-19)
11
+
12
+ ### Bug Fixes
13
+
14
+ - **abstract-eth:** change tx encoding method for arb and op ([c11b0dd](https://github.com/BitGo/BitGoJS/commit/c11b0dd4705b0de4aaf9fff26eecf361d78b9f10))
15
+ - **abstract-eth:** fix chainid related changes ([c3a21c4](https://github.com/BitGo/BitGoJS/commit/c3a21c4cc470f2147c80e235607011bd4896f911))
16
+ - **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
17
+ - add opeth token support to register ([577ba12](https://github.com/BitGo/BitGoJS/commit/577ba12e3999124036fb880da32dec6f7380d1b9))
18
+ - **sdk-coin-opeth:** enable chainid change for opeth ([d1e0eea](https://github.com/BitGo/BitGoJS/commit/d1e0eeab31d969774bd862736539f7840f7e9fe2))
19
+ - **sdk-coin-opeth:** fix recover methods ([13264d8](https://github.com/BitGo/BitGoJS/commit/13264d87b7b0661ca002f55fdd41ba1c66b1e82b))
20
+ - **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))
21
+ - **statics:** make corrections for arbeth and opeth ([5dfc405](https://github.com/BitGo/BitGoJS/commit/5dfc405a36fc97b2c902fec44562b169d8013a18))
22
+
23
+ ### Code Refactoring
24
+
25
+ - **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
26
+
27
+ ### Features
28
+
29
+ - **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
30
+ - **abstract-eth:** add v4 forwarder creation logic ([25faaa3](https://github.com/BitGo/BitGoJS/commit/25faaa33723feb2a4f7ce7209a64841b438a4367))
31
+ - **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
32
+ - **sdk-coin-opeth:** add opeth tokens ([1e50329](https://github.com/BitGo/BitGoJS/commit/1e503292d26cb46ca3e2336a8514018ab09f6759))
33
+
34
+ ### BREAKING CHANGES
35
+
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
+
6
48
  # 15.0.0 (2024-01-30)
7
49
 
8
50
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/sdk-coin-opeth",
3
- "version": "15.1.0",
3
+ "version": "16.0.1",
4
4
  "description": "BitGo SDK coin library for Optimism",
5
5
  "main": "./dist/src/index.js",
6
6
  "types": "./dist/src/index.d.ts",
@@ -40,9 +40,9 @@
40
40
  ]
41
41
  },
42
42
  "dependencies": {
43
- "@bitgo/abstract-eth": "^18.1.0",
44
- "@bitgo/sdk-core": "^25.1.0",
45
- "@bitgo/statics": "^46.1.0",
43
+ "@bitgo/abstract-eth": "^19.0.1",
44
+ "@bitgo/sdk-core": "^26.1.0",
45
+ "@bitgo/statics": "^47.1.0",
46
46
  "@bitgo/utxo-lib": "^9.34.0",
47
47
  "@ethereumjs/common": "^2.6.5",
48
48
  "ethereumjs-abi": "^0.6.5",
@@ -50,9 +50,9 @@
50
50
  "superagent": "^3.8.3"
51
51
  },
52
52
  "devDependencies": {
53
- "@bitgo/sdk-api": "^1.42.0",
54
- "@bitgo/sdk-test": "^7.1.0",
53
+ "@bitgo/sdk-api": "^1.43.1",
54
+ "@bitgo/sdk-test": "^8.0.1",
55
55
  "secp256k1": "5.0.0"
56
56
  },
57
- "gitHead": "37753b2db011cb776da6bf73c2313cd95ec97f5b"
57
+ "gitHead": "a41ea5f31c4e917e93f9f0a83d9d4ff03711c08d"
58
58
  }