Skip to content

Commit

Permalink
Merge pull request #4229 from BitGo/rel/latest
Browse files Browse the repository at this point in the history
chore(root): publish modules
  • Loading branch information
margueriteblair committed Jan 26, 2024
2 parents d645584 + 5458548 commit 5895c83
Show file tree
Hide file tree
Showing 140 changed files with 1,808 additions and 509 deletions.
28 changes: 28 additions & 0 deletions modules/abstract-cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,34 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [7.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2024-01-26)

### Bug Fixes

- **abstract-cosmos:** getAccountDetails fix ([d5c6c74](https://github.com/BitGo/BitGoJS/commit/d5c6c74845e62ee3cd68321c55d729da1526fcae))
- **abstract-cosmos:** getAccountDetails fix ([3c869f2](https://github.com/BitGo/BitGoJS/commit/3c869f22ce9db917feaa75acec8a47696043bcd3))
- add bech32 validation to cosmos address validation ([f5008a7](https://github.com/BitGo/BitGoJS/commit/f5008a7298f9cb470795f8087b6840cf7f254369))
- address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f))

### Code Refactoring

- **sdk-coin-atom:** use abstract-cosmos ([18abbea](https://github.com/BitGo/BitGoJS/commit/18abbea939bb8f1cee1bbc72cfd8a2955468fcc5))

### Features

- **abstract-cosmos:** add support for different pubkey types ([e257093](https://github.com/BitGo/BitGoJS/commit/e257093605a4bfe22fbe0b0f9933bfef1a3975c6))
- **sdk-coin-atom:** add sendMany support for cosmos chains ([ee609ec](https://github.com/BitGo/BitGoJS/commit/ee609ec5de3d3159c78ba59ecf7f43c79f6f5870))

### BREAKING CHANGES

- **sdk-coin-atom:** restructured exports

* Removed constants overlapping with @bitgo/abstract-cosmos
* Removed common Interfaces exported by @bitgo/abstract-cosmos

Code dependent on the previously exported Interfaces/Constants needs to
be updated to import these from @bitgo/abstract-cosmos instead

# [6.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2024-01-26)

### Bug Fixes
Expand Down
10 changes: 5 additions & 5 deletions modules/abstract-cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitgo/abstract-cosmos",
"version": "6.0.0",
"version": "7.0.0",
"description": "BitGo SDK coin library for COSMOS base implementation",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand Down Expand Up @@ -37,10 +37,10 @@
]
},
"dependencies": {
"@bitgo/sdk-core": "^23.0.0",
"@bitgo/sdk-lib-mpc": "^8.30.0",
"@bitgo/statics": "^44.0.0",
"@bitgo/utxo-lib": "^9.31.0",
"@bitgo/sdk-core": "^24.0.0",
"@bitgo/sdk-lib-mpc": "^8.31.0",
"@bitgo/statics": "^45.0.0",
"@bitgo/utxo-lib": "^9.32.0",
"@cosmjs/amino": "^0.29.5",
"@cosmjs/crypto": "^0.30.1",
"@cosmjs/encoding": "^0.29.5",
Expand Down
62 changes: 62 additions & 0 deletions modules/abstract-eth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,68 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [17.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2024-01-26)

### Bug Fixes

- **abstract-eth:** fix issues related to chainid ([9114b1b](https://github.com/BitGo/BitGoJS/commit/9114b1b95ca0929d2d1ef5b33ba4f35e1184b5c7))
- **sdk-coin-polygon:** fix issues ([85e9396](https://github.com/BitGo/BitGoJS/commit/85e93967abd056f5054198f385a1b109246a281f))

### Code Refactoring

- **abstract-eth:** add common method to abstract-eth ([df6eea5](https://github.com/BitGo/BitGoJS/commit/df6eea5d299c415b30263d1713335c14e5abef4a))
- **abstract-eth:** delete mpc related classes ([52396ed](https://github.com/BitGo/BitGoJS/commit/52396ed5aae8b27f0cc6caee7011a7c6882b9dea))
- **abstract-eth:** move methods to abstract-eth ([af8bd10](https://github.com/BitGo/BitGoJS/commit/af8bd10e24c8d58fc227494de6a614098265580a))
- **abstract-eth:** move txbuilder to abstract-eth ([a093f16](https://github.com/BitGo/BitGoJS/commit/a093f16465b691d82b2709245cc806fc0eb66212))

### Features

- **abstract-eth:** add abstractethliketsscoin class ([eb99545](https://github.com/BitGo/BitGoJS/commit/eb995457d7787af073f0a9eafe6e4d420228f5f0))
- **abstract-eth:** add chain id as network identifier ([3ddec05](https://github.com/BitGo/BitGoJS/commit/3ddec05705cff891e46d21743d0ee864d68ab216))
- **sdk-core:** add function to transfer nfts ([b77b386](https://github.com/BitGo/BitGoJS/commit/b77b386bf77408d4b1617ba3bc44e5899a65f2e0))

### BREAKING CHANGES

- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
getCustomChainName method is removed from Polygon class because a common
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
and needs to be passed to derive the Eth common object from the chainId.
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
it can be used for other EthLike coins. getBaseFactor method in Eth
and Polygon class returns number instead of string just to align with
AbstractEthLikeCoin
Ticket: WIN-1012
- **abstract-eth:** Type of nextContractSequenceId field in TransactionPrebuild
interface is changed from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes.
getCustomChainName method is removed from Polygon class because a common
method getCustomChainCommon has been added to AbstractEthLikeNewCoins
class for all EthLike coins. replayProtectionOptions is not optional in buildTransaction method in AbstractEthLikeNewCoins
and needs to be passed to derive the Eth common object from the chainId.
signFinalPolygon method name from Polygon class is updated to signFinalEthLike so that
it can be used for other EthLike coins. getBaseFactor method in Eth
and Polygon class returns number instead of string just to align with
AbstractEthLikeCoin
Ticket: WIN-1012
- **abstract-eth:** AbstractEthLikeMPCCoin and EthLikeMPCToken classes are removed as we have instead added
a new class AbstractEthLikeNewCoins which will be having both multisig
and MPC related methods

TICKET: WIN-1021

- **abstract-eth:** getTransactionBuilder method is removed from EthLikeToken
class in abstract-eth module because TransactionBuilder in the
abstract-eth module is abstract class and hence cannot be instantiated. Hence the implementation of TransactionBuilder can
be added to the class that will inherit EthLikeToken class

TransactionPrebuild from new class AbstractEthLikeNewCoins is being
exported now instead of TransactionPrebuild from AbstractEthLikeCoin
class as the TransactionPrebuild from AbstractEthLikeNewCoins also has
support for hop transactions, batch transactions, etc

TICKET: WIN-1021

# [16.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2024-01-26)

### Bug Fixes
Expand Down
10 changes: 5 additions & 5 deletions modules/abstract-eth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitgo/abstract-eth",
"version": "16.0.0",
"version": "17.0.0",
"description": "BitGo SDK coin library for ETH base implementation",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand Down Expand Up @@ -40,10 +40,10 @@
]
},
"dependencies": {
"@bitgo/sdk-core": "^23.0.0",
"@bitgo/sdk-lib-mpc": "^8.30.0",
"@bitgo/statics": "^44.0.0",
"@bitgo/utxo-lib": "^9.31.0",
"@bitgo/sdk-core": "^24.0.0",
"@bitgo/sdk-lib-mpc": "^8.31.0",
"@bitgo/statics": "^45.0.0",
"@bitgo/utxo-lib": "^9.32.0",
"@ethereumjs/common": "^2.6.5",
"@ethereumjs/tx": "^3.3.0",
"@metamask/eth-sig-util": "^5.0.2",
Expand Down
32 changes: 32 additions & 0 deletions modules/abstract-utxo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2024-01-26)

### Bug Fixes

- **abstract-utxo:** add changeAddress to change params ([3df744d](https://github.com/BitGo/BitGoJS/commit/3df744dbfe8de6ff846aec13669c38454dd5139f))
- **abstract-utxo:** add changeAddressType to change params ([b05b278](https://github.com/BitGo/BitGoJS/commit/b05b278a7148b5a5bfb61b17f60b81c7477b6b31))
- **abstract-utxo:** assert locking script before signing ([92eedd9](https://github.com/BitGo/BitGoJS/commit/92eedd93b3e9696842c2cf2b51868ae4a6218a28))
- **abstract-utxo:** do not override changeAddressType or txFormat ([9494255](https://github.com/BitGo/BitGoJS/commit/94942559b0be8f9789c7afbb3740924aaab76ab3))
- **abstract-utxo:** revert to addressType ([5e45e62](https://github.com/BitGo/BitGoJS/commit/5e45e62d512c2794a517030027b1f9f66b20e048))
- **abstract-utxo:** upper case address should return false ([f0b6c46](https://github.com/BitGo/BitGoJS/commit/f0b6c467daaa0e43bb2923993fb238c7a4ce6f59))

### Features

- **abstract-utxo:** change api used for bitcoin recovery from blockstream to blockchair ([6da5791](https://github.com/BitGo/BitGoJS/commit/6da5791bce2fc73d5d77c1eee6cb581b60da2079))
- **abstract-utxo:** enable segwit override when flagged ([bdf723c](https://github.com/BitGo/BitGoJS/commit/bdf723ce51d245e97b217941a21b02084b2473cf))
- **abstract-utxo:** support webauthn decryption in abstract utxo fn ([e9dd17a](https://github.com/BitGo/BitGoJS/commit/e9dd17a87211732a5287144df5a3fb766e6c1142))
- **abstract-utxo:** this enables psbt unless explicitly disabled for ([9a1722e](https://github.com/BitGo/BitGoJS/commit/9a1722e21e2a2fb3068d2940f439f72a6cbcb421))
- add walletFlags property, helper methods ([f0fd760](https://github.com/BitGo/BitGoJS/commit/f0fd760122334d86b0d4239bc3b23e0983a1d524))
- allow replacement transaction verification after prebuild ([c81fba8](https://github.com/BitGo/BitGoJS/commit/c81fba89a90f4e74289fd1580914d63a7d86da35))
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693))
- handle musigKp flag in wallet ([b79b77c](https://github.com/BitGo/BitGoJS/commit/b79b77c4e0d64d85951724946206a5ded4fdd7b2))
- rename the `findMissingOutputs` func to `outputDifference` ([d4c7eb4](https://github.com/BitGo/BitGoJS/commit/d4c7eb4baeb216e8165fd2cb452de9f4c6cb613e))
- **unspents:** default unspents dimensions to recovery path ([361eb62](https://github.com/BitGo/BitGoJS/commit/361eb62641aac19c876576a65da7f6777dc532a0))
- use psbt for prebuild when wallet is distributedCustody ([10f5e1a](https://github.com/BitGo/BitGoJS/commit/10f5e1ab37d2bea6acd93f94defbe786e4a027b9))

### BREAKING CHANGES

- renames the `findMissingOutputs` to `outputDifference`
in `AbstractUtxoCoin` class

BTC-820

# [4.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2024-01-26)

### Bug Fixes
Expand Down
12 changes: 6 additions & 6 deletions modules/abstract-utxo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitgo/abstract-utxo",
"version": "4.0.0",
"version": "5.0.0",
"description": "BitGo SDK coin library for UTXO base implementation",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand Down Expand Up @@ -37,11 +37,11 @@
]
},
"dependencies": {
"@bitgo/blockapis": "^1.7.31",
"@bitgo/sdk-api": "^1.39.0",
"@bitgo/sdk-core": "^23.0.0",
"@bitgo/unspents": "^0.43.0",
"@bitgo/utxo-lib": "^9.31.0",
"@bitgo/blockapis": "^1.7.32",
"@bitgo/sdk-api": "^1.40.0",
"@bitgo/sdk-core": "^24.0.0",
"@bitgo/unspents": "^0.44.0",
"@bitgo/utxo-lib": "^9.32.0",
"@types/bluebird": "^3.5.25",
"@types/lodash": "^4.14.121",
"@types/superagent": "4.1.15",
Expand Down
31 changes: 31 additions & 0 deletions modules/account-lib/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,37 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [20.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2024-01-26)

### Bug Fixes

- **account-lib:** pin substrate txwrapper ([e0c4b16](https://github.com/BitGo/BitGoJS/commit/e0c4b16615ab47326dce0da3712f0faa572bae44))
- rename coin 'core' to 'coreum' in coinBuilderMap ([e85f658](https://github.com/BitGo/BitGoJS/commit/e85f658bd42490112716e5ffcb9f6e32f15bd5a0))
- **root:** update @types/node ([cedc1a0](https://github.com/BitGo/BitGoJS/commit/cedc1a0035e79bb42fda57bf6ac29d606242f50b))
- **sdk-coin-dot:** update DOT sdk to latest ([9385f80](https://github.com/BitGo/BitGoJS/commit/9385f803366b615d09bda31b8efda6f93e26e8e7))
- **sdk-core:** fix issue related to bignumber version ([519fe47](https://github.com/BitGo/BitGoJS/commit/519fe479ef51a72ddc1e94f87c10e031c0fd2c3f))

### Code Refactoring

- rename coin 'core' to 'coreum' ([baecc01](https://github.com/BitGo/BitGoJS/commit/baecc013ff7243ce78ebd767bffdb0763b8b4cdb))

### Features

- **account-lib:** add holesky testnet coin ([0aaefc0](https://github.com/BitGo/BitGoJS/commit/0aaefc0e53a5a48b2c701ca3c6d5e1c6ec7c19d2))
- **account-lib:** expose Ton from sdk ([14c8b18](https://github.com/BitGo/BitGoJS/commit/14c8b1806ba82799a973544670fa01a6f2ce8dc4))
- **sdk-coin-arbeth:** add arbeth sdk skeleton ([f86018e](https://github.com/BitGo/BitGoJS/commit/f86018eef56adf22b5539bfb8716175eb1fb152e))
- **sdk-coin-bera:** add Berachain skeleton ([b3d43c5](https://github.com/BitGo/BitGoJS/commit/b3d43c52c7fd10d5fdc40123b3ad61cfe4784e5d))
- **sdk-coin-core:** add coreum sdk ([af73ccd](https://github.com/BitGo/BitGoJS/commit/af73ccd445b52dcf378ebd18260e628de0687043))
- **sdk-coin-islm:** add Islamic Coin ([c49bdd1](https://github.com/BitGo/BitGoJS/commit/c49bdd18df36a20d6e27cdd2686ec687bf653596))
- **sdk-coin-opeth:** add opeth sdk skeleton ([42fbefa](https://github.com/BitGo/BitGoJS/commit/42fbefa54f22fa5bdaef4150ef3a643843ec8684))
- **sdk-coin-zketh:** add zketh sdk skeleton ([dd2952f](https://github.com/BitGo/BitGoJS/commit/dd2952fb82127482f4d3d89a445a07f8592a4a5d))
- **sdk-core:** generate and verify schnorr proof of X_i ([ff58298](https://github.com/BitGo/BitGoJS/commit/ff58298c21ee8de4f6cee4fec857666e9556d0f3))
- update secp256k1 to 5.0.0 and keccak to 3.0.3 ([e2c37e6](https://github.com/BitGo/BitGoJS/commit/e2c37e6b0139c9f6948a22d8921bc3e1f88bed4c))

### BREAKING CHANGES

- rename coin module, coin name, named exports for coreum

# [19.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2024-01-26)

### Bug Fixes
Expand Down
76 changes: 38 additions & 38 deletions modules/account-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitgo/account-lib",
"version": "19.0.0",
"version": "20.0.0",
"description": "BitGo's account library functions",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
Expand All @@ -27,43 +27,43 @@
"node": ">=16 <21"
},
"dependencies": {
"@bitgo/sdk-coin-algo": "^1.22.0",
"@bitgo/sdk-coin-arbeth": "^16.0.0",
"@bitgo/sdk-coin-atom": "^8.0.0",
"@bitgo/sdk-coin-avaxc": "^2.24.0",
"@bitgo/sdk-coin-avaxp": "^3.18.0",
"@bitgo/sdk-coin-bera": "^1.17.0",
"@bitgo/sdk-coin-bld": "^1.21.0",
"@bitgo/sdk-coin-bsc": "^18.0.0",
"@bitgo/sdk-coin-celo": "^1.10.0",
"@bitgo/sdk-coin-coreum": "^16.0.0",
"@bitgo/sdk-coin-cspr": "^1.22.0",
"@bitgo/sdk-coin-dot": "^3.30.0",
"@bitgo/sdk-coin-etc": "^1.4.28",
"@bitgo/sdk-coin-eth": "^19.0.0",
"@bitgo/sdk-coin-eth2": "^1.4.28",
"@bitgo/sdk-coin-hash": "^1.21.0",
"@bitgo/sdk-coin-hbar": "^1.8.0",
"@bitgo/sdk-coin-injective": "^1.21.0",
"@bitgo/sdk-coin-islm": "^1.17.0",
"@bitgo/sdk-coin-near": "^1.6.28",
"@bitgo/sdk-coin-opeth": "^13.0.0",
"@bitgo/sdk-coin-osmo": "^1.23.0",
"@bitgo/sdk-coin-polygon": "^16.0.0",
"@bitgo/sdk-coin-rbtc": "^1.10.0",
"@bitgo/sdk-coin-sei": "^1.21.0",
"@bitgo/sdk-coin-sol": "^2.35.0",
"@bitgo/sdk-coin-stx": "^2.3.28",
"@bitgo/sdk-coin-sui": "^4.20.0",
"@bitgo/sdk-coin-tia": "^1.21.0",
"@bitgo/sdk-coin-ton": "^1.17.0",
"@bitgo/sdk-coin-trx": "^1.33.0",
"@bitgo/sdk-coin-xtz": "^1.6.28",
"@bitgo/sdk-coin-zeta": "^1.26.0",
"@bitgo/sdk-coin-zketh": "^1.5.0",
"@bitgo/sdk-core": "^23.0.0",
"@bitgo/sdk-lib-mpc": "^8.30.0",
"@bitgo/statics": "^44.0.0",
"@bitgo/sdk-coin-algo": "^1.23.0",
"@bitgo/sdk-coin-arbeth": "^17.0.0",
"@bitgo/sdk-coin-atom": "^9.0.0",
"@bitgo/sdk-coin-avaxc": "^2.25.0",
"@bitgo/sdk-coin-avaxp": "^3.19.0",
"@bitgo/sdk-coin-bera": "^1.18.0",
"@bitgo/sdk-coin-bld": "^1.22.0",
"@bitgo/sdk-coin-bsc": "^19.0.0",
"@bitgo/sdk-coin-celo": "^1.11.0",
"@bitgo/sdk-coin-coreum": "^17.0.0",
"@bitgo/sdk-coin-cspr": "^1.23.0",
"@bitgo/sdk-coin-dot": "^3.31.0",
"@bitgo/sdk-coin-etc": "^1.4.29",
"@bitgo/sdk-coin-eth": "^20.0.0",
"@bitgo/sdk-coin-eth2": "^1.4.29",
"@bitgo/sdk-coin-hash": "^1.22.0",
"@bitgo/sdk-coin-hbar": "^1.9.0",
"@bitgo/sdk-coin-injective": "^1.22.0",
"@bitgo/sdk-coin-islm": "^1.18.0",
"@bitgo/sdk-coin-near": "^1.6.29",
"@bitgo/sdk-coin-opeth": "^14.0.0",
"@bitgo/sdk-coin-osmo": "^1.24.0",
"@bitgo/sdk-coin-polygon": "^17.0.0",
"@bitgo/sdk-coin-rbtc": "^1.11.0",
"@bitgo/sdk-coin-sei": "^1.22.0",
"@bitgo/sdk-coin-sol": "^2.36.0",
"@bitgo/sdk-coin-stx": "^2.3.29",
"@bitgo/sdk-coin-sui": "^4.21.0",
"@bitgo/sdk-coin-tia": "^1.22.0",
"@bitgo/sdk-coin-ton": "^1.18.0",
"@bitgo/sdk-coin-trx": "^1.34.0",
"@bitgo/sdk-coin-xtz": "^1.6.29",
"@bitgo/sdk-coin-zeta": "^1.27.0",
"@bitgo/sdk-coin-zketh": "^1.6.0",
"@bitgo/sdk-core": "^24.0.0",
"@bitgo/sdk-lib-mpc": "^8.31.0",
"@bitgo/statics": "^45.0.0",
"bignumber.js": "^9.1.1",
"bs58": "^4.0.1"
},
Expand Down
Loading

0 comments on commit 5895c83

Please sign in to comment.