@gamepark/react-client 7.0.0-beta.0 → 7.0.0-beta.2
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/Actions/ActionFailed.js +3 -7
- package/dist/Actions/ActionFailed.js.map +1 -1
- package/dist/Actions/AnimationComplete.js +3 -7
- package/dist/Actions/AnimationComplete.js.map +1 -1
- package/dist/Actions/AnimationPaused.js +3 -7
- package/dist/Actions/AnimationPaused.js.map +1 -1
- package/dist/Actions/AnimationStart.js +1 -4
- package/dist/Actions/AnimationStart.js.map +1 -1
- package/dist/Actions/ClearFailures.d.ts +1 -5
- package/dist/Actions/ClearFailures.js +3 -9
- package/dist/Actions/ClearFailures.js.map +1 -1
- package/dist/Actions/GameNotificationsReceived.d.ts +2 -4
- package/dist/Actions/GameNotificationsReceived.js +2 -9
- package/dist/Actions/GameNotificationsReceived.js.map +1 -1
- package/dist/Actions/GameOver.js +3 -7
- package/dist/Actions/GameOver.js.map +1 -1
- package/dist/Actions/GameStateLoaded.js +5 -18
- package/dist/Actions/GameStateLoaded.js.map +1 -1
- package/dist/Actions/MovePlayed.d.ts +4 -4
- package/dist/Actions/MovePlayed.js +3 -4
- package/dist/Actions/MovePlayed.js.map +1 -1
- package/dist/Actions/MoveUndone.js +3 -8
- package/dist/Actions/MoveUndone.js.map +1 -1
- package/dist/Actions/PlayerQuit.d.ts +3 -9
- package/dist/Actions/PlayerQuit.js +2 -19
- package/dist/Actions/PlayerQuit.js.map +1 -1
- package/dist/Actions/SetAnimationsSpeed.d.ts +1 -6
- package/dist/Actions/SetAnimationsSpeed.js +3 -9
- package/dist/Actions/SetAnimationsSpeed.js.map +1 -1
- package/dist/Actions/giveUp.d.ts +1 -0
- package/dist/Actions/giveUp.js +3 -0
- package/dist/Actions/giveUp.js.map +1 -0
- package/dist/Actions/index.d.ts +7 -11
- package/dist/Actions/index.js +7 -27
- package/dist/Actions/index.js.map +1 -1
- package/dist/Actions/loadGameState.d.ts +14 -0
- package/dist/Actions/loadGameState.js +3 -0
- package/dist/Actions/loadGameState.js.map +1 -0
- package/dist/Actions/playMove.d.ts +10 -0
- package/dist/Actions/playMove.js +3 -0
- package/dist/Actions/playMove.js.map +1 -0
- package/dist/Actions/receiveNotifications.d.ts +8 -0
- package/dist/Actions/receiveNotifications.js +3 -0
- package/dist/Actions/receiveNotifications.js.map +1 -0
- package/dist/Actions/removePlayer.d.ts +5 -0
- package/dist/Actions/removePlayer.js +3 -0
- package/dist/Actions/removePlayer.js.map +1 -0
- package/dist/Actions/reportFailure.d.ts +1 -0
- package/dist/Actions/reportFailure.js +3 -0
- package/dist/Actions/reportFailure.js.map +1 -0
- package/dist/Actions/setGameOver.d.ts +2 -0
- package/dist/Actions/setGameOver.js +3 -0
- package/dist/Actions/setGameOver.js.map +1 -0
- package/dist/Actions/startAnimation.d.ts +1 -0
- package/dist/Actions/startAnimation.js +3 -0
- package/dist/Actions/startAnimation.js.map +1 -0
- package/dist/Actions/undoMove.d.ts +5 -0
- package/dist/Actions/undoMove.js +4 -0
- package/dist/Actions/undoMove.js.map +1 -0
- package/dist/Chat/ChatChannel.js +1 -2
- package/dist/Chat/Message.js +1 -2
- package/dist/Chat/index.js +2 -18
- package/dist/Chat/index.js.map +1 -1
- package/dist/Deckbuilding/Deck.js +1 -2
- package/dist/Deckbuilding/index.js +4 -24
- package/dist/Deckbuilding/index.js.map +1 -1
- package/dist/Deckbuilding/useDeleteDeck.d.ts +4 -1
- package/dist/Deckbuilding/useDeleteDeck.js +8 -14
- package/dist/Deckbuilding/useDeleteDeck.js.map +1 -1
- package/dist/Deckbuilding/useMyDecks.d.ts +2 -1
- package/dist/Deckbuilding/useMyDecks.js +7 -13
- package/dist/Deckbuilding/useMyDecks.js.map +1 -1
- package/dist/Deckbuilding/useSaveDeck.d.ts +4 -1
- package/dist/Deckbuilding/useSaveDeck.js +8 -14
- package/dist/Deckbuilding/useSaveDeck.js.map +1 -1
- package/dist/EjectPlayer/EjectPlayer.d.ts +1 -6
- package/dist/EjectPlayer/EjectPlayer.js +2 -8
- package/dist/EjectPlayer/EjectPlayer.js.map +1 -1
- package/dist/EjectPlayer/index.js +1 -17
- package/dist/EjectPlayer/index.js.map +1 -1
- package/dist/Failure/Failure.js +1 -4
- package/dist/Failure/Failure.js.map +1 -1
- package/dist/Failure/index.js +1 -17
- package/dist/Failure/index.js.map +1 -1
- package/dist/GiveUp/GiveUp.js +2 -5
- package/dist/GiveUp/GiveUp.js.map +1 -1
- package/dist/GiveUp/index.js +1 -17
- package/dist/GiveUp/index.js.map +1 -1
- package/dist/Hooks/index.js +5 -21
- package/dist/Hooks/index.js.map +1 -1
- package/dist/Hooks/useChatMessages.d.ts +1 -6
- package/dist/Hooks/useChatMessages.js +35 -44
- package/dist/Hooks/useChatMessages.js.map +1 -1
- package/dist/Hooks/useMessageAuthor.js +12 -16
- package/dist/Hooks/useMessageAuthor.js.map +1 -1
- package/dist/Hooks/useOptions.js +3 -6
- package/dist/Hooks/useOptions.js.map +1 -1
- package/dist/Hooks/useRematch.d.ts +1 -1
- package/dist/Hooks/useRematch.js +16 -20
- package/dist/Hooks/useRematch.js.map +1 -1
- package/dist/Hooks/useSendMessage.d.ts +4 -1
- package/dist/Hooks/useSendMessage.js +5 -12
- package/dist/Hooks/useSendMessage.js.map +1 -1
- package/dist/Log/StartLiveLog.d.ts +1 -4
- package/dist/Log/StartLiveLog.js +3 -5
- package/dist/Log/StartLiveLog.js.map +1 -1
- package/dist/Log/StopLiveLog.d.ts +1 -4
- package/dist/Log/StopLiveLog.js +4 -7
- package/dist/Log/StopLiveLog.js.map +1 -1
- package/dist/Log/index.d.ts +2 -2
- package/dist/Log/index.js +4 -20
- package/dist/Log/index.js.map +1 -1
- package/dist/Log/useLogControls.js +11 -14
- package/dist/Log/useLogControls.js.map +1 -1
- package/dist/PlayerTime/PlayerTime.js +1 -2
- package/dist/PlayerTime/index.js +1 -17
- package/dist/PlayerTime/index.js.map +1 -1
- package/dist/Rematch/RematchQueries.js +23 -13
- package/dist/Rematch/RematchQueries.js.map +1 -1
- package/dist/Rematch/index.js +1 -17
- package/dist/Rematch/index.js.map +1 -1
- package/dist/Sound/MuteSounds.d.ts +1 -4
- package/dist/Sound/MuteSounds.js +5 -8
- package/dist/Sound/MuteSounds.js.map +1 -1
- package/dist/Sound/UnmuteSounds.d.ts +1 -4
- package/dist/Sound/UnmuteSounds.js +3 -5
- package/dist/Sound/UnmuteSounds.js.map +1 -1
- package/dist/Sound/index.d.ts +2 -2
- package/dist/Sound/index.js +3 -19
- package/dist/Sound/index.js.map +1 -1
- package/dist/Sound/useSoundControls.js +11 -14
- package/dist/Sound/useSoundControls.js.map +1 -1
- package/dist/Store/DisplayedAction.js +4 -10
- package/dist/Store/DisplayedAction.js.map +1 -1
- package/dist/Store/GamePageState.d.ts +0 -1
- package/dist/Store/GamePageState.js +1 -2
- package/dist/Store/PlayedMove.js +1 -2
- package/dist/Store/endAnimation.d.ts +1 -0
- package/dist/Store/endAnimation.js +3 -0
- package/dist/Store/endAnimation.js.map +1 -0
- package/dist/Store/gameMiddleware.js +30 -41
- package/dist/Store/gameMiddleware.js.map +1 -1
- package/dist/Store/gameReducer.d.ts +2 -11
- package/dist/Store/gameReducer.js +301 -377
- package/dist/Store/gameReducer.js.map +1 -1
- package/dist/Store/index.d.ts +1 -0
- package/dist/Store/index.js +4 -19
- package/dist/Store/index.js.map +1 -1
- package/dist/Store/localMovePreviewMiddleware.js +15 -13
- package/dist/Store/localMovePreviewMiddleware.js.map +1 -1
- package/dist/Store/store.d.ts +13 -0
- package/dist/Store/store.js +27 -0
- package/dist/Store/store.js.map +1 -0
- package/dist/Tutorial/PlayTutorialMoves.d.ts +1 -9
- package/dist/Tutorial/PlayTutorialMoves.js +2 -6
- package/dist/Tutorial/PlayTutorialMoves.js.map +1 -1
- package/dist/Tutorial/Tutorial.js +1 -2
- package/dist/Tutorial/TutorialDescription.d.ts +1 -1
- package/dist/Tutorial/TutorialDescription.js +1 -2
- package/dist/Tutorial/index.js +4 -20
- package/dist/Tutorial/index.js.map +1 -1
- package/dist/Tutorial/useTutorial.js +11 -20
- package/dist/Tutorial/useTutorial.js.map +1 -1
- package/dist/Types/GameAI.js +1 -2
- package/dist/Types/GameData.js +1 -2
- package/dist/Types/GameMessage.js +1 -2
- package/dist/Types/GameMode.js +2 -5
- package/dist/Types/GameMode.js.map +1 -1
- package/dist/Types/GameNotification.js +1 -2
- package/dist/Types/GameOptions.js +2 -5
- package/dist/Types/GameOptions.js.map +1 -1
- package/dist/Types/MovePlayedNotification.d.ts +1 -1
- package/dist/Types/MovePlayedNotification.js +3 -8
- package/dist/Types/MovePlayedNotification.js.map +1 -1
- package/dist/Types/MoveUndoneNotification.d.ts +1 -1
- package/dist/Types/MoveUndoneNotification.js +3 -8
- package/dist/Types/MoveUndoneNotification.js.map +1 -1
- package/dist/Types/Player.js +1 -2
- package/dist/Types/PlayerQuitReason.js +2 -5
- package/dist/Types/PlayerQuitReason.js.map +1 -1
- package/dist/Types/ProxyGameData.js +1 -2
- package/dist/Types/Tournament.js +1 -2
- package/dist/Types/index.js +12 -28
- package/dist/Types/index.js.map +1 -1
- package/dist/User/User.js +1 -2
- package/dist/User/index.js +2 -18
- package/dist/User/index.js.map +1 -1
- package/dist/User/useMe.js +9 -19
- package/dist/User/useMe.js.map +1 -1
- package/dist/animations/Animation.js +1 -2
- package/dist/animations/AnimationContext.d.ts +1 -1
- package/dist/animations/AnimationContext.js +1 -2
- package/dist/animations/AnimationState.js +1 -2
- package/dist/animations/AnimationStep.js +2 -5
- package/dist/animations/AnimationStep.js.map +1 -1
- package/dist/animations/Animations.js +9 -16
- package/dist/animations/Animations.js.map +1 -1
- package/dist/animations/AnimationsListener.d.ts +6 -0
- package/dist/animations/AnimationsListener.js +54 -0
- package/dist/animations/AnimationsListener.js.map +1 -0
- package/dist/animations/AnimationsListenerCreator.d.ts +1 -4
- package/dist/animations/AnimationsListenerCreator.js +24 -30
- package/dist/animations/AnimationsListenerCreator.js.map +1 -1
- package/dist/animations/animationMiddleware.d.ts +4 -0
- package/dist/animations/animationMiddleware.js +50 -0
- package/dist/animations/animationMiddleware.js.map +1 -0
- package/dist/animations/index.d.ts +0 -1
- package/dist/animations/index.js +5 -22
- package/dist/animations/index.js.map +1 -1
- package/dist/api/Client/GameClientAPI.d.ts +5 -6
- package/dist/api/Client/GameClientAPI.js +70 -119
- package/dist/api/Client/GameClientAPI.js.map +1 -1
- package/dist/api/Client/GameNotificationsListener.js +51 -104
- package/dist/api/Client/GameNotificationsListener.js.map +1 -1
- package/dist/api/Client/RemoteGameLoader.js +50 -45
- package/dist/api/Client/RemoteGameLoader.js.map +1 -1
- package/dist/api/Client/RemoteGameProvider.js +15 -51
- package/dist/api/Client/RemoteGameProvider.js.map +1 -1
- package/dist/api/Client/apollo-client.d.ts +1 -1
- package/dist/api/Client/apollo-client.js +14 -31
- package/dist/api/Client/apollo-client.js.map +1 -1
- package/dist/api/Client/index.js +4 -20
- package/dist/api/Client/index.js.map +1 -1
- package/dist/api/Client/pusher.js +5 -12
- package/dist/api/Client/pusher.js.map +1 -1
- package/dist/api/GameAPI.d.ts +2 -3
- package/dist/api/GameAPI.js +1 -2
- package/dist/api/Local/ConsoleTools.d.ts +1 -2
- package/dist/api/Local/ConsoleTools.js +15 -22
- package/dist/api/Local/ConsoleTools.js.map +1 -1
- package/dist/api/Local/GameLocalAPI.d.ts +4 -5
- package/dist/api/Local/GameLocalAPI.js +264 -363
- package/dist/api/Local/GameLocalAPI.js.map +1 -1
- package/dist/api/Local/LocalGameProvider.d.ts +1 -1
- package/dist/api/Local/LocalGameProvider.js +17 -48
- package/dist/api/Local/LocalGameProvider.js.map +1 -1
- package/dist/api/Local/index.js +1 -17
- package/dist/api/Local/index.js.map +1 -1
- package/dist/api/index.js +2 -18
- package/dist/api/index.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +16 -36
- package/dist/index.js.map +1 -1
- package/dist/util/ArrayUtil.js +4 -8
- package/dist/util/ArrayUtil.js.map +1 -1
- package/package.json +66 -62
- package/dist/Actions/ActionType.d.ts +0 -3
- package/dist/Actions/ActionType.js +0 -8
- package/dist/Actions/ActionType.js.map +0 -1
- package/dist/Scoring/ScoringDescription.d.ts +0 -8
- package/dist/Scoring/ScoringDescription.js +0 -3
- package/dist/Scoring/ScoringDescription.js.map +0 -1
- package/dist/Scoring/index.d.ts +0 -1
- package/dist/Scoring/index.js +0 -18
- package/dist/Scoring/index.js.map +0 -1
- package/dist/util/TimeUtil.d.ts +0 -2
- package/dist/util/TimeUtil.js +0 -27
- package/dist/util/TimeUtil.js.map +0 -1
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.actionFailed = actionFailed;
|
|
5
|
-
exports.ACTION_FAILED = 'ACTION_FAILED';
|
|
6
|
-
function actionFailed(reason) {
|
|
7
|
-
return { type: exports.ACTION_FAILED, reason: reason };
|
|
1
|
+
export const ACTION_FAILED = 'ACTION_FAILED';
|
|
2
|
+
export function actionFailed(reason) {
|
|
3
|
+
return { type: ACTION_FAILED, reason };
|
|
8
4
|
}
|
|
9
5
|
//# sourceMappingURL=ActionFailed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionFailed.js","sourceRoot":"","sources":["../../src/Actions/ActionFailed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionFailed.js","sourceRoot":"","sources":["../../src/Actions/ActionFailed.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAA;AAO5C,MAAM,UAAU,YAAY,CAAC,MAAc;IACzC,OAAO,EAAC,IAAI,EAAE,aAAa,EAAE,MAAM,EAAC,CAAA;AACtC,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.animationComplete = animationComplete;
|
|
5
|
-
exports.ANIMATION_COMPLETE = 'ANIMATION_COMPLETE';
|
|
6
|
-
function animationComplete(animationId) {
|
|
7
|
-
return { type: exports.ANIMATION_COMPLETE, animationId: animationId };
|
|
1
|
+
export const ANIMATION_COMPLETE = 'ANIMATION_COMPLETE';
|
|
2
|
+
export function animationComplete(animationId) {
|
|
3
|
+
return { type: ANIMATION_COMPLETE, animationId };
|
|
8
4
|
}
|
|
9
5
|
//# sourceMappingURL=AnimationComplete.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimationComplete.js","sourceRoot":"","sources":["../../src/Actions/AnimationComplete.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnimationComplete.js","sourceRoot":"","sources":["../../src/Actions/AnimationComplete.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG,oBAAoB,CAAA;AAOtD,MAAM,UAAU,iBAAiB,CAAC,WAAmB;IACnD,OAAO,EAAE,IAAI,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAA;AAClD,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.animationPaused = animationPaused;
|
|
5
|
-
exports.ANIMATION_PAUSED = 'ANIMATION_PAUSED';
|
|
6
|
-
function animationPaused(pause) {
|
|
7
|
-
return { type: exports.ANIMATION_PAUSED, pause: pause };
|
|
1
|
+
export const ANIMATION_PAUSED = 'ANIMATION_PAUSED';
|
|
2
|
+
export function animationPaused(pause) {
|
|
3
|
+
return { type: ANIMATION_PAUSED, pause };
|
|
8
4
|
}
|
|
9
5
|
//# sourceMappingURL=AnimationPaused.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimationPaused.js","sourceRoot":"","sources":["../../src/Actions/AnimationPaused.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnimationPaused.js","sourceRoot":"","sources":["../../src/Actions/AnimationPaused.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAA;AAOlD,MAAM,UAAU,eAAe,CAAC,KAAc;IAC5C,OAAO,EAAC,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAC,CAAA;AACxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimationStart.js","sourceRoot":"","sources":["../../src/Actions/AnimationStart.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnimationStart.js","sourceRoot":"","sources":["../../src/Actions/AnimationStart.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAA"}
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export interface ClearFailures {
|
|
3
|
-
type: typeof CLEAR_FAILURES;
|
|
4
|
-
}
|
|
5
|
-
export declare function clearFailures(): ClearFailures;
|
|
1
|
+
export declare const clearFailures: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"clearFailures">;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.clearFailures = clearFailures;
|
|
5
|
-
exports.CLEAR_FAILURES = 'CLEAR_FAILURES';
|
|
6
|
-
function clearFailures() {
|
|
7
|
-
return { type: exports.CLEAR_FAILURES };
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=ClearFailures.js.map
|
|
1
|
+
import { createAction } from '@reduxjs/toolkit';
|
|
2
|
+
export const clearFailures = createAction('clearFailures');
|
|
3
|
+
//# sourceMappingURL=clearFailures.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"clearFailures.js","sourceRoot":"","sources":["../../src/Actions/clearFailures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { GameNotification, Player } from '../Types';
|
|
2
|
-
export
|
|
3
|
-
export interface GameNotificationsReceived<PlayerId> {
|
|
4
|
-
type: typeof GAME_NOTIFICATIONS_RECEIVED;
|
|
2
|
+
export interface NotificationsData<PlayerId = any> {
|
|
5
3
|
notifications: GameNotification<PlayerId>[];
|
|
6
4
|
notificationsIndex: number;
|
|
7
5
|
players: Player<PlayerId>[];
|
|
8
6
|
serverTime?: number;
|
|
9
7
|
}
|
|
10
|
-
export declare
|
|
8
|
+
export declare const receiveNotifications: import("@reduxjs/toolkit").ActionCreatorWithPayload<NotificationsData<any>, string>;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.GAME_NOTIFICATIONS_RECEIVED = void 0;
|
|
4
|
-
exports.gameNotificationsReceived = gameNotificationsReceived;
|
|
5
|
-
exports.GAME_NOTIFICATIONS_RECEIVED = 'GAME_NOTIFICATIONS_RECEIVED';
|
|
6
|
-
function gameNotificationsReceived(notifications, notificationsIndex, players, serverTime) {
|
|
7
|
-
if (notificationsIndex === void 0) { notificationsIndex = 0; }
|
|
8
|
-
return { type: exports.GAME_NOTIFICATIONS_RECEIVED, notifications: notifications, notificationsIndex: notificationsIndex, players: players, serverTime: serverTime };
|
|
9
|
-
}
|
|
1
|
+
import { createAction } from '@reduxjs/toolkit';
|
|
2
|
+
export const receiveNotifications = createAction('receiveNotifications');
|
|
10
3
|
//# sourceMappingURL=GameNotificationsReceived.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameNotificationsReceived.js","sourceRoot":"","sources":["../../src/Actions/GameNotificationsReceived.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GameNotificationsReceived.js","sourceRoot":"","sources":["../../src/Actions/GameNotificationsReceived.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAU/C,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAAoB,sBAAsB,CAAC,CAAA"}
|
package/dist/Actions/GameOver.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.gameOver = gameOver;
|
|
5
|
-
exports.GAME_OVER = 'GAME_OVER';
|
|
6
|
-
function gameOver(players) {
|
|
7
|
-
return { type: exports.GAME_OVER, players: players };
|
|
1
|
+
export const GAME_OVER = 'GAME_OVER';
|
|
2
|
+
export function gameOver(players) {
|
|
3
|
+
return { type: GAME_OVER, players };
|
|
8
4
|
}
|
|
9
5
|
//# sourceMappingURL=GameOver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameOver.js","sourceRoot":"","sources":["../../src/Actions/GameOver.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GameOver.js","sourceRoot":"","sources":["../../src/Actions/GameOver.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAA;AAYpC,MAAM,UAAU,QAAQ,CAAW,OAAgF;IACjH,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,CAAA;AACrC,CAAC"}
|
|
@@ -1,21 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
1
|
+
export const GAME_STATE_LOADED = 'GAME_STATE_LOADED';
|
|
2
|
+
export function gameStateLoaded(data, serverTime) {
|
|
3
|
+
return {
|
|
4
|
+
type: GAME_STATE_LOADED, ...data, playerId: data.myPlayerId !== null ? data.myPlayerId : undefined, serverTime, endDate: data.endDate ?? undefined,
|
|
5
|
+
tournament: data.tournament ?? undefined
|
|
10
6
|
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.GAME_STATE_LOADED = void 0;
|
|
15
|
-
exports.gameStateLoaded = gameStateLoaded;
|
|
16
|
-
exports.GAME_STATE_LOADED = 'GAME_STATE_LOADED';
|
|
17
|
-
function gameStateLoaded(data, serverTime) {
|
|
18
|
-
var _a, _b;
|
|
19
|
-
return __assign(__assign({ type: exports.GAME_STATE_LOADED }, data), { playerId: data.myPlayerId !== null ? data.myPlayerId : undefined, serverTime: serverTime, endDate: (_a = data.endDate) !== null && _a !== void 0 ? _a : undefined, tournament: (_b = data.tournament) !== null && _b !== void 0 ? _b : undefined });
|
|
20
7
|
}
|
|
21
8
|
//# sourceMappingURL=GameStateLoaded.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GameStateLoaded.js","sourceRoot":"","sources":["../../src/Actions/GameStateLoaded.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GameStateLoaded.js","sourceRoot":"","sources":["../../src/Actions/GameStateLoaded.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAA;AAgBpD,MAAM,UAAU,eAAe,CAAkB,IAA+B,EAAE,UAAmB;IACnG,OAAO;QACL,IAAI,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC,UAAU,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,SAAS;QAClJ,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS;KACzC,CAAA;AACH,CAAC"}
|
|
@@ -5,7 +5,7 @@ export type PlayOptions = {
|
|
|
5
5
|
local?: boolean;
|
|
6
6
|
transient?: boolean;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
8
|
+
export declare const playMove: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
9
|
+
move: any;
|
|
10
|
+
options: PlayOptions;
|
|
11
|
+
}, string>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.MOVE_PLAYED = 'MOVE_PLAYED';
|
|
1
|
+
import { createAction } from '@reduxjs/toolkit';
|
|
2
|
+
export const MOVE_PLAYED = 'MOVE_PLAYED';
|
|
3
|
+
export const playMove = createAction('playMove');
|
|
5
4
|
//# sourceMappingURL=MovePlayed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MovePlayed.js","sourceRoot":"","sources":["../../src/Actions/MovePlayed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MovePlayed.js","sourceRoot":"","sources":["../../src/Actions/MovePlayed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA;AASxC,MAAM,CAAC,MAAM,QAAQ,GAAG,YAAY,CAAsC,UAAU,CAAC,CAAA"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.moveUndone = moveUndone;
|
|
5
|
-
exports.MOVE_UNDONE = 'MOVE_UNDONE';
|
|
6
|
-
function moveUndone(actionId, delayed) {
|
|
7
|
-
if (delayed === void 0) { delayed = false; }
|
|
8
|
-
return { type: exports.MOVE_UNDONE, actionId: actionId, delayed: delayed };
|
|
1
|
+
export const MOVE_UNDONE = 'MOVE_UNDONE';
|
|
2
|
+
export function moveUndone(actionId, delayed = false) {
|
|
3
|
+
return { type: MOVE_UNDONE, actionId, delayed };
|
|
9
4
|
}
|
|
10
5
|
//# sourceMappingURL=MoveUndone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoveUndone.js","sourceRoot":"","sources":["../../src/Actions/MoveUndone.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MoveUndone.js","sourceRoot":"","sources":["../../src/Actions/MoveUndone.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA;AAQxC,MAAM,UAAU,UAAU,CAAC,QAAgB,EAAE,UAAmB,KAAK;IACnE,OAAO,EAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAC,CAAA;AAC/C,CAAC"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { PlayerQuitReason } from '../Types';
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
type: typeof PLAYER_QUIT;
|
|
5
|
-
playerId: PlayerId;
|
|
2
|
+
export declare const removePlayer: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
3
|
+
playerId: any;
|
|
6
4
|
reason: PlayerQuitReason;
|
|
7
|
-
}
|
|
8
|
-
export declare function playerQuit<PlayerId>(data: {
|
|
9
|
-
playerId: PlayerId;
|
|
10
|
-
reason: PlayerQuitReason;
|
|
11
|
-
}): PlayerQuit<PlayerId>;
|
|
5
|
+
}, string>;
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.PLAYER_QUIT = void 0;
|
|
15
|
-
exports.playerQuit = playerQuit;
|
|
16
|
-
exports.PLAYER_QUIT = 'PLAYER_QUIT';
|
|
17
|
-
function playerQuit(data) {
|
|
18
|
-
return __assign({ type: exports.PLAYER_QUIT }, data);
|
|
19
|
-
}
|
|
1
|
+
import { createAction } from '@reduxjs/toolkit';
|
|
2
|
+
export const removePlayer = createAction('removePlayer');
|
|
20
3
|
//# sourceMappingURL=PlayerQuit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerQuit.js","sourceRoot":"","sources":["../../src/Actions/PlayerQuit.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlayerQuit.js","sourceRoot":"","sources":["../../src/Actions/PlayerQuit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAG/C,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAA8C,cAAc,CAAC,CAAA"}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export interface SetAnimationsSpeed {
|
|
3
|
-
type: typeof SET_ANIMATIONS_SPEED;
|
|
4
|
-
speed: number;
|
|
5
|
-
}
|
|
6
|
-
export declare function setAnimationsSpeed(speed: number): SetAnimationsSpeed;
|
|
1
|
+
export declare const setAnimationsSpeed: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, string>;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.setAnimationsSpeed = setAnimationsSpeed;
|
|
5
|
-
exports.SET_ANIMATIONS_SPEED = 'SET_ANIMATIONS_SPEED';
|
|
6
|
-
function setAnimationsSpeed(speed) {
|
|
7
|
-
return { type: exports.SET_ANIMATIONS_SPEED, speed: speed };
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=SetAnimationsSpeed.js.map
|
|
1
|
+
import { createAction } from '@reduxjs/toolkit';
|
|
2
|
+
export const setAnimationsSpeed = createAction('setAnimationsSpeed');
|
|
3
|
+
//# sourceMappingURL=setAnimationsSpeed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"setAnimationsSpeed.js","sourceRoot":"","sources":["../../src/Actions/setAnimationsSpeed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAS,oBAAoB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const giveUp: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"giveUp">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"giveUp.js","sourceRoot":"","sources":["../../src/Actions/giveUp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,MAAM,CAAC,MAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAA"}
|
package/dist/Actions/index.d.ts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './GameStateLoaded';
|
|
9
|
-
export * from './MovePlayed';
|
|
10
|
-
export * from './MoveUndone';
|
|
11
|
-
export * from './SetAnimationsSpeed';
|
|
1
|
+
export * from './clearFailures';
|
|
2
|
+
export * from './receiveNotifications';
|
|
3
|
+
export * from './giveUp';
|
|
4
|
+
export * from './setGameOver';
|
|
5
|
+
export * from './playMove';
|
|
6
|
+
export * from './undoMove';
|
|
7
|
+
export * from './setAnimationsSpeed';
|
package/dist/Actions/index.js
CHANGED
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ActionFailed"), exports);
|
|
18
|
-
__exportStar(require("./AnimationComplete"), exports);
|
|
19
|
-
__exportStar(require("./AnimationPaused"), exports);
|
|
20
|
-
__exportStar(require("./AnimationStart"), exports);
|
|
21
|
-
__exportStar(require("./ClearFailures"), exports);
|
|
22
|
-
__exportStar(require("./GameNotificationsReceived"), exports);
|
|
23
|
-
__exportStar(require("./GameOver"), exports);
|
|
24
|
-
__exportStar(require("./GameStateLoaded"), exports);
|
|
25
|
-
__exportStar(require("./MovePlayed"), exports);
|
|
26
|
-
__exportStar(require("./MoveUndone"), exports);
|
|
27
|
-
__exportStar(require("./SetAnimationsSpeed"), exports);
|
|
1
|
+
export * from './clearFailures';
|
|
2
|
+
export * from './receiveNotifications';
|
|
3
|
+
export * from './giveUp';
|
|
4
|
+
export * from './setGameOver';
|
|
5
|
+
export * from './playMove';
|
|
6
|
+
export * from './undoMove';
|
|
7
|
+
export * from './setAnimationsSpeed';
|
|
28
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Actions/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { GameMode, GameNotification, GameOptions, Player, Tournament } from '../Types';
|
|
2
|
+
export declare const loadGameState: import("@reduxjs/toolkit").ActionCreatorWithPayload<GameState<any, any>, string>;
|
|
3
|
+
export interface GameState<Game = any, PlayerId = any> {
|
|
4
|
+
players: Player<PlayerId>[];
|
|
5
|
+
options: GameOptions;
|
|
6
|
+
playerId?: PlayerId;
|
|
7
|
+
mode: GameMode;
|
|
8
|
+
state: Game;
|
|
9
|
+
setup: Game;
|
|
10
|
+
notifications: GameNotification[];
|
|
11
|
+
endDate?: Date;
|
|
12
|
+
serverTime?: number;
|
|
13
|
+
tournament?: Tournament;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loadGameState.js","sourceRoot":"","sources":["../../src/Actions/loadGameState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAG/C,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,CAAY,eAAe,CAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type PlayOptions = {
|
|
2
|
+
delayed?: boolean;
|
|
3
|
+
skipAnimation?: boolean;
|
|
4
|
+
local?: boolean;
|
|
5
|
+
transient?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const playMove: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
8
|
+
move: any;
|
|
9
|
+
options?: PlayOptions;
|
|
10
|
+
}, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playMove.js","sourceRoot":"","sources":["../../src/Actions/playMove.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAS/C,MAAM,CAAC,MAAM,QAAQ,GAAG,YAAY,CAAuC,UAAU,CAAC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GameNotification, Player } from '../Types';
|
|
2
|
+
export interface NotificationsData<PlayerId = any> {
|
|
3
|
+
notifications: GameNotification<PlayerId>[];
|
|
4
|
+
notificationsIndex: number;
|
|
5
|
+
players: Player<PlayerId>[];
|
|
6
|
+
serverTime?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const receiveNotifications: import("@reduxjs/toolkit").ActionCreatorWithPayload<NotificationsData<any>, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"receiveNotifications.js","sourceRoot":"","sources":["../../src/Actions/receiveNotifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAU/C,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAAoB,sBAAsB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removePlayer.js","sourceRoot":"","sources":["../../src/Actions/removePlayer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAG/C,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAA8C,cAAc,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const reportFailure: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportFailure.js","sourceRoot":"","sources":["../../src/Actions/reportFailure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,YAAY,CAAS,eAAe,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setGameOver.js","sourceRoot":"","sources":["../../src/Actions/setGameOver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAG/C,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAW,aAAa,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const startAnimation: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"startAnimation.js","sourceRoot":"","sources":["../../src/Actions/startAnimation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,MAAM,CAAC,MAAM,cAAc,GAAG,YAAY,CAAS,gBAAgB,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undoMove.js","sourceRoot":"","sources":["../../src/Actions/undoMove.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/C,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA;AAExC,MAAM,CAAC,MAAM,QAAQ,GAAG,YAAY,CAA0C,UAAU,CAAC,CAAA"}
|
package/dist/Chat/ChatChannel.js
CHANGED
package/dist/Chat/Message.js
CHANGED
package/dist/Chat/index.js
CHANGED
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./ChatChannel"), exports);
|
|
18
|
-
__exportStar(require("./Message"), exports);
|
|
1
|
+
export * from './ChatChannel';
|
|
2
|
+
export * from './Message';
|
|
19
3
|
//# sourceMappingURL=index.js.map
|
package/dist/Chat/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Chat/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Chat/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,WAAW,CAAA"}
|