-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4064 from BitGo/rel/latest
chore(root): publish modules
- Loading branch information
Showing
137 changed files
with
3,290 additions
and
511 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# An elaborated scheme to build all the dependencies of all packages first in a cached layer | ||
# https://stackoverflow.com/a/63142468/134409 | ||
# https://medium.com/@emilefugulin/building-a-sane-docker-image-for-typescript-lerna-and-prisma-2-76d8ff9926e4 | ||
FROM node:16-buster-slim@sha256:1d5b38c2dc2a7752a13818dfef9c0ad752cbc3becee097053fac460a57120a8b AS filter-packages-json | ||
FROM node:20-buster-slim@sha256:134bee0381294078c5f2750f26573ac30bc7c5be8dec922498dc4b0217f4ba2b AS filter-packages-json | ||
LABEL maintainer="Developer Relations <[email protected]>" | ||
|
||
COPY package.json yarn.lock lerna.json ./ | ||
|
@@ -12,7 +12,7 @@ COPY modules ./modules | |
# delete all the non package.json files under `./modules/` | ||
RUN find modules \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf | ||
|
||
FROM node:16-buster-slim@sha256:1d5b38c2dc2a7752a13818dfef9c0ad752cbc3becee097053fac460a57120a8b AS builder | ||
FROM node:20-buster-slim@sha256:134bee0381294078c5f2750f26573ac30bc7c5be8dec922498dc4b0217f4ba2b AS builder | ||
RUN apt-get update && apt-get install -y git python3 make g++ libtool autoconf automake | ||
WORKDIR /tmp/bitgo | ||
COPY --from=filter-packages-json /tmp/bitgo . | ||
|
@@ -31,7 +31,7 @@ RUN \ | |
rm -r modules/*/src | ||
|
||
|
||
FROM node:16-buster-slim@sha256:1d5b38c2dc2a7752a13818dfef9c0ad752cbc3becee097053fac460a57120a8b | ||
FROM node:20-buster-slim@sha256:134bee0381294078c5f2750f26573ac30bc7c5be8dec922498dc4b0217f4ba2b | ||
RUN apt-get update && apt-get install -y tini | ||
# copy the root node_modules to the bitgo-express parent node_modules | ||
COPY --from=builder /tmp/bitgo/node_modules /var/node_modules/ | ||
|
@@ -55,10 +55,10 @@ COPY --from=builder /tmp/bitgo/modules/account-lib /var/modules/account-lib/ | |
COPY --from=builder /tmp/bitgo/modules/sdk-coin-algo /var/modules/sdk-coin-algo/ | ||
COPY --from=builder /tmp/bitgo/modules/sdk-coin-arbeth /var/modules/sdk-coin-arbeth/ | ||
COPY --from=builder /tmp/bitgo/modules/abstract-eth /var/modules/abstract-eth/ | ||
COPY --from=builder /tmp/bitgo/modules/sdk-coin-eth /var/modules/sdk-coin-eth/ | ||
COPY --from=builder /tmp/bitgo/modules/sdk-coin-atom /var/modules/sdk-coin-atom/ | ||
COPY --from=builder /tmp/bitgo/modules/sdk-coin-avaxc /var/modules/sdk-coin-avaxc/ | ||
COPY --from=builder /tmp/bitgo/modules/sdk-coin-avaxp /var/modules/sdk-coin-avaxp/ | ||
COPY --from=builder /tmp/bitgo/modules/sdk-coin-eth /var/modules/sdk-coin-eth/ | ||
COPY --from=builder /tmp/bitgo/modules/sdk-coin-bera /var/modules/sdk-coin-bera/ | ||
COPY --from=builder /tmp/bitgo/modules/abstract-cosmos /var/modules/abstract-cosmos/ | ||
COPY --from=builder /tmp/bitgo/modules/sdk-coin-bld /var/modules/sdk-coin-bld/ | ||
|
@@ -120,10 +120,10 @@ cd /var/modules/account-lib && yarn link && \ | |
cd /var/modules/sdk-coin-algo && yarn link && \ | ||
cd /var/modules/sdk-coin-arbeth && yarn link && \ | ||
cd /var/modules/abstract-eth && yarn link && \ | ||
cd /var/modules/sdk-coin-eth && yarn link && \ | ||
cd /var/modules/sdk-coin-atom && yarn link && \ | ||
cd /var/modules/sdk-coin-avaxc && yarn link && \ | ||
cd /var/modules/sdk-coin-avaxp && yarn link && \ | ||
cd /var/modules/sdk-coin-eth && yarn link && \ | ||
cd /var/modules/sdk-coin-bera && yarn link && \ | ||
cd /var/modules/abstract-cosmos && yarn link && \ | ||
cd /var/modules/sdk-coin-bld && yarn link && \ | ||
|
@@ -188,10 +188,10 @@ RUN cd /var/bitgo-express && \ | |
yarn link @bitgo/sdk-coin-algo && \ | ||
yarn link @bitgo/sdk-coin-arbeth && \ | ||
yarn link @bitgo/abstract-eth && \ | ||
yarn link @bitgo/sdk-coin-eth && \ | ||
yarn link @bitgo/sdk-coin-atom && \ | ||
yarn link @bitgo/sdk-coin-avaxc && \ | ||
yarn link @bitgo/sdk-coin-avaxp && \ | ||
yarn link @bitgo/sdk-coin-eth && \ | ||
yarn link @bitgo/sdk-coin-bera && \ | ||
yarn link @bitgo/abstract-cosmos && \ | ||
yarn link @bitgo/sdk-coin-bld && \ | ||
|
@@ -238,9 +238,9 @@ RUN cd /var/bitgo-express && \ | |
#LINK_END | ||
|
||
#LABEL_START | ||
LABEL created="Fri, 20 Oct 2023 19:26:49 GMT" | ||
LABEL version=9.42.0 | ||
LABEL git_hash=c857efdab519f0549c061ec7b94140ba9af55c4f | ||
LABEL created="Tue, 14 Nov 2023 15:29:31 GMT" | ||
LABEL version=9.45.0 | ||
LABEL git_hash=b3360aee26ed01df122e6ce3875f1bcea9724c96 | ||
#LABEL_END | ||
|
||
USER node | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,45 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
# [1.11.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-11-13) | ||
|
||
### 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)) | ||
- address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f)) | ||
|
||
### 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)) | ||
|
||
# [1.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-11-13) | ||
|
||
### 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)) | ||
- address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f)) | ||
|
||
### 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)) | ||
|
||
# [1.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-11-13) | ||
|
||
### 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)) | ||
- address verification for cosmos like coins ([5ac7879](https://github.com/BitGo/BitGoJS/commit/5ac78799b460d0d03eaa841db08a6855b571a46f)) | ||
|
||
### 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)) | ||
|
||
# [1.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-10-20) | ||
|
||
### Bug Fixes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,135 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
# [4.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-11-13) | ||
|
||
### Code Refactoring | ||
|
||
- **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)) | ||
|
||
### 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:** 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 | ||
|
||
# [3.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-11-13) | ||
|
||
### Code Refactoring | ||
|
||
- **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)) | ||
|
||
### 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:** 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 | ||
|
||
# [2.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-11-13) | ||
|
||
### Code Refactoring | ||
|
||
- **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)) | ||
|
||
### 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:** 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 | ||
|
||
# [1.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-10-20) | ||
|
||
### Features | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,42 @@ | |
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
# [3.21.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-11-13) | ||
|
||
### Bug Fixes | ||
|
||
- **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)) | ||
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693)) | ||
- use psbt for prebuild when wallet is distributedCustody ([10f5e1a](https://github.com/BitGo/BitGoJS/commit/10f5e1ab37d2bea6acd93f94defbe786e4a027b9)) | ||
|
||
# [3.20.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-11-13) | ||
|
||
### Bug Fixes | ||
|
||
- **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)) | ||
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693)) | ||
- use psbt for prebuild when wallet is distributedCustody ([10f5e1a](https://github.com/BitGo/BitGoJS/commit/10f5e1ab37d2bea6acd93f94defbe786e4a027b9)) | ||
|
||
# [3.19.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-11-13) | ||
|
||
### Bug Fixes | ||
|
||
- **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)) | ||
- **bitgo:** calculate fees explicitly for psbts ([7a7e288](https://github.com/BitGo/BitGoJS/commit/7a7e288c63718a112abf633b842e7538d1e25693)) | ||
- use psbt for prebuild when wallet is distributedCustody ([10f5e1a](https://github.com/BitGo/BitGoJS/commit/10f5e1ab37d2bea6acd93f94defbe786e4a027b9)) | ||
|
||
# [3.18.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/[email protected]...@bitgo/[email protected]) (2023-10-20) | ||
|
||
### Bug Fixes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.