Releases: CoboGlobal/cobo-waas2-js-sdk
Releases · CoboGlobal/cobo-waas2-js-sdk
v1.8.0
This version was released on January 8, 2025.
New Features
- Added Travel Rule operations:
- Added support for Sky Farm staking protocol.
- Added the List all callback messages and Retry callback message operations for efficient management on callback messages.
Improvements
- Added new webhook event types
wallets.addresses.created
,wallets.created
, andmpc_vaults.created
and new event data typesAddresses
,WalletInfo
, andMPCVault
to optimize the processing of webhook events. - Made several improvements to staking operations:
- Added the
BabylonStakingActivityDetailExtra
,EthStakingActivityDetailExtra
, andCoreStakingActivityDetailExtra
schemas to represent the extra details for each staking protocol. - Added the
request_id
query parameter for the List staking activities operation to filter activities based on a specific request ID. - Made the
extra
property optional in theCreateStakeActivity
schema.
- Added the
- Added the
root_pubkey
property to theAddressInfo
schema to indicate the root extended public key of the address. - Added the
TransactionSelectedUtxo
schema to represent the selected UTXO information in a transaction.
Full Changelog: v1.7.0...v1.8.0
v1.7.0
This version was released on December 19, 2024.
Breaking Changes
- Renamed
create_timestamp
tocreated_timestamp
in theMPCProject
schema to improve consistency in naming conventions.
New features
- Added the Create claim activity operation for claiming staking rewards.
- Added a new version of the Estimate staking fees operation with improved functionality.
- Added support for staking in the CORE protocol.
- Added the
auto_fuel
property to the request payloads of the following operations to enable the use of Fee Station for automatic transaction fee payment:
Improvements
- Made several fields optional in the
BabylonValidator
schema. - Extended ETH staking functionality by adding the
beacon_validators
property to theEthStakingExtra
schema to represent the list of validator information. - Improved the
StakingPoolId
schema by making it an enum type. - Extended the
ActivityAction
schema with additional enums to cover more actions that can occur during a staking activity. - Deprecated the original version of the "Estimate staking fees" operation.
Full Changelog: v1.6.0...v1.7.0
v1.6.0
This version was released on November 13, 2024.
Breaking changes
- Removed the "Get address information" operation.
- Made
amount
a required property in theAddressTransferDestination
schema.
New features
- Added the following new operations:
- Get API key information: Retrieve details of your API key.
- Check address validity across chains: Validate addresses across multiple chains.
- Added support for Ethereum staking.
Improvements
- Made the following properties optional:
request_id
anddestination
inEstimateTransferFeeParams
request_id
inEstimateContractCallFeeParams
- Removed the
script
property from:TransactionTransferToAddressDestination
AddressTransferDestination
Full Changelog: v1.5.0...v1.6.0
v1.5.0
This version was released on October 24, 2024.
New features
- Added the List Delegates operation for Smart Contract Wallets.
- Added the List address book entries operation to retrieve addresses from your address book.
- Added the Trigger test event operation to test the functionality of your webhook endpoint.
Improvements
- Added the asset_model_type property in the response of the Get token information operation to indicate whether a token uses the account model or the UTXO model.
- Added the calldata_info property to the TransactionEvmContractDestination schema to provide a more detailed representation of smart contract calldata.
- Added the TransactionRawMessageSignDestination schema and added the Raw_Message_Signature value to the destination_type enum to represent the transaction destination for raw message signatures.
- Added Stake and Unstake as new possible values for the types query parameter in the List all transactions operation.
- Added bitmart and bitfinex as new possible values to the exchange_id enum.
The delegate property was no longer a required property in the TransactionSmartContractSafeWalletSource schema.
Full Changelog: v1.4.0...v1.5.0
v1.4.0
What's Changed
Improvements
- Improved the tracking of transactions by adding and removing certain statuses and sub-statuses in the
TransactionStatus
andTransactionSubStatus
schemas. - Added the
MPCProcessing
status in theTSSRequestStatus
schema to indicate that the TSS request approval is waiting to be started. - Removed the
nonce
property in theMpcContractCallSource
schema.
Full Changelog: v1.3.0...v1.4.0
v1.3.0
What's Changed
New features
- You can now stake your tokens with the WaaS 2.0 API. Staking operations include:
- Added the Broadcast signed transactions operation to broadcast signed transactions.
Improvements
- Changed the path of the Check loop transfers operation from
/wallets/check_loop_transfers
to/transactions/check_loop_transfers
. - Added the
dust_threshold
andcustodial_minimum_deposit_threshold
properties in theTokenInfo
schema to indicate the minimum withdrawal and deposit amounts for Custodial Wallets. - Added the
confirming_threshold
property in theChainInfo
schema to indicate the number of confirmations required for a transaction on each chain.
Bug fixes
- Fixed an issue with using WaaS SDKs to perform operations relating to contract call or message signing.
Full Changelog: v1.2.0...v1.3.0
v1.2.1
v1.2.0
What's Changed
New features
- Added support for Exchange Wallets and Smart Contract Wallets. Added the following operations for Exchange Wallets:
- List supported exchanges
- List supported assets
- List supported chains
- List asset balances
- Added the following operations for batch payment:
Check addresses validity
Check Loop transfers - You can now subscribe to TSS request-related event types for your webhook endpoints. For more information about TSS request-related event types, refer to Webhook event types and data types.
Improvements
- The
sub_wallet_id
property was renamed astrading_account_type
. Affected schemas include:ExchangeTransferSource
ExchangeTransferDestination
TransactionTransferToWalletDestination
TransactionExchangeWalletSource
TransactionDepositFromWalletSource
TransactionDepositToWalletDestination
- Added the
PendingApprovalStart
enum value in theTransactionSubStatus
enum to indicate a status that requires specific action from users for proceeding with the transaction. - Added the
project_name
andvault_name
properties in theMPCWalletInfo
schema to indicate the project name and vault name. - Added the
description
andcreated_timestamp
properties in theTSSRequest
schema to indicate the description and creation time of the TSS request. - Added the
account_id
property in theKeyShareHolder
schema to indicate the key share holder’s account ID on Cobo Portal. - Added the
signer_key_share_holder_group_id
property in theTransactionMPCWalletSource
schema to indicate the ID of the key share holder group as the transaction signer. - Added the
description
property in the request body of Create TSS request to indicate the description of the TSS request.
Full Changelog: v1.1.2...v1.2.0