omniarena-types 1.43.0 → 1.45.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +12 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -226,8 +226,20 @@ export type BattleHistoryDto = {
226
226
  };
227
227
  export type BattleHistoryPlayerDto = {
228
228
  id: string;
229
+ username: string;
229
230
  displayName: string;
230
231
  avatarUrl: string | null;
231
232
  eloBefore: number;
232
233
  eloAfter: number;
233
234
  };
235
+ export type LeaderboardEntryDto = {
236
+ id: string;
237
+ username: string;
238
+ displayName: string;
239
+ avatarUrl: string | null;
240
+ elo: number;
241
+ wins: number;
242
+ losses: number;
243
+ streak: number;
244
+ highestStreak: number;
245
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omniarena-types",
3
- "version": "1.43.0",
3
+ "version": "1.45.0",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [