@spirobel/monero-wallet-api 0.3.6 → 0.3.8

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.
@@ -30,7 +30,9 @@ export async function readStatsFile(cacheFilePath) {
30
30
  if (key === "amount" ||
31
31
  key === "pending_amount" ||
32
32
  key === "total_amount" ||
33
- key === "total_pending_amount")
33
+ key === "total_pending_amount" ||
34
+ key === "primary_address_received_amount" ||
35
+ key === "primary_address_pending_amount")
34
36
  return BigInt(value);
35
37
  return value;
36
38
  })
@@ -42,5 +42,8 @@ export declare function parseDestination(destination: string): string;
42
42
  export declare const OPEN_DOMAINS: string[];
43
43
  export declare function checkToolInvocationValidity(invo: ParsedMoneroToolInvocation): Promise<ToolInvocationValidity>;
44
44
  export declare const ADDRESS_VALID_RESPONSE: {
45
- valid_address: boolean;
45
+ readonly valid_address: true;
46
+ };
47
+ export declare const ADDRESS_INVALID_RESPONSE: {
48
+ readonly valid_address: false;
46
49
  };
@@ -165,3 +165,6 @@ export async function checkToolInvocationValidity(invo) {
165
165
  export const ADDRESS_VALID_RESPONSE = {
166
166
  valid_address: true,
167
167
  };
168
+ export const ADDRESS_INVALID_RESPONSE = {
169
+ valid_address: false,
170
+ };
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "clean": "rm -rf ./dist"
41
41
  },
42
42
  "files": ["dist"],
43
- "version": "0.3.6",
43
+ "version": "0.3.8",
44
44
  "devDependencies": {
45
45
  "@types/bun": "latest"
46
46
  },