Changelog
Released changes for @liquidium/client. This page is generated from packages/client/CHANGELOG.md.
@liquidium/client
0.5.0
Minor Changes
-
cff20c5: Add native ICP and chain-key asset routes using explicit
Chain+Assetidentifiers.Breaking changes
- Rename the Instant Loans SDK surface to Simple Loans. Use
client.simpleLoans,SimpleLoansModule,SimpleLoan*types, andcanisterIds.simpleLoans. - Simple Loans creation now groups fields under
collateral,borrow, andrefund. Bothborrowandrefundrequire an explicit deliverychainanddestination. - Simple Loans deposit and repayment quotes now live in chain-keyed
targetsmaps. Replace fields such asinitialDeposit.targetandrepayment.amountwithinitialDeposit.targets[chain]andrepayment.targets[chain]. - Borrow and withdraw requests replace
receiverAddresswithchainandreceiver. - Every
lending.supply(...)request requireschain. Transfer flows must no longer passmechanism: SupplyPlanType.transfer. - Account responses now use
LiquidiumAccount:External,Native,AccountIdentifier, andIcrcbecomeChainAddress,IcPrincipal,IcpAccountIdentifier, andIcrcAccount. Response fields useaddressinstead ofaccountorprincipal. SupplyTargetis now a flat shape withchain,asset, andaddress. Removetarget.typechecks and stop reading ICRC-specific target fields.- Pool canister overrides move from
btcPoolandercPooltopools.btcandpools.usdt. TransferMode,MarketAsset,MarketChain, legacy account and supply-target types, and borrow/withdraw signature aliases are removed. UseSignMessageWalletAction,Asset,Chain,LiquidiumAccount,SupplyTarget, andSignatureInfoinstead.Asset.SOLis removed. Chain-key activities now reportChain.ICP.
Added
- Add ICP, ckBTC, ckUSDC, and ckUSDT transfer routes, ICRC wallet transfers, ledger fee estimates, and chain-keyed Simple Loans quotes.
- Add
SimpleLoanCreatedErrorfor recovering a created loan when subsequent state hydration fails. RetrysimpleLoans.get(...)instead of creation.
- Rename the Instant Loans SDK surface to Simple Loans. Use
Patch Changes
-
9c8532d: Rename the Instant Loans SDK surface to Simple Loans. Use
client.simpleLoans,SimpleLoansModule,SimpleLoan*types, andcanisterIds.simpleLoans.Expose each pool's
sameAssetBorrowingDustThresholdand 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, andcanisterIds.simpleLoans.Expose each pool's
sameAssetBorrowingDustThresholdand 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+Assetidentifiers.Breaking changes
- Instant-loan creation now groups fields under
collateral,borrow, andrefund. Bothborrowandrefundrequire an explicit deliverychainanddestination. - Instant-loan deposit and repayment quotes now live in chain-keyed
targetsmaps. Replace fields such asinitialDeposit.targetandrepayment.amountwithinitialDeposit.targets[chain]andrepayment.targets[chain]. - Borrow and withdraw requests replace
receiverAddresswithchainandreceiver. - Every
lending.supply(...)request requireschain. Transfer flows must no longer passmechanism: SupplyPlanType.transfer. - Account responses now use
LiquidiumAccount:External,Native,AccountIdentifier, andIcrcbecomeChainAddress,IcPrincipal,IcpAccountIdentifier, andIcrcAccount. Response fields useaddressinstead ofaccountorprincipal. SupplyTargetis now a flat shape withchain,asset, andaddress. Removetarget.typechecks and stop reading ICRC-specific target fields.- Pool canister overrides move from
btcPoolandercPooltopools.btcandpools.usdt. TransferMode,MarketAsset,MarketChain, legacy account and supply-target types, and borrow/withdraw signature aliases are removed. UseSignMessageWalletAction,Asset,Chain,LiquidiumAccount,SupplyTarget, andSignatureInfoinstead.Asset.SOLis removed. Chain-key activities now reportChain.ICP.
Added
- Add ICP, ckBTC, ckUSDC, and ckUSDT transfer routes, ICRC wallet transfers, ledger fee estimates, and chain-keyed instant-loan quotes.
- Add
InstantLoanCreatedErrorfor recovering a created loan when subsequent state hydration fails. RetryinstantLoans.get(...)instead of creation.
- Instant-loan creation now groups fields under
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.operationas 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
InstantLoanresponse fields by moving loan terms intoterms, replacing top-level deposit/repay targets withinitialDepositandrepayment.target, and renaming instant-loan candidate collateral hints tocollateralAmount.
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/coresubmodules, removing the need for browser consumers to provide a Node-styleglobalpolyfill.
Package Changelogs
| Package | Changelog |
|---|---|
@liquidium/client | packages/client/CHANGELOG.md |
When a public SDK change affects usage, update the relevant guide or API reference in the same pull request.