keyring-agent-core 0.3.11 → 0.3.13
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 +0 -6
- package/dist/index.js +70 -70
- package/dist/index.native.js +191 -191
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5069,12 +5069,6 @@ declare class WalletTokenBalancesTool extends BaseTool {
|
|
|
5069
5069
|
parameters: ToolParameter[];
|
|
5070
5070
|
private service;
|
|
5071
5071
|
constructor(config?: WalletTokenBalancesToolConfig);
|
|
5072
|
-
/**
|
|
5073
|
-
* Format a USD number to EXACTLY 2 decimals by TRUNCATING (never rounding).
|
|
5074
|
-
* Uses string slicing rather than `Math.trunc(v * 100) / 100`, which is unsafe
|
|
5075
|
-
* for values like 0.29 (0.29 * 100 === 28.999999999999996 → would yield 0.28).
|
|
5076
|
-
*/
|
|
5077
|
-
private truncateUsd;
|
|
5078
5072
|
protected run(args: Record<string, unknown>, userContext?: UserContext): Promise<{
|
|
5079
5073
|
_instructions: string;
|
|
5080
5074
|
walletAddress: string;
|