@react-remote-state/client 1.0.2 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -3,6 +3,7 @@ import { Game } from '@react-remote-state/types';
3
3
  declare function getPlayer<GameCustom, PlayerCustom>(playerId?: string, game?: Game<GameCustom, PlayerCustom>): {
4
4
  id: string;
5
5
  host: boolean;
6
+ connected: boolean;
6
7
  custom: PlayerCustom | undefined;
7
8
  } | undefined;
8
9
  declare function isHost<GameCustom, PlayerCustom>(playerId?: string, game?: Game<GameCustom, PlayerCustom>): boolean | undefined;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { Game } from '@react-remote-state/types';
3
3
  declare function getPlayer<GameCustom, PlayerCustom>(playerId?: string, game?: Game<GameCustom, PlayerCustom>): {
4
4
  id: string;
5
5
  host: boolean;
6
+ connected: boolean;
6
7
  custom: PlayerCustom | undefined;
7
8
  } | undefined;
8
9
  declare function isHost<GameCustom, PlayerCustom>(playerId?: string, game?: Game<GameCustom, PlayerCustom>): boolean | undefined;