Skip to main content

Changelog

Released changes for @liquidium/client. This page is generated from packages/client/CHANGELOG.md.

@liquidium/client​

0.10.0​

Minor Changes​

  • 63823d5: Expose activationFeeAmount and openingDebtAmount in LTV and collateral quote results, in borrow asset base units.
  • 82eba5d: Add a dedicated module for liquidation candidate scanning, execution, and status lookup. Minimum collateral applies to bad-debt and hybrid paths; normal collateral-backed liquidations allow partial fills without this check.

0.9.0​

Minor Changes​

  • d671ea0: Expose borrow activation fees on pools and include them in LTV and collateral quotes.

0.8.3​

Patch Changes​

  • aae3663: Support decoding the latest headless-loans pool validation errors.

0.8.2​

Patch Changes​

  • Support the current ICP wallet adoption schema and related canister errors.

0.8.1​

Patch Changes​

  • 9f6c8a2: Decode legacy Ethereum and native IC authorization metadata for Simple Loans.

0.8.0​

Minor Changes​

  • 3a06781: Allow callers to provide a preconfigured ICP agent through LiquidiumClientConfig.agent.

0.7.1​

Patch Changes​

  • 033f016: Reject reserved Ethereum destinations and best-effort block native ETH addresses with deployed code.

0.7.0​

Minor Changes​

  • 8ed003f: Expose estimated borrow and supply APYs for current pool rates.
  • 8ed003f: Add price snapshots with an explicit SDK fetch timestamp.
  • 8ed003f: Add stable display names for supported assets.
  • 8ed003f: Expose the health-factor scale and return null for no-debt health factors.
  • 8ed003f: Add an account helper for distinguishing registered profiles from unknown IDs.
  • d38dc31: Add the protocol-wide activity history feed backed by GET /v2/history/activities.

0.6.0​

Minor Changes​

  • e53daf1: Add native ETH and ckETH support across market, lending, positions, quotes, and Simple Loans. Profile inflows support explicit transfer and payable contract-interaction mechanisms and enforce asset deposit minimums.

    Mechanism changes​

    • Native ETH supplies support direct transfers to generated EVM deposit addresses and payable contract interactions through the ckETH deposit helper.
    • ckETH transfers use Chain.ICP and the ckETH ICRC ledger.
    • USDC and USDT contract interactions continue to approve the deposit helper before calling depositErc20.
    • Simple Loans expose native ETH and ckETH transfer targets but do not execute contract interactions.

    Breaking changes​

    • Asset, AssetIdentifier, and SimpleLoanAsset now include ETH. Add ETH handling to exhaustive asset mappings and switches.
    • Complete PoolCanisterIds configurations must include pools.eth.
    • Wallet-executed deposits and Simple Loan collateral now enforce asset-specific minimum amounts. Use getMinimumDepositAmount(asset) to validate input before submission.
    • EVM wallet and deposit addresses are validated and returned in checksummed form. Normalize addresses or compare them case-insensitively.
    • getDepositAddress(...) now validates that the requested asset matches the selected Ethereum pool.
    • Ethereum transaction amounts above the uint256 maximum are rejected.

Patch Changes​

  • 8205a68: Expose named asset identifier types for each supported asset and transfer-chain pair.

  • Validate Simple Loans collateral deposit minimums and reject native ETH transfer amounts above the uint256 maximum.

  • Hide supplied balances below each pool's dust threshold while preserving active debt, and cap confirmation progress to the confirming state.

0.6.0-rc.3​

Patch Changes​

  • Expose named asset identifier types for each supported asset and transfer-chain pair.

0.6.0-rc.2​

Patch Changes​

  • Hide supplied balances below each pool's dust threshold while preserving active debt, and cap confirmation progress to the confirming state.

0.6.0-rc.1​

Patch Changes​

  • Validate Simple Loans collateral deposit minimums and reject native ETH transfer amounts above the uint256 maximum.

0.6.0-rc.0​

Minor Changes​

  • e53daf1: Add native ETH and ckETH support across market, lending, positions, quotes, and Simple Loans. Profile inflows support explicit transfer and payable contract-interaction mechanisms and enforce asset deposit minimums.

0.5.2​

Patch Changes​

  • 32d391f: Hide supplied balances below each pool's dust threshold while preserving positions with active debt.

0.5.1​

Patch Changes​

  • 88cfd04: Apply lending and borrow indexes when mapping current pool totals.

0.5.0​

Minor Changes​

  • cff20c5: Add native ICP and chain-key asset routes using explicit Chain + Asset identifiers.

    Breaking changes​

    • Rename the Instant Loans SDK surface to Simple Loans. Use client.simpleLoans, SimpleLoansModule, SimpleLoan* types, and canisterIds.simpleLoans.
    • Simple Loans creation now groups fields under collateral, borrow, and refund. Both borrow and refund require an explicit delivery chain and destination.
    • Simple Loans deposit and repayment quotes now live in chain-keyed targets maps. Replace fields such as initialDeposit.target and repayment.amount with initialDeposit.targets[chain] and repayment.targets[chain].
    • Borrow and withdraw requests replace receiverAddress with chain and receiver.
    • Every lending.supply(...) request requires chain. Transfer flows must no longer pass mechanism: SupplyPlanType.transfer.
    • Account responses now use LiquidiumAccount: External, Native, AccountIdentifier, and Icrc become ChainAddress, IcPrincipal, IcpAccountIdentifier, and IcrcAccount. Response fields use address instead of account or principal.
    • SupplyTarget is now a flat shape with chain, asset, and address. Remove target.type checks and stop reading ICRC-specific target fields.
    • Pool canister overrides move from btcPool and ercPool to pools.btc and pools.usdt.
    • TransferMode, MarketAsset, MarketChain, legacy account and supply-target types, and borrow/withdraw signature aliases are removed. Use SignMessageWalletAction, Asset, Chain, LiquidiumAccount, SupplyTarget, and SignatureInfo instead.
    • Asset.SOL is removed. Chain-key activities now report Chain.ICP.

    Added​

    • Add ICP, ckBTC, ckUSDC, and ckUSDT transfer routes, ICRC wallet transfers, ledger fee estimates, and chain-keyed Simple Loans quotes.
    • Add SimpleLoanCreatedError for recovering a created loan when subsequent state hydration fails. Retry simpleLoans.get(...) instead of creation.

Patch Changes​

  • 9c8532d: Rename the Instant Loans SDK surface to Simple Loans. Use client.simpleLoans, SimpleLoansModule, SimpleLoan* types, and canisterIds.simpleLoans.

    Expose each pool's sameAssetBorrowingDustThreshold and enforce the pool's same-asset borrowing policy in quotes, Simple Loans creation, and profile-based borrow preparation.

0.5.0-rc.1​

Patch Changes​

  • Rename the Instant Loans SDK surface to Simple Loans. Use client.simpleLoans, SimpleLoansModule, SimpleLoan* types, and canisterIds.simpleLoans.

    Expose each pool's sameAssetBorrowingDustThreshold and enforce the pool's same-asset borrowing policy in quotes, Simple Loans creation, and profile-based borrow preparation.

0.5.0-rc.0​

Minor Changes​

  • cff20c5: Add native ICP and chain-key asset routes using explicit Chain + Asset identifiers.

    Breaking changes​

    • Instant-loan creation now groups fields under collateral, borrow, and refund. Both borrow and refund require an explicit delivery chain and destination.
    • Instant-loan deposit and repayment quotes now live in chain-keyed targets maps. Replace fields such as initialDeposit.target and repayment.amount with initialDeposit.targets[chain] and repayment.targets[chain].
    • Borrow and withdraw requests replace receiverAddress with chain and receiver.
    • Every lending.supply(...) request requires chain. Transfer flows must no longer pass mechanism: SupplyPlanType.transfer.
    • Account responses now use LiquidiumAccount: External, Native, AccountIdentifier, and Icrc become ChainAddress, IcPrincipal, IcpAccountIdentifier, and IcrcAccount. Response fields use address instead of account or principal.
    • SupplyTarget is now a flat shape with chain, asset, and address. Remove target.type checks and stop reading ICRC-specific target fields.
    • Pool canister overrides move from btcPool and ercPool to pools.btc and pools.usdt.
    • TransferMode, MarketAsset, MarketChain, legacy account and supply-target types, and borrow/withdraw signature aliases are removed. Use SignMessageWalletAction, Asset, Chain, LiquidiumAccount, SupplyTarget, and SignatureInfo instead.
    • Asset.SOL is removed. Chain-key activities now report Chain.ICP.

    Added​

    • Add ICP, ckBTC, ckUSDC, and ckUSDT transfer routes, ICRC wallet transfers, ledger fee estimates, and chain-keyed instant-loan quotes.
    • Add InstantLoanCreatedError for recovering a created loan when subsequent state hydration fails. Retry instantLoans.get(...) instead of creation.

0.4.1​

Patch Changes​

  • 7cf071f: Validate minimum withdrawal amounts for BTC, USDC, and USDT before signing withdrawal requests.

0.4.0​

Minor Changes​

  • 1d89aa1: Normalize SDK operation names, remove deprecated v1 history methods, require explicit inflow operations, remove legacy activity txid fields, and use status.operation as the canonical activity and history operation field.

0.3.4​

Patch Changes​

  • 810ca23: Handle ICRC and account identifier destinations returned by lending and instant loan canisters.

0.3.3​

Patch Changes​

  • 7bb5e2c: Replace deprecated DFINITY ICRC account dependencies with current ICP SDK packages.

0.3.2​

Patch Changes​

  • 6fbcb9b: Normalize BTC wallet signatures from base64 or hex before submitting signed actions.
  • 6fbcb9b: Use package-backed encoding helpers for wallet signature normalization.

0.3.1​

Patch Changes​

  • 5a49cef: Fix loan loading for canisters that use dynamic asset variant tags.

0.3.0​

Minor Changes​

  • ff606ba: Expose a helper for reading a position's full withdraw amount, and avoid double-counting supply interest in reserve USD valuations.
  • 8745bd4: Expose instant loan initial deposit detection and expiry timestamps.
  • d34ebd3: Return lightweight instant-loan search matches with grouped collateral and borrow fields.

0.2.1​

Patch Changes​

  • 9cc5091: Replace inline client type shapes with named interfaces and regenerate API docs.
  • 5a4bff6: Expose borrow amount minimum metadata and reject borrows below configured asset minimums.

0.2.0​

Minor Changes​

  • Add external Bitcoin address validation support and include Liquidium inflow fees in instant-loan deposit and BTC repayment estimates, rounding fee estimates up to avoid underfunding.
  • Breaking type change: restructure InstantLoan response fields by moving loan terms into terms, replacing top-level deposit/repay targets with initialDeposit and repayment.target, and renaming instant-loan candidate collateral hints to collateralAmount.

0.1.2​

Patch Changes​

  • Add SDK documentation links and publish the expanded API export surface.

0.1.1​

Patch Changes​

  • b99b996: Fix browser runtime compatibility for canister calls by migrating the SDK actor stack from deprecated @dfinity/* packages to @icp-sdk/core submodules, removing the need for browser consumers to provide a Node-style global polyfill.

Package Changelogs​

PackageChangelog
@liquidium/clientpackages/client/CHANGELOG.md

When a public SDK change affects usage, update the relevant guide or API reference in the same pull request.