export * from './mobileApp';
export * from './webSocket';
// gameId is now optional, because the new update diceSet message needs to
// support characters that aren't in a game to still receive the new setId
export const isValidGameId = (gameId) => gameId !== '0';
export const toKey = ({ dateTime, eventType, userId }) => `${dateTime}-${eventType}-${userId}`;
export const byDateTime = ({ dateTime: a }, { dateTime: b }) => (a > b ? -1 : a === b ? 0 : 1);
//# sourceMappingURL=index.js.map