2023.12.07 Release Notes

December 8, 2023
JavaScript SDK

Product 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 TSS transactions
  • Enables bulk UTXO consolidation
  • Enables generating custodial and self-managed cold TSS wallets
  • Enables signing TSS transactions with an unencrypted private key
  • Enables support for partially-signed bitcoin transactions (PSBTs)
  • Updates TRON (TRX) consolidations to include receive addresses
  • Updates TSS 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 to abstract-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 in TransactionPrebuild interface from string to number in AbstractEthLikeCoin and AbstractEthLikeNewCoins classes
    • Removes the getCustomChainName method from the Polygon class and replaces it with a common method, getCustomChainCommon, in the AbstractEthLikeNewCoins class for all EthLike coins
    • Requires replayProtectionOptions in the buildTransaction method in AbstractEthLikeNewCoins (passing it also derives the ETH common object from the chainId
    • Changes the signFinalPolygon method name in the Polygon class to signFinalEthLike, enabling it for use with other EthLike assets
    • Updates the getBaseFactor method in Eth and Polygon classes to return a number instead of string to align with AbstractEthLikeCoin

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.

See Also

Update SDK