@liquidium/client 0.5.0 → 0.6.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,8 +17,6 @@ TypeScript client for Liquidium lending and accountless Simple Loans.
17
17
  npm install @liquidium/client
18
18
  ```
19
19
 
20
- Use `npm install @liquidium/client@rc` when integrating against the current 0.5 release candidate. Untagged installs resolve to the latest stable release.
21
-
22
20
  ## Usage
23
21
 
24
22
  ```ts
@@ -62,6 +60,8 @@ Use `client.simpleLoans` for accountless borrowing. Use `client.accounts`, `clie
62
60
 
63
61
  Amounts use `bigint` values in each asset's smallest unit. Read pool decimals before converting user input.
64
62
 
63
+ `Asset.ETH` supports native ETH on `Chain.ETH` and ckETH ICRC transfers on `Chain.ICP`. Both routes use 18 decimals, so amounts are expressed in wei (`0.005 ETH` is `5_000_000_000_000_000n`). For native ETH deposits and repayments, select `mechanism: "transfer"` to send ETH to a generated deposit address or `mechanism: "contractInteraction"` to send ETH through the payable deposit helper. Transfer is the default when `mechanism` is omitted. ckETH routes use the generated ICRC target.
64
+
65
65
  See the [quick start](https://liquidium-inc.github.io/liquidium-sdk/getting-started/quick-start/) for LTV validation, repayment, and recovery.
66
66
 
67
67
  ## Examples