docs(skill): CurrencyBalance replaces Balance

This commit is contained in:
edmand46
2026-09-24 14:13:35 +03:00
parent 1392d9ed99
commit deb87c9180
+2 -2
View File
@@ -23,7 +23,7 @@ await client.player.reload(); // force refetch
```ts ```ts
interface PlayerProfile { interface PlayerProfile {
balances?: Balance[]; balances?: CurrencyBalance[];
identities?: PlayerProfileIdentity[]; identities?: PlayerProfileIdentity[];
items?: InventoryStack[]; items?: InventoryStack[];
player?: Player; player?: Player;
@@ -44,7 +44,7 @@ interface Player {
region?: string; region?: string;
} }
interface Balance { interface CurrencyBalance {
balance?: number; balance?: number;
currency?: string; // currency slug configured in the dashboard currency?: string; // currency slug configured in the dashboard
} }