keyring-agent-core 0.2.14 → 0.2.15
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 +6 -6
- package/dist/index.js +50 -50
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1220,9 +1220,9 @@ interface AgentConfig {
|
|
|
1220
1220
|
subgraph?: {
|
|
1221
1221
|
/** The Graph gateway API key. Falls back to a public demo key. */
|
|
1222
1222
|
theGraphApiKey?: string;
|
|
1223
|
-
/** CoinPool pair
|
|
1223
|
+
/** CoinPool pair API base url (`<base>/pair/v2?chainId=…`). */
|
|
1224
1224
|
coinPoolBaseUrl?: string;
|
|
1225
|
-
/**
|
|
1225
|
+
/** @deprecated No longer used — CoinPool `/pair/v2` returns APR + ranges directly. */
|
|
1226
1226
|
keyringPoolBaseUrl?: string;
|
|
1227
1227
|
/** Override subgraph URLs per hex chain id. */
|
|
1228
1228
|
subgraphUrls?: Record<string, string>;
|
|
@@ -5074,9 +5074,9 @@ declare class EstimatePoolYieldTool extends BaseTool {
|
|
|
5074
5074
|
interface SubgraphServiceConfig {
|
|
5075
5075
|
/** The Graph API key. Falls back to a public demo key. */
|
|
5076
5076
|
theGraphApiKey?: string;
|
|
5077
|
-
/** CoinPool pair
|
|
5077
|
+
/** CoinPool pair API base url (`/pair/v2`). */
|
|
5078
5078
|
coinPoolBaseUrl?: string;
|
|
5079
|
-
/**
|
|
5079
|
+
/** @deprecated No longer used — CoinPool `/pair/v2` returns APR + ranges directly. */
|
|
5080
5080
|
keyringPoolBaseUrl?: string;
|
|
5081
5081
|
/** Override a subgraph URL by chain hex id. */
|
|
5082
5082
|
subgraphUrls?: Record<string, string>;
|
|
@@ -5483,8 +5483,8 @@ type SubgraphCoinPoolPairsToolConfig = SubgraphServiceConfig;
|
|
|
5483
5483
|
* user asks about price ranges, "which range to pick", or "best range"
|
|
5484
5484
|
* for a known token pair.
|
|
5485
5485
|
*
|
|
5486
|
-
*
|
|
5487
|
-
*
|
|
5486
|
+
* Backed by the CoinPool `/pair/v2` endpoint (`coinPoolBaseUrl`). Returns an
|
|
5487
|
+
* empty list when that base url is unset or the chain is unsupported.
|
|
5488
5488
|
*/
|
|
5489
5489
|
declare class SubgraphCoinPoolPairsTool extends BaseTool {
|
|
5490
5490
|
name: string;
|