docs(skill): CurrencyBalance replaces Balance
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user