@liquidium/client 0.1.1 → 0.1.2
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 +9 -2
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|

|
|
3
3
|
|
|
4
4
|
<p align="center">
|
|
5
|
-
<img src="https://raw.githubusercontent.com/Liquidium-Inc/liquidium-sdk/main/
|
|
5
|
+
<img src="https://raw.githubusercontent.com/Liquidium-Inc/liquidium-sdk/main/sdk.svg" alt="Liquidium SDK illustration" width="700" />
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
8
|
<h1 align="center">Liquidium SDK</h1>
|
|
@@ -12,11 +12,18 @@
|
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
15
|
+
<a href="https://liquidium-inc.github.io/liquidium-sdk/"><b>SDK Docs</b></a> ·
|
|
15
16
|
<a href="https://github.com/Liquidium-Inc/liquidium-sdk/tree/main/examples/instant-loans-flow"><b>Instant Loan Example</b></a> ·
|
|
16
17
|
<a href="https://github.com/Liquidium-Inc/liquidium-sdk/tree/main/examples/vite-react-dynamic"><b>SDK Method Query Example</b></a> ·
|
|
17
18
|
<a href="#core-api"><b>Core API</b></a>
|
|
18
19
|
</p>
|
|
19
20
|
|
|
21
|
+
## Documentation
|
|
22
|
+
|
|
23
|
+
Use the SDK docs for setup, guides, API reference, and examples.
|
|
24
|
+
|
|
25
|
+
[Open the Liquidium SDK docs](https://liquidium-inc.github.io/liquidium-sdk/)
|
|
26
|
+
|
|
20
27
|
## Why Start With Instant Loans
|
|
21
28
|
|
|
22
29
|
- **Accountless loan creation**: create instant loans without requiring a Liquidium profile.
|
|
@@ -27,7 +34,7 @@
|
|
|
27
34
|
|
|
28
35
|
## Integration Paths
|
|
29
36
|
|
|
30
|
-
Liquidium supports two lending integration paths:
|
|
37
|
+
Liquidium supports two borrowing and lending integration paths:
|
|
31
38
|
|
|
32
39
|
| Path | Use when | Main SDK calls |
|
|
33
40
|
| --- | --- | --- |
|
package/dist/index.cjs
CHANGED
|
@@ -5648,7 +5648,7 @@ var PositionsModule = class {
|
|
|
5648
5648
|
* Returns the per-reserve breakdown of a profile's supplies and borrows,
|
|
5649
5649
|
* joined with pool metadata, rates, and current USD prices.
|
|
5650
5650
|
*
|
|
5651
|
-
* USD values are scaled to
|
|
5651
|
+
* USD values are scaled to 27 decimals.
|
|
5652
5652
|
*
|
|
5653
5653
|
* @param profileId - The Liquidium profile principal text.
|
|
5654
5654
|
* @returns Per-reserve position rows joined with pool metadata and USD values.
|
|
@@ -5800,6 +5800,8 @@ function resolveEvmReadClient(config) {
|
|
|
5800
5800
|
});
|
|
5801
5801
|
}
|
|
5802
5802
|
|
|
5803
|
+
exports.AccountsModule = AccountsModule;
|
|
5804
|
+
exports.ActivitiesModule = ActivitiesModule;
|
|
5803
5805
|
exports.ActivityDirection = ActivityDirection;
|
|
5804
5806
|
exports.ActivityFilter = ActivityFilter;
|
|
5805
5807
|
exports.ActivityKind = ActivityKind;
|
|
@@ -5809,12 +5811,18 @@ exports.CK_ETH_DEPOSIT_CONTRACT_ADDRESS = CK_ETH_DEPOSIT_CONTRACT_ADDRESS;
|
|
|
5809
5811
|
exports.Chain = Chain;
|
|
5810
5812
|
exports.Environment = Environment;
|
|
5811
5813
|
exports.EvmSupplyApprovalStrategy = EvmSupplyApprovalStrategy;
|
|
5814
|
+
exports.HistoryModule = HistoryModule;
|
|
5812
5815
|
exports.InflowSubmitType = InflowSubmitType;
|
|
5813
5816
|
exports.InstantLoanStatus = InstantLoanStatus;
|
|
5817
|
+
exports.InstantLoansModule = InstantLoansModule;
|
|
5818
|
+
exports.LendingModule = LendingModule;
|
|
5814
5819
|
exports.LiquidiumClient = LiquidiumClient;
|
|
5815
5820
|
exports.LiquidiumError = LiquidiumError;
|
|
5816
5821
|
exports.LiquidiumErrorCode = LiquidiumErrorCode;
|
|
5822
|
+
exports.MarketModule = MarketModule;
|
|
5817
5823
|
exports.OutflowType = OutflowType;
|
|
5824
|
+
exports.PositionsModule = PositionsModule;
|
|
5825
|
+
exports.QuoteModule = QuoteModule;
|
|
5818
5826
|
exports.QuoteValidationErrorCode = QuoteValidationErrorCode;
|
|
5819
5827
|
exports.QuoteWarningCode = QuoteWarningCode;
|
|
5820
5828
|
exports.RATE_DECIMALS = RATE_DECIMALS;
|