keyring-agent-core 0.3.15 → 0.3.17
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 +8 -2
- package/dist/index.js +68 -65
- package/dist/index.native.js +163 -160
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2198,6 +2198,11 @@ interface LLMResponse {
|
|
|
2198
2198
|
/** Prompt tokens served from Gemini's (implicit) context cache. */
|
|
2199
2199
|
cachedTokens?: number;
|
|
2200
2200
|
};
|
|
2201
|
+
/**
|
|
2202
|
+
* Why generation stopped (Gemini `finishReason`, e.g. "STOP", "MAX_TOKENS").
|
|
2203
|
+
* `MAX_TOKENS` means `text` was cut off mid-output by the token cap.
|
|
2204
|
+
*/
|
|
2205
|
+
finishReason?: string;
|
|
2201
2206
|
}
|
|
2202
2207
|
/** Optional flags for an LLM call */
|
|
2203
2208
|
interface ChatOptions {
|
|
@@ -13047,8 +13052,9 @@ declare class PantographService {
|
|
|
13047
13052
|
limit?: number;
|
|
13048
13053
|
}): Promise<MoralisApiResponse<TrendingToken[]>>;
|
|
13049
13054
|
/**
|
|
13050
|
-
* Fill missing `marketCap` / `totalVolume`
|
|
13051
|
-
*
|
|
13055
|
+
* Fill missing `marketCap` / `totalVolume` — and the on-chain `symbol` the
|
|
13056
|
+
* top-gainers feed omits — on trending tokens via a single
|
|
13057
|
+
* `/keyrings/tokens/{chain}/v2` batch. Non-fatal: leaves fields as they were on error.
|
|
13052
13058
|
*/
|
|
13053
13059
|
private enrichTrendingMarketData;
|
|
13054
13060
|
/** Fetch and normalize the raw top-gainers feed for a hex chain. */
|