docs(skill): CurrencyBalance replaces Balance
This commit is contained in:
@@ -23,7 +23,7 @@ await client.player.reload(); // force refetch
|
||||
|
||||
```ts
|
||||
interface PlayerProfile {
|
||||
balances?: Balance[];
|
||||
balances?: CurrencyBalance[];
|
||||
identities?: PlayerProfileIdentity[];
|
||||
items?: InventoryStack[];
|
||||
player?: Player;
|
||||
@@ -44,7 +44,7 @@ interface Player {
|
||||
region?: string;
|
||||
}
|
||||
|
||||
interface Balance {
|
||||
interface CurrencyBalance {
|
||||
balance?: number;
|
||||
currency?: string; // currency slug configured in the dashboard
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user