@react-remote-state/client 1.1.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +5586 -40
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5593 -37
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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;
|