2023.12.07 Release Notes
December 8, 2023
JavaScript SDKProduct Features and Enhancements
The JavaScript SDK upgrades the bitgo
package to version 26.0.0, delivering the following:
- Adds a new method to get keys and sign MPC transactions
- Enables bulk UTXO consolidation
- Enables generating custody and self-custody cold MPC wallets
- Enables signing MPC transactions with an unencrypted private key
- Enables support for partially-signed bitcoin transactions (PSBTs)
- Updates TRON (TRX) consolidations to include receive addresses
- Updates MPC challenge by automatically applying a new admin signature if the admin resets their password
Bug Fixes
Version 26.0.0 of the SDK fixes the following:
- Checks if a transaction request is pending approval before attempting to sign during a send-to-many transaction
- Improves error handling for for
consolidateAccount
- Improves token-fee estimate for TRON (TRX)
- Moves transaction builder from
sdk-coin-eth
toabstract-eth
- Returns
false
for uppercase bech32 and bech32m addresses - Updates
@types/node
to ^16.18.46 - Uses whitelisted parameters when initiating a transaction
Breaking Changes
- Updates
abstract-eth
in the following ways:- Creates a new class for all
EthLike
methods - Changes the
nextContractSequenceId
field type inTransactionPrebuild
interface from string to number inAbstractEthLikeCoin
andAbstractEthLikeNewCoins
classes - Removes the
getCustomChainName
method from thePolygon
class and replaces it with a common method,getCustomChainCommon
, in theAbstractEthLikeNewCoins
class for allEthLike
coins - Requires
replayProtectionOptions
in thebuildTransaction
method inAbstractEthLikeNewCoins
(passing it also derives the ETH common object from thechainId
- Changes the
signFinalPolygon
method name in thePolygon
class tosignFinalEthLike
, enabling it for use with otherEthLike
assets - Updates the
getBaseFactor
method inEth
andPolygon
classes to return a number instead of string to align withAbstractEthLikeCoin
- Creates a new class for all
Change Log
For a comprehensive list of all changes, view the BitGoJS Change Log in GitHub. For a comprehensive list of all version updates, view the Commits.