keyring-agent-core 0.2.56 → 0.2.58
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/dist/index.d.ts +12 -0
- package/dist/index.js +30 -30
- package/dist/index.native.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1475,6 +1475,11 @@ interface AgentConfig {
|
|
|
1475
1475
|
lending?: {
|
|
1476
1476
|
/** CoinPool API base url (`<base>/supply/v2`). Default https://api.coinpool.app. */
|
|
1477
1477
|
coinPoolBaseUrl?: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* Supply-rate history API base url (`<base>/lending-rates/<chainId>/<token>`).
|
|
1480
|
+
* Default https://wallet-api.pantograph.app.
|
|
1481
|
+
*/
|
|
1482
|
+
lendingRatesBaseUrl?: string;
|
|
1478
1483
|
/** Aave v3 GraphQL endpoint used for supply-APY history. */
|
|
1479
1484
|
aaveApiUrl?: string;
|
|
1480
1485
|
/** Morpho GraphQL endpoint used for vault APY history. */
|
|
@@ -5422,6 +5427,8 @@ interface LendingChainInfo {
|
|
|
5422
5427
|
/** Endpoints {@link LendingProtocol.fetchApy} may call, injected so they stay configurable. */
|
|
5423
5428
|
interface ApyEndpoints {
|
|
5424
5429
|
coinPoolBaseUrl: string;
|
|
5430
|
+
/** Supply-rate history API (`<base>/lending-rates/<chainId>/<token>`). */
|
|
5431
|
+
lendingRatesBaseUrl: string;
|
|
5425
5432
|
aaveApiUrl: string;
|
|
5426
5433
|
morphoApiUrl: string;
|
|
5427
5434
|
}
|
|
@@ -5587,6 +5594,11 @@ interface LendingSupplyPosition extends LendingMarketOverview {
|
|
|
5587
5594
|
interface LendingServiceConfig {
|
|
5588
5595
|
/** Base URL of the CoinPool API. Defaults to `https://api.coinpool.app`. */
|
|
5589
5596
|
coinPoolBaseUrl?: string;
|
|
5597
|
+
/**
|
|
5598
|
+
* Base URL of the supply-rate history API (`<base>/lending-rates/<chainId>/<token>`).
|
|
5599
|
+
* Defaults to `https://wallet-api.pantograph.app`.
|
|
5600
|
+
*/
|
|
5601
|
+
lendingRatesBaseUrl?: string;
|
|
5590
5602
|
/** Aave v3 GraphQL endpoint (supply-APY history). */
|
|
5591
5603
|
aaveApiUrl?: string;
|
|
5592
5604
|
/** Morpho GraphQL endpoint (vault APY history + live net APY). */
|