bomb-panic-sdk 0.1.9 → 0.1.10

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.
package/dist/parse.js CHANGED
@@ -76,6 +76,7 @@ export function parseRoom(content) {
76
76
  readyCount = playerCount;
77
77
  }
78
78
  const readyTableId = fields.ready_players?.fields?.id?.id;
79
+ const playerBalancesTableId = fields.player_balances?.fields?.id?.id;
79
80
  return {
80
81
  roomId,
81
82
  status,
@@ -85,6 +86,7 @@ export function parseRoom(content) {
85
86
  poolValue,
86
87
  readyCount,
87
88
  readyTableId,
89
+ playerBalancesTableId,
88
90
  };
89
91
  }
90
92
  export function parseGameState(content) {
package/dist/types.d.ts CHANGED
@@ -15,6 +15,7 @@ export type ParsedRoom = {
15
15
  poolValue: bigint;
16
16
  readyCount: number;
17
17
  readyTableId?: string;
18
+ playerBalancesTableId?: string;
18
19
  };
19
20
  export type ParsedPlayer = {
20
21
  address: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bomb-panic-sdk",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",