@diffenderfer-games/hub 2.0.0-next.7 → 2.0.0-next.8

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/CHANGELOG.md CHANGED
@@ -1,16 +1,36 @@
1
1
  # @diffenderfer-games/hub
2
2
 
3
- ## 2.0.0-next.7
3
+ ## 2.0.0-next.8
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - 99d0932: Avatars: long hair now hangs behind the body. The parts of a hair style below the shoulders are drawn before the body (in SVG, Canvas, `<dg-avatar>`, the Pixi atlas and the three.js adapter) while the fringe and anything over the face stay over the head; back views keep the hair over the back. The renderer draws the eight new glasses in style C with any frame colour (light frames, and frames close to the skin, get a dark edge) and tinted lenses for sunglasses, sport and hearts (a mirror finish for `p:lens-mirror`); winks and sleepy eyes show through the lenses. `describe()` names them. The `/avatar` entry re-exports `FRAME_PRESETS`, `isTinted` and `SECOND_COLOUR_CODE`.
7
+ - ac6b1cd: Online games (`hub.turns`): `TurnGame.mayActNow` says this player may move now out of turn (the rules' `mayAct`: offer the jump-in, the UNO call, the catch), and `TurnGame.tournament` names the tournament match a game is. A `move()` answer that arrives after live events already brought newer moves no longer rolls the page back (nor does an older live event). `letComputerPlay()` documents the hand-over case. The rules kit `checkTurnRules` now moves every seat in `toAct` (not only the first) and seats in `mayAct` through `autoReact` (or the new `reactMove` option), fails on an illegal `autoReact` or a seat that does not exist, and reports `outOfTurn`.
8
+ - c12868a: Online games: new `@diffenderfer-games/hub/turns-rules` entry for a game's rules module (`defineTurnRules`, the rules types and the RNG, nothing else: the bundle stays a few KB instead of about 1 MB; `/turns` re-exports it with the kit). `TurnGame.canLetComputerPlay(now?)` says when "Let the computer play" may work (from `summary.handOverAt`, the seats' new `connected` and the deadline); `turn` now also fires when a seated player comes or goes or `handOverAt` changes. `refresh()` (and every other fetch) no longer rolls the game back when its answer is older than a live move that arrived meanwhile, and never replays that move twice. The rules kit `checkTurnRules` gains `revealed(state, marker)` (a planted card the rules rightly reveal, such as one played face up, stops being checked) and `shuffleHidden(state, seat, rng)` (the "twin table": shuffling what a seat can't see must not change its view).
9
+
10
+ `TurnGame.move()` fetches the game again after a 500 `rules_error` or 503 `rules_busy` (the hub now makes a move all or nothing, so such a move was not made).
11
+
12
+ The "your turn" buzz: every online game's page gives a short vibration when the player becomes due on a live update (never for their own next step, a move out of turn, a game just opened or a catch-up; never when they turned it off, ask for less motion, or the device can't vibrate). `hub.turns.setYourTurnBuzz(false)` and `TurnGame.setYourTurnBuzz(false)` opt a page or game out; `hub.turns.playerYourTurnBuzz` is the player's own switch on this device (the menu's Settings show it), with `readYourTurnBuzz`, `saveYourTurnBuzz`, `isNewlyDue`, `YOUR_TURN_BUZZ` and `YOUR_TURN_BUZZ_KEY` exported. A visible page waiting on another player's move that hears nothing for `TURN_QUIET_MS` (15 s) fetches the game again, so games need no polling of their own.
8
13
 
9
14
  ### Patch Changes
10
15
 
11
- - Updated dependencies [99d0932]
12
- - @diffenderfer-games/hub-contract@2.0.0-next.7
16
+ - Updated dependencies [3a67590]
17
+ - Updated dependencies [70dcfa1]
18
+ - Updated dependencies [c77830f]
19
+ - Updated dependencies [ac6b1cd]
20
+ - Updated dependencies [c12868a]
21
+ - @diffenderfer-games/hub-contract@2.0.0-next.8
13
22
 
23
+ ## 2.0.0-next.7
24
+
25
+ ### Minor Changes
26
+
27
+ - 99d0932: Avatars: long hair now hangs behind the body. The parts of a hair style below the shoulders are drawn before the body (in SVG, Canvas, `<dg-avatar>`, the Pixi atlas and the three.js adapter) while the fringe and anything over the face stay over the head; back views keep the hair over the back. The renderer draws the eight new glasses in style C with any frame colour (light frames, and frames close to the skin, get a dark edge) and tinted lenses for sunglasses, sport and hearts (a mirror finish for `p:lens-mirror`); winks and sleepy eyes show through the lenses. `describe()` names them. The `/avatar` entry re-exports `FRAME_PRESETS`, `isTinted` and `SECOND_COLOUR_CODE`.
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [99d0932]
32
+ - @diffenderfer-games/hub-contract@2.0.0-next.7
33
+
14
34
  ## 2.0.0-next.6
15
35
 
16
36
  ### Minor Changes
package/dist/auto.d.ts CHANGED
@@ -8,7 +8,7 @@ import { a as RaceHistoryQuery, c as RaceRuntimeApi, i as RaceEvents, l as RaceS
8
8
  import { f as raceForwarder } from "./shared/race.js";
9
9
  import { n as roomsForwarder } from "./shared/rooms.js";
10
10
  import { $ as RuntimeAvatarApi, A as RacerState, B as SuggestionStatus, C as RaceRecord, D as RaceStats, E as RaceState, F as ReportReason, G as REALTIME_READY_EVENT, H as isRealtimeApi, I as RoomInfo, J as SESSION_EVENT, K as REALTIME_SINGLETON_API, L as SocialConfig, M as Relation, N as ReportInput, O as Racer, P as ReportKind, Q as OpenDesignerOptions, R as SocialMe, S as RaceParams, T as RaceStatValue, U as REALTIME_FAILED_EVENT, V as findRealtimeApi, W as REALTIME_FEATURE_VERSION, X as AvatarRef, Y as AvatarChange, Z as DesignerResult, _ as PlayerLite, a as ErrorBody, at as HubNotifyApi, b as PresenceKind, c as JoinInfo, ct as OpenInviteOptions, d as Message, dt as SocialCounts, et as RealtimeHubLink, f as MessagesPage, ft as SocialEvents, g as PlayerCard, h as Party, i as Counts, it as socialForwarder, j as RecentPlayer, k as RacerResult, l as Launch, lt as PlayOnlineMethods, m as NotifyPrefs, n as ChatMode, nt as notifyForwarder, o as FriendEntry, ot as HubPresenceApi, p as NotifyChange, q as RealtimeApi, r as Conversation, rt as presenceForwarder, s as Invite, st as HubSocialApi, t as Audience, tt as linkRealtimeToHub, u as LaunchTicket, ut as PlayerRef, v as Presence, w as RaceResult, x as RaceOutcome, y as PresenceInput, z as Suggestion } from "./shared/social.js";
11
- import { $ as OfflineApi, A as SavedChangeListener, At as MeResponse, B as ResumeRun, Bt as SubmitScoreResult, C as TURN_RESYNC_EVENT, Ct as HubOptions, D as TurnOutcome, Dt as Json, E as TurnMoveEvent, Et as InventorySnapshot, F as RESUME_MAX_STATE_BYTES, Ft as SaveMeta, G as TradeId, Gt as AvatarHost, H as HubMenuControl, Ht as EndpointFields, I as ResumeBlocker, It as SnapshotResponse, J as AuthResponse, Jt as CarriesLook, K as TradeListOptions, Kt as AvatarModule, L as ResumeEntry, Lt as SortDir, M as SavedOpenHandler, Mt as Profile, N as HubResume, Nt as ProfileSummary, O as HubSaved, Ot as LeaderboardEntry, P as RESUME_DEBOUNCE_MS, Pt as Save, Q as SyncResult, R as ResumeLoadOptions, Rt as Stats, S as TURN_POLL_MS, St as GlobalAnalytics, T as TurnGameEvents, Tt as Inventory, U as GrantBundle, Ut as EndpointName, V as ResumeSaveInput, Vt as User, W as TradeBundle, Wt as EndpointReply, X as StatResult, Y as ProfileUpdate, Z as SyncConflict, _ as HubTurns, _t as BoardWithTop, a as HUB_CLIENT_VERSION, at as OUTBOX_MAX_CHARS, b as TURN_CHAT_EVENT, bt as GameLeaderboards, c as HubErrorCode, ct as OfflineKindDefinition, d as SAVE_UNKNOWN_CODE, dt as ProfilePatch, et as OUTBOX_FULL_CODE, f as UNSUPPORTED_BY_HUB, ft as QueueOp, g as ClientSupport, gt as Board, h as hub, ht as BufferedEvent, i as TurnGameView, it as OfflineOp, j as SavedOpenDetail, jt as Metrics, k as SAVED_CHANGE_QUIET_MS, kt as LeaderboardResult, l as HubErrorDetails, lt as ReplayContext, m as createHub, mt as QueuedScoreOptions, n as TurnChatLine, nt as OfflineEventName, o as ContentRejectedError, ot as OUTBOX_MAX_ENTRIES, p as Hub, pt as QueueOpInput, q as TradeNoteOptions, qt as HubAvatar, r as TurnDeadline, rt as OfflineListener, s as HubError, st as OfflineHandler, t as OpenTurnGame, tt as OfflineEventDetails, u as OfflineError, ut as CLIENT_VERSION_HEADER, v as TURN_LINK_PARAM, vt as GameAnalytics, w as TurnGame, wt as HubStatus, x as TURN_EVENT, xt as GameRecords, y as TurnCreateOptions, yt as GameInfo, z as ResumeProgress, zt as SubmitScoreOptions } from "./shared/index.js";
11
+ import { $ as TradeListOptions, $t as AvatarModule, A as TurnGame, At as HubOptions, B as HubResume, Bt as ProfileSummary, C as TURN_LINK_PARAM, Ct as Board, D as TURN_POLL_MS, Dt as GameLeaderboards, E as TURN_EVENT, Et as GameInfo, F as HubSaved, Ft as LeaderboardEntry, G as ResumeLoadOptions, Gt as Stats, H as RESUME_MAX_STATE_BYTES, Ht as SaveMeta, I as SAVED_CHANGE_QUIET_MS, It as LeaderboardResult, J as ResumeSaveInput, Jt as User, K as ResumeProgress, Kt as SubmitScoreOptions, L as SavedChangeListener, Lt as MeResponse, M as TurnGameOptions, Mt as Inventory, N as TurnMoveEvent, Nt as InventorySnapshot, O as TURN_QUIET_MS, Ot as GameRecords, P as TurnOutcome, Pt as Json, Q as TradeId, Qt as AvatarHost, R as SavedOpenDetail, Rt as Metrics, S as HubTurns, St as BufferedEvent, T as TURN_CHAT_EVENT, Tt as GameAnalytics, U as ResumeBlocker, Ut as SnapshotResponse, V as RESUME_DEBOUNCE_MS, Vt as Save, W as ResumeEntry, Wt as SortDir, X as GrantBundle, Xt as EndpointName, Y as HubMenuControl, Yt as EndpointFields, Z as TradeBundle, Zt as EndpointReply, _ as UNSUPPORTED_BY_HUB, _t as CLIENT_VERSION_HEADER, a as HUB_CLIENT_VERSION, at as SyncResult, b as hub, bt as QueueOpInput, c as isNewlyDue, ct as OfflineEventDetails, d as ContentRejectedError, dt as OfflineOp, en as HubAvatar, et as TradeNoteOptions, f as HubError, ft as OUTBOX_MAX_CHARS, g as SAVE_UNKNOWN_CODE, gt as ReplayContext, h as OfflineError, ht as OfflineKindDefinition, i as TurnGameView, it as SyncConflict, j as TurnGameEvents, jt as HubStatus, k as TURN_RESYNC_EVENT, kt as GlobalAnalytics, l as readYourTurnBuzz, lt as OfflineEventName, m as HubErrorDetails, mt as OfflineHandler, n as TurnChatLine, nt as ProfileUpdate, o as YOUR_TURN_BUZZ, ot as OfflineApi, p as HubErrorCode, pt as OUTBOX_MAX_ENTRIES, q as ResumeRun, qt as SubmitScoreResult, r as TurnDeadline, rt as StatResult, s as YOUR_TURN_BUZZ_KEY, st as OUTBOX_FULL_CODE, t as OpenTurnGame, tn as CarriesLook, tt as AuthResponse, u as saveYourTurnBuzz, ut as OfflineListener, v as Hub, vt as ProfilePatch, w as TurnCreateOptions, wt as BoardWithTop, x as ClientSupport, xt as QueuedScoreOptions, y as createHub, yt as QueueOp, z as SavedOpenHandler, zt as Profile } from "./shared/index.js";
12
12
  //#region src/auto.d.ts
13
13
  /** What `window.HubSDK` holds. */
14
14
  export interface HubSdkGlobal {
@@ -32,5 +32,5 @@ declare global {
32
32
  }
33
33
  }
34
34
  //#endregion
35
- export { type Anchor, type Audience, type AuthResponse, type AutoNavigateTarget, type AutoPauseOptions, type AvatarChange, type AvatarHost, type AvatarModule, type AvatarRef, type AxisDef, type AxisSide, type Board, type BoardWithTop, type BufferedEvent, type BusyOptions, CLIENT_VERSION_HEADER, type CarriesLook, type ChatMode, type ClientSupport, ContentRejectedError, type Conversation, type Counts, DAILY_SINGLETON_API, DAILY_START_EVENT, type DailyAll, type DailyChallenge, type DailyCompleteResponse, type DailyCompletion, type DailyCompletionMeta, type DailyCompletions, type DailyDefinition, type DailyEventDetail, type DailyGameStatus, type DailyHost, type DailySaveInput, type DailyStartResponse, type DailyStatus, DailySystem, type DesignerResult, type DraggedSpot, type EdgeOffsets, type EndpointFields, type EndpointName, type EndpointReply, type ErrorBody, FOCUS_RING_SHADOW, type FriendEntry, type GameAnalytics, type GameInfo, type GameLeaderboards, type GamePayload, type GameRecords, type GamepadMapping, type GlobalAnalytics, type GrantBundle, type GroupDef, HUB_CLIENT_VERSION, Hub, HubAvatar, HubError, type HubErrorCode, type HubErrorDetails, type HubMenuControl, type HubMpApi, type HubNotifyApi, type HubOptions, type HubPresenceApi, type HubRaceApi, HubResume, type HubRoom, type HubRoomsApi, HubSaved, type HubSocialApi, type HubStatus, HubTurns, INPUT_SINGLETON_API, type InputConfig, type InputDef, type InputEvents, type InputHost, type InputModality, type InputOptions, type InputOverrides, type InputReading, type InputSource, InputSystem, type InputSystemOptions, type Insets, type Inventory, type InventorySnapshot, type Invite, type InviteCreated, type InviteLink, type InviteLinkMethods, type InviteOptions, type InviteResult, type JoinInfo, type JoinInfoEvent, type JoinOptions, type Json, type Launch, type LaunchTicket, type LayoutBox, type LayoutItem, type LayoutOptions, type LeaderboardEntry, type LeaderboardResult, MODALITY_ATTRIBUTE, type MeResponse, type MenuBridge, type Message, type MessagesPage, type Metrics, type MouseMapping, type NavBlurEvent, type NavElement, type NavElementKind, type NavFocusEvent, type NavTarget, type NavigableDef, type Notice, type NotifyChange, type NotifyPrefs, OUTBOX_FULL_CODE, OUTBOX_MAX_CHARS, OUTBOX_MAX_ENTRIES, OfflineApi, OfflineError, type OfflineEventDetails, type OfflineEventName, type OfflineHandler, type OfflineKindDefinition, type OfflineListener, type OfflineOp, type OpenDesignerOptions, type OpenInviteOptions, type OpenTurnGame, Overlay, type OverlayEdge, type OverlayEvent, type OverlayListener, type OverlayReason, type PageInputControl, type Party, type PlayOnlineMethods, type PlayerCard, type PlayerLite, type PlayerRef, type Presence, type PresenceInput, type PresenceKind, type Profile, type ProfilePatch, type ProfileSummary, type ProfileUpdate, type QueueOp, type QueueOpInput, type QueuedScoreOptions, type REALTIME_FAILED_EVENT, type REALTIME_FEATURE_VERSION, type REALTIME_READY_EVENT, type REALTIME_SINGLETON_API, RESUME_DEBOUNCE_MS, RESUME_MAX_STATE_BYTES, type RaceCreateOptions, type RaceDefinition, type RaceEvents, type RaceHistory, type RaceHistoryQuery, type RaceHistoryViewOptions, type RaceHudPlace, type RaceOutcome, type RaceParams, type RaceRecord, type RaceRecordPlayer, type RaceResult, type RaceResultPlayer, type RaceRuntimeApi, type RaceStart, type RaceStatValue, type RaceState, type RaceStats, type RaceStatusEvent, type Racer, type RacerResult, type RacerState, type RealtimeApi, type RealtimeErrorShape, type RealtimeHubLink, type RecentPlayer, type Rect, type Relation, type ReplayContext, type ReportInput, type ReportKind, type ReportReason, type ResumeBlocker, type ResumeEntry, type ResumeLoadOptions, type ResumeProgress, type ResumeRun, type ResumeSaveInput, type RoomChatLine, type RoomCreateOptions, type RoomEvents, type RoomInfo, type RoomListOptions, type RoomMessage, type RoomReclaimMethods, type RoomSeat, type RoomSeatChange, type RoomSelf, type RoomSendOptions, type RoomState, type RoomStateChange, type RoomStateOptions, type RuntimeAvatarApi, SAVED_CHANGE_EVENT, SAVED_CHANGE_QUIET_MS, SAVED_KIND_PARAM, SAVED_OPEN_EVENT, SAVED_OPEN_PARAM, SAVE_UNKNOWN_CODE, type SESSION_EVENT, type Save, type SaveMeta, type SavedChangeListener, type SavedCounts, type SavedDaily, type SavedEntry, type SavedKind, type SavedListOptions, type SavedOpenDetail, type SavedOpenHandler, type SavedOpened, type SavedProgress, type SavedStatus, type SchemaOutput, type ServerEvents, type Snapshot, type SnapshotResponse, type SocialConfig, type SocialCounts, type SocialEvents, type SocialMe, type SortDir, type StatResult, type Stats, type SubmitScoreOptions, type SubmitScoreResult, type Suggestion, type SuggestionStatus, type SyncConflict, type SyncResult, TURN_CHAT_EVENT, TURN_EVENT, TURN_LINK_PARAM, TURN_POLL_MS, TURN_RESYNC_EVENT, type TouchMapping, type TradeBundle, type TradeId, type TradeListOptions, type TradeNoteOptions, type TurnChatLine, type TurnCreateOptions, type TurnDeadline, TurnGame, type TurnGameEvents, type TurnGameView, type TurnMoveEvent, type TurnOutcome, type TurnSummary, UI_STACK_VERSION, UNSUPPORTED_BY_HUB, type UiStack, type UiStackHandoff, type User, type Vector, type VirtualControlType, type VirtualDef, type VirtualInputs, type VirtualOverride, boxesTouch, controlSize, createHub, type findRealtimeApi, getDaily, getInput, getUiStack, hub, isDailySystem, isInputSystem, isPageInputControl, type isRealtimeApi, isUiStack, layoutControls, type linkRealtimeToHub, type multiplayerForwarder as mp, type notifyForwarder as notify, parseInputOverrides, type presenceForwarder as presence, type raceForwarder as race, type roomsForwarder as rooms, savedGameUrl, type socialForwarder as social, trackInputModality };
35
+ export { type Anchor, type Audience, type AuthResponse, type AutoNavigateTarget, type AutoPauseOptions, type AvatarChange, type AvatarHost, type AvatarModule, type AvatarRef, type AxisDef, type AxisSide, type Board, type BoardWithTop, type BufferedEvent, type BusyOptions, CLIENT_VERSION_HEADER, type CarriesLook, type ChatMode, type ClientSupport, ContentRejectedError, type Conversation, type Counts, DAILY_SINGLETON_API, DAILY_START_EVENT, type DailyAll, type DailyChallenge, type DailyCompleteResponse, type DailyCompletion, type DailyCompletionMeta, type DailyCompletions, type DailyDefinition, type DailyEventDetail, type DailyGameStatus, type DailyHost, type DailySaveInput, type DailyStartResponse, type DailyStatus, DailySystem, type DesignerResult, type DraggedSpot, type EdgeOffsets, type EndpointFields, type EndpointName, type EndpointReply, type ErrorBody, FOCUS_RING_SHADOW, type FriendEntry, type GameAnalytics, type GameInfo, type GameLeaderboards, type GamePayload, type GameRecords, type GamepadMapping, type GlobalAnalytics, type GrantBundle, type GroupDef, HUB_CLIENT_VERSION, Hub, HubAvatar, HubError, type HubErrorCode, type HubErrorDetails, type HubMenuControl, type HubMpApi, type HubNotifyApi, type HubOptions, type HubPresenceApi, type HubRaceApi, HubResume, type HubRoom, type HubRoomsApi, HubSaved, type HubSocialApi, type HubStatus, HubTurns, INPUT_SINGLETON_API, type InputConfig, type InputDef, type InputEvents, type InputHost, type InputModality, type InputOptions, type InputOverrides, type InputReading, type InputSource, InputSystem, type InputSystemOptions, type Insets, type Inventory, type InventorySnapshot, type Invite, type InviteCreated, type InviteLink, type InviteLinkMethods, type InviteOptions, type InviteResult, type JoinInfo, type JoinInfoEvent, type JoinOptions, type Json, type Launch, type LaunchTicket, type LayoutBox, type LayoutItem, type LayoutOptions, type LeaderboardEntry, type LeaderboardResult, MODALITY_ATTRIBUTE, type MeResponse, type MenuBridge, type Message, type MessagesPage, type Metrics, type MouseMapping, type NavBlurEvent, type NavElement, type NavElementKind, type NavFocusEvent, type NavTarget, type NavigableDef, type Notice, type NotifyChange, type NotifyPrefs, OUTBOX_FULL_CODE, OUTBOX_MAX_CHARS, OUTBOX_MAX_ENTRIES, OfflineApi, OfflineError, type OfflineEventDetails, type OfflineEventName, type OfflineHandler, type OfflineKindDefinition, type OfflineListener, type OfflineOp, type OpenDesignerOptions, type OpenInviteOptions, type OpenTurnGame, Overlay, type OverlayEdge, type OverlayEvent, type OverlayListener, type OverlayReason, type PageInputControl, type Party, type PlayOnlineMethods, type PlayerCard, type PlayerLite, type PlayerRef, type Presence, type PresenceInput, type PresenceKind, type Profile, type ProfilePatch, type ProfileSummary, type ProfileUpdate, type QueueOp, type QueueOpInput, type QueuedScoreOptions, type REALTIME_FAILED_EVENT, type REALTIME_FEATURE_VERSION, type REALTIME_READY_EVENT, type REALTIME_SINGLETON_API, RESUME_DEBOUNCE_MS, RESUME_MAX_STATE_BYTES, type RaceCreateOptions, type RaceDefinition, type RaceEvents, type RaceHistory, type RaceHistoryQuery, type RaceHistoryViewOptions, type RaceHudPlace, type RaceOutcome, type RaceParams, type RaceRecord, type RaceRecordPlayer, type RaceResult, type RaceResultPlayer, type RaceRuntimeApi, type RaceStart, type RaceStatValue, type RaceState, type RaceStats, type RaceStatusEvent, type Racer, type RacerResult, type RacerState, type RealtimeApi, type RealtimeErrorShape, type RealtimeHubLink, type RecentPlayer, type Rect, type Relation, type ReplayContext, type ReportInput, type ReportKind, type ReportReason, type ResumeBlocker, type ResumeEntry, type ResumeLoadOptions, type ResumeProgress, type ResumeRun, type ResumeSaveInput, type RoomChatLine, type RoomCreateOptions, type RoomEvents, type RoomInfo, type RoomListOptions, type RoomMessage, type RoomReclaimMethods, type RoomSeat, type RoomSeatChange, type RoomSelf, type RoomSendOptions, type RoomState, type RoomStateChange, type RoomStateOptions, type RuntimeAvatarApi, SAVED_CHANGE_EVENT, SAVED_CHANGE_QUIET_MS, SAVED_KIND_PARAM, SAVED_OPEN_EVENT, SAVED_OPEN_PARAM, SAVE_UNKNOWN_CODE, type SESSION_EVENT, type Save, type SaveMeta, type SavedChangeListener, type SavedCounts, type SavedDaily, type SavedEntry, type SavedKind, type SavedListOptions, type SavedOpenDetail, type SavedOpenHandler, type SavedOpened, type SavedProgress, type SavedStatus, type SchemaOutput, type ServerEvents, type Snapshot, type SnapshotResponse, type SocialConfig, type SocialCounts, type SocialEvents, type SocialMe, type SortDir, type StatResult, type Stats, type SubmitScoreOptions, type SubmitScoreResult, type Suggestion, type SuggestionStatus, type SyncConflict, type SyncResult, TURN_CHAT_EVENT, TURN_EVENT, TURN_LINK_PARAM, TURN_POLL_MS, TURN_QUIET_MS, TURN_RESYNC_EVENT, type TouchMapping, type TradeBundle, type TradeId, type TradeListOptions, type TradeNoteOptions, type TurnChatLine, type TurnCreateOptions, type TurnDeadline, TurnGame, type TurnGameEvents, type TurnGameOptions, type TurnGameView, type TurnMoveEvent, type TurnOutcome, type TurnSummary, UI_STACK_VERSION, UNSUPPORTED_BY_HUB, type UiStack, type UiStackHandoff, type User, type Vector, type VirtualControlType, type VirtualDef, type VirtualInputs, type VirtualOverride, YOUR_TURN_BUZZ, YOUR_TURN_BUZZ_KEY, boxesTouch, controlSize, createHub, type findRealtimeApi, getDaily, getInput, getUiStack, hub, isDailySystem, isInputSystem, isNewlyDue, isPageInputControl, type isRealtimeApi, isUiStack, layoutControls, type linkRealtimeToHub, type multiplayerForwarder as mp, type notifyForwarder as notify, parseInputOverrides, type presenceForwarder as presence, type raceForwarder as race, readYourTurnBuzz, type roomsForwarder as rooms, saveYourTurnBuzz, savedGameUrl, type socialForwarder as social, trackInputModality };
36
36
  //# sourceMappingURL=auto.d.ts.map
package/dist/auto.js CHANGED
@@ -2,7 +2,7 @@ import { a as DailySystem, i as DAILY_START_EVENT, n as getDaily, r as isDailySy
2
2
  import { t as HUB_CLIENT_VERSION } from "./shared/client-version.gen.js";
3
3
  import { a as isPageInputControl, c as layoutControls, d as MODALITY_ATTRIBUTE, f as trackInputModality, i as parseInputOverrides, l as boxesTouch, n as getInput, o as InputSystem, p as FOCUS_RING_SHADOW, r as isInputSystem, s as Overlay, t as INPUT_SINGLETON_API, u as controlSize } from "./shared/input.js";
4
4
  import { n as isUiStack, r as UI_STACK_VERSION, t as getUiStack } from "./shared/page-stack.js";
5
- import { A as UNSUPPORTED_BY_HUB, C as OUTBOX_MAX_CHARS, D as HubError, E as ContentRejectedError, O as OfflineError, S as OUTBOX_FULL_CODE, T as OfflineApi, _ as savedGameUrl, a as TURN_LINK_PARAM, b as RESUME_MAX_STATE_BYTES, c as TURN_POLL_MS, d as HubSaved, f as SAVED_CHANGE_QUIET_MS, g as SAVED_OPEN_PARAM, h as SAVED_OPEN_EVENT, i as HubTurns, j as HubAvatar, k as SAVE_UNKNOWN_CODE, l as TURN_RESYNC_EVENT, m as SAVED_KIND_PARAM, n as createHub, o as TURN_CHAT_EVENT, p as SAVED_CHANGE_EVENT, r as hub, s as TURN_EVENT, t as Hub, u as TurnGame, v as HubResume, w as OUTBOX_MAX_ENTRIES, x as CLIENT_VERSION_HEADER, y as RESUME_DEBOUNCE_MS } from "./shared/src.js";
5
+ import { A as OUTBOX_MAX_ENTRIES, C as savedGameUrl, D as CLIENT_VERSION_HEADER, E as RESUME_MAX_STATE_BYTES, F as SAVE_UNKNOWN_CODE, I as UNSUPPORTED_BY_HUB, L as HubAvatar, M as ContentRejectedError, N as HubError, O as OUTBOX_FULL_CODE, P as OfflineError, S as SAVED_OPEN_PARAM, T as RESUME_DEBOUNCE_MS, _ as HubSaved, a as TURN_LINK_PARAM, b as SAVED_KIND_PARAM, c as TURN_POLL_MS, d as TurnGame, f as YOUR_TURN_BUZZ, g as saveYourTurnBuzz, h as readYourTurnBuzz, i as HubTurns, j as OfflineApi, k as OUTBOX_MAX_CHARS, l as TURN_QUIET_MS, m as isNewlyDue, n as createHub, o as TURN_CHAT_EVENT, p as YOUR_TURN_BUZZ_KEY, r as hub, s as TURN_EVENT, t as Hub, u as TURN_RESYNC_EVENT, v as SAVED_CHANGE_QUIET_MS, w as HubResume, x as SAVED_OPEN_EVENT, y as SAVED_CHANGE_EVENT } from "./shared/src.js";
6
6
  //#region src/auto.ts
7
7
  /**
8
8
  * `@diffenderfer-games/hub/auto`: everything the main entry exports, plus a
@@ -22,6 +22,6 @@ if (typeof window !== "undefined") window.HubSDK = {
22
22
  ContentRejectedError
23
23
  };
24
24
  //#endregion
25
- export { CLIENT_VERSION_HEADER, ContentRejectedError, DAILY_SINGLETON_API, DAILY_START_EVENT, DailySystem, FOCUS_RING_SHADOW, HUB_CLIENT_VERSION, Hub, HubAvatar, HubError, HubResume, HubSaved, HubTurns, INPUT_SINGLETON_API, InputSystem, MODALITY_ATTRIBUTE, OUTBOX_FULL_CODE, OUTBOX_MAX_CHARS, OUTBOX_MAX_ENTRIES, OfflineApi, OfflineError, Overlay, RESUME_DEBOUNCE_MS, RESUME_MAX_STATE_BYTES, SAVED_CHANGE_EVENT, SAVED_CHANGE_QUIET_MS, SAVED_KIND_PARAM, SAVED_OPEN_EVENT, SAVED_OPEN_PARAM, SAVE_UNKNOWN_CODE, TURN_CHAT_EVENT, TURN_EVENT, TURN_LINK_PARAM, TURN_POLL_MS, TURN_RESYNC_EVENT, TurnGame, UI_STACK_VERSION, UNSUPPORTED_BY_HUB, boxesTouch, controlSize, createHub, getDaily, getInput, getUiStack, hub, isDailySystem, isInputSystem, isPageInputControl, isUiStack, layoutControls, parseInputOverrides, savedGameUrl, trackInputModality };
25
+ export { CLIENT_VERSION_HEADER, ContentRejectedError, DAILY_SINGLETON_API, DAILY_START_EVENT, DailySystem, FOCUS_RING_SHADOW, HUB_CLIENT_VERSION, Hub, HubAvatar, HubError, HubResume, HubSaved, HubTurns, INPUT_SINGLETON_API, InputSystem, MODALITY_ATTRIBUTE, OUTBOX_FULL_CODE, OUTBOX_MAX_CHARS, OUTBOX_MAX_ENTRIES, OfflineApi, OfflineError, Overlay, RESUME_DEBOUNCE_MS, RESUME_MAX_STATE_BYTES, SAVED_CHANGE_EVENT, SAVED_CHANGE_QUIET_MS, SAVED_KIND_PARAM, SAVED_OPEN_EVENT, SAVED_OPEN_PARAM, SAVE_UNKNOWN_CODE, TURN_CHAT_EVENT, TURN_EVENT, TURN_LINK_PARAM, TURN_POLL_MS, TURN_QUIET_MS, TURN_RESYNC_EVENT, TurnGame, UI_STACK_VERSION, UNSUPPORTED_BY_HUB, YOUR_TURN_BUZZ, YOUR_TURN_BUZZ_KEY, boxesTouch, controlSize, createHub, getDaily, getInput, getUiStack, hub, isDailySystem, isInputSystem, isNewlyDue, isPageInputControl, isUiStack, layoutControls, parseInputOverrides, readYourTurnBuzz, saveYourTurnBuzz, savedGameUrl, trackInputModality };
26
26
 
27
27
  //# sourceMappingURL=auto.js.map
@@ -5,7 +5,7 @@ import { parseArgs } from "node:util";
5
5
  import { GAME_LABELS, GamePackageJson, HubVersion, splitGameLabels } from "@diffenderfer-games/hub-contract";
6
6
  //#region src/core/version/client-version.gen.ts
7
7
  /** This client's package version, sent as `x-hub-client` on REST calls and `client` in `hello`. */
8
- const HUB_CLIENT_VERSION = "2.0.0-next.7";
8
+ const HUB_CLIENT_VERSION = "2.0.0-next.8";
9
9
  //#endregion
10
10
  //#region src/core/version/semver.ts
11
11
  const VERSION_PATTERN = /^v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/;
package/dist/index.d.ts CHANGED
@@ -8,5 +8,5 @@ import { a as RaceHistoryQuery, c as RaceRuntimeApi, i as RaceEvents, l as RaceS
8
8
  import { f as raceForwarder } from "./shared/race.js";
9
9
  import { n as roomsForwarder } from "./shared/rooms.js";
10
10
  import { $ as RuntimeAvatarApi, A as RacerState, B as SuggestionStatus, C as RaceRecord, D as RaceStats, E as RaceState, F as ReportReason, G as REALTIME_READY_EVENT, H as isRealtimeApi, I as RoomInfo, J as SESSION_EVENT, K as REALTIME_SINGLETON_API, L as SocialConfig, M as Relation, N as ReportInput, O as Racer, P as ReportKind, Q as OpenDesignerOptions, R as SocialMe, S as RaceParams, T as RaceStatValue, U as REALTIME_FAILED_EVENT, V as findRealtimeApi, W as REALTIME_FEATURE_VERSION, X as AvatarRef, Y as AvatarChange, Z as DesignerResult, _ as PlayerLite, a as ErrorBody, at as HubNotifyApi, b as PresenceKind, c as JoinInfo, ct as OpenInviteOptions, d as Message, dt as SocialCounts, et as RealtimeHubLink, f as MessagesPage, ft as SocialEvents, g as PlayerCard, h as Party, i as Counts, it as socialForwarder, j as RecentPlayer, k as RacerResult, l as Launch, lt as PlayOnlineMethods, m as NotifyPrefs, n as ChatMode, nt as notifyForwarder, o as FriendEntry, ot as HubPresenceApi, p as NotifyChange, q as RealtimeApi, r as Conversation, rt as presenceForwarder, s as Invite, st as HubSocialApi, t as Audience, tt as linkRealtimeToHub, u as LaunchTicket, ut as PlayerRef, v as Presence, w as RaceResult, x as RaceOutcome, y as PresenceInput, z as Suggestion } from "./shared/social.js";
11
- import { $ as OfflineApi, A as SavedChangeListener, At as MeResponse, B as ResumeRun, Bt as SubmitScoreResult, C as TURN_RESYNC_EVENT, Ct as HubOptions, D as TurnOutcome, Dt as Json, E as TurnMoveEvent, Et as InventorySnapshot, F as RESUME_MAX_STATE_BYTES, Ft as SaveMeta, G as TradeId, Gt as AvatarHost, H as HubMenuControl, Ht as EndpointFields, I as ResumeBlocker, It as SnapshotResponse, J as AuthResponse, Jt as CarriesLook, K as TradeListOptions, Kt as AvatarModule, L as ResumeEntry, Lt as SortDir, M as SavedOpenHandler, Mt as Profile, N as HubResume, Nt as ProfileSummary, O as HubSaved, Ot as LeaderboardEntry, P as RESUME_DEBOUNCE_MS, Pt as Save, Q as SyncResult, R as ResumeLoadOptions, Rt as Stats, S as TURN_POLL_MS, St as GlobalAnalytics, T as TurnGameEvents, Tt as Inventory, U as GrantBundle, Ut as EndpointName, V as ResumeSaveInput, Vt as User, W as TradeBundle, Wt as EndpointReply, X as StatResult, Y as ProfileUpdate, Z as SyncConflict, _ as HubTurns, _t as BoardWithTop, a as HUB_CLIENT_VERSION, at as OUTBOX_MAX_CHARS, b as TURN_CHAT_EVENT, bt as GameLeaderboards, c as HubErrorCode, ct as OfflineKindDefinition, d as SAVE_UNKNOWN_CODE, dt as ProfilePatch, et as OUTBOX_FULL_CODE, f as UNSUPPORTED_BY_HUB, ft as QueueOp, g as ClientSupport, gt as Board, h as hub, ht as BufferedEvent, i as TurnGameView, it as OfflineOp, j as SavedOpenDetail, jt as Metrics, k as SAVED_CHANGE_QUIET_MS, kt as LeaderboardResult, l as HubErrorDetails, lt as ReplayContext, m as createHub, mt as QueuedScoreOptions, n as TurnChatLine, nt as OfflineEventName, o as ContentRejectedError, ot as OUTBOX_MAX_ENTRIES, p as Hub, pt as QueueOpInput, q as TradeNoteOptions, qt as HubAvatar, r as TurnDeadline, rt as OfflineListener, s as HubError, st as OfflineHandler, t as OpenTurnGame, tt as OfflineEventDetails, u as OfflineError, ut as CLIENT_VERSION_HEADER, v as TURN_LINK_PARAM, vt as GameAnalytics, w as TurnGame, wt as HubStatus, x as TURN_EVENT, xt as GameRecords, y as TurnCreateOptions, yt as GameInfo, z as ResumeProgress, zt as SubmitScoreOptions } from "./shared/index.js";
12
- export { type Anchor, type Audience, type AuthResponse, type AutoNavigateTarget, type AutoPauseOptions, type AvatarChange, type AvatarHost, type AvatarModule, type AvatarRef, type AxisDef, type AxisSide, type Board, type BoardWithTop, type BufferedEvent, type BusyOptions, CLIENT_VERSION_HEADER, type CarriesLook, type ChatMode, type ClientSupport, ContentRejectedError, type Conversation, type Counts, DAILY_SINGLETON_API, DAILY_START_EVENT, type DailyAll, type DailyChallenge, type DailyCompleteResponse, type DailyCompletion, type DailyCompletionMeta, type DailyCompletions, type DailyDefinition, type DailyEventDetail, type DailyGameStatus, type DailyHost, type DailySaveInput, type DailyStartResponse, type DailyStatus, DailySystem, type DesignerResult, type DraggedSpot, type EdgeOffsets, type EndpointFields, type EndpointName, type EndpointReply, type ErrorBody, FOCUS_RING_SHADOW, type FriendEntry, type GameAnalytics, type GameInfo, type GameLeaderboards, type GamePayload, type GameRecords, type GamepadMapping, type GlobalAnalytics, type GrantBundle, type GroupDef, HUB_CLIENT_VERSION, Hub, HubAvatar, HubError, type HubErrorCode, type HubErrorDetails, type HubMenuControl, type HubMpApi, type HubNotifyApi, type HubOptions, type HubPresenceApi, type HubRaceApi, HubResume, type HubRoom, type HubRoomsApi, HubSaved, type HubSocialApi, type HubStatus, HubTurns, INPUT_SINGLETON_API, type InputConfig, type InputDef, type InputEvents, type InputHost, type InputModality, type InputOptions, type InputOverrides, type InputReading, type InputSource, InputSystem, type InputSystemOptions, type Insets, type Inventory, type InventorySnapshot, type Invite, type InviteCreated, type InviteLink, type InviteLinkMethods, type InviteOptions, type InviteResult, type JoinInfo, type JoinInfoEvent, type JoinOptions, type Json, type Launch, type LaunchTicket, type LayoutBox, type LayoutItem, type LayoutOptions, type LeaderboardEntry, type LeaderboardResult, MODALITY_ATTRIBUTE, type MeResponse, type MenuBridge, type Message, type MessagesPage, type Metrics, type MouseMapping, type NavBlurEvent, type NavElement, type NavElementKind, type NavFocusEvent, type NavTarget, type NavigableDef, type Notice, type NotifyChange, type NotifyPrefs, OUTBOX_FULL_CODE, OUTBOX_MAX_CHARS, OUTBOX_MAX_ENTRIES, OfflineApi, OfflineError, type OfflineEventDetails, type OfflineEventName, type OfflineHandler, type OfflineKindDefinition, type OfflineListener, type OfflineOp, type OpenDesignerOptions, type OpenInviteOptions, type OpenTurnGame, Overlay, type OverlayEdge, type OverlayEvent, type OverlayListener, type OverlayReason, type PageInputControl, type Party, type PlayOnlineMethods, type PlayerCard, type PlayerLite, type PlayerRef, type Presence, type PresenceInput, type PresenceKind, type Profile, type ProfilePatch, type ProfileSummary, type ProfileUpdate, type QueueOp, type QueueOpInput, type QueuedScoreOptions, type REALTIME_FAILED_EVENT, type REALTIME_FEATURE_VERSION, type REALTIME_READY_EVENT, type REALTIME_SINGLETON_API, RESUME_DEBOUNCE_MS, RESUME_MAX_STATE_BYTES, type RaceCreateOptions, type RaceDefinition, type RaceEvents, type RaceHistory, type RaceHistoryQuery, type RaceHistoryViewOptions, type RaceHudPlace, type RaceOutcome, type RaceParams, type RaceRecord, type RaceRecordPlayer, type RaceResult, type RaceResultPlayer, type RaceRuntimeApi, type RaceStart, type RaceStatValue, type RaceState, type RaceStats, type RaceStatusEvent, type Racer, type RacerResult, type RacerState, type RealtimeApi, type RealtimeErrorShape, type RealtimeHubLink, type RecentPlayer, type Rect, type Relation, type ReplayContext, type ReportInput, type ReportKind, type ReportReason, type ResumeBlocker, type ResumeEntry, type ResumeLoadOptions, type ResumeProgress, type ResumeRun, type ResumeSaveInput, type RoomChatLine, type RoomCreateOptions, type RoomEvents, type RoomInfo, type RoomListOptions, type RoomMessage, type RoomReclaimMethods, type RoomSeat, type RoomSeatChange, type RoomSelf, type RoomSendOptions, type RoomState, type RoomStateChange, type RoomStateOptions, type RuntimeAvatarApi, SAVED_CHANGE_EVENT, SAVED_CHANGE_QUIET_MS, SAVED_KIND_PARAM, SAVED_OPEN_EVENT, SAVED_OPEN_PARAM, SAVE_UNKNOWN_CODE, type SESSION_EVENT, type Save, type SaveMeta, type SavedChangeListener, type SavedCounts, type SavedDaily, type SavedEntry, type SavedKind, type SavedListOptions, type SavedOpenDetail, type SavedOpenHandler, type SavedOpened, type SavedProgress, type SavedStatus, type SchemaOutput, type ServerEvents, type Snapshot, type SnapshotResponse, type SocialConfig, type SocialCounts, type SocialEvents, type SocialMe, type SortDir, type StatResult, type Stats, type SubmitScoreOptions, type SubmitScoreResult, type Suggestion, type SuggestionStatus, type SyncConflict, type SyncResult, TURN_CHAT_EVENT, TURN_EVENT, TURN_LINK_PARAM, TURN_POLL_MS, TURN_RESYNC_EVENT, type TouchMapping, type TradeBundle, type TradeId, type TradeListOptions, type TradeNoteOptions, type TurnChatLine, type TurnCreateOptions, type TurnDeadline, TurnGame, type TurnGameEvents, type TurnGameView, type TurnMoveEvent, type TurnOutcome, type TurnSummary, UI_STACK_VERSION, UNSUPPORTED_BY_HUB, type UiStack, type UiStackHandoff, type User, type Vector, type VirtualControlType, type VirtualDef, type VirtualInputs, type VirtualOverride, boxesTouch, controlSize, createHub, type findRealtimeApi, getDaily, getInput, getUiStack, hub, isDailySystem, isInputSystem, isPageInputControl, type isRealtimeApi, isUiStack, layoutControls, type linkRealtimeToHub, type multiplayerForwarder as mp, type notifyForwarder as notify, parseInputOverrides, type presenceForwarder as presence, type raceForwarder as race, type roomsForwarder as rooms, savedGameUrl, type socialForwarder as social, trackInputModality };
11
+ import { $ as TradeListOptions, $t as AvatarModule, A as TurnGame, At as HubOptions, B as HubResume, Bt as ProfileSummary, C as TURN_LINK_PARAM, Ct as Board, D as TURN_POLL_MS, Dt as GameLeaderboards, E as TURN_EVENT, Et as GameInfo, F as HubSaved, Ft as LeaderboardEntry, G as ResumeLoadOptions, Gt as Stats, H as RESUME_MAX_STATE_BYTES, Ht as SaveMeta, I as SAVED_CHANGE_QUIET_MS, It as LeaderboardResult, J as ResumeSaveInput, Jt as User, K as ResumeProgress, Kt as SubmitScoreOptions, L as SavedChangeListener, Lt as MeResponse, M as TurnGameOptions, Mt as Inventory, N as TurnMoveEvent, Nt as InventorySnapshot, O as TURN_QUIET_MS, Ot as GameRecords, P as TurnOutcome, Pt as Json, Q as TradeId, Qt as AvatarHost, R as SavedOpenDetail, Rt as Metrics, S as HubTurns, St as BufferedEvent, T as TURN_CHAT_EVENT, Tt as GameAnalytics, U as ResumeBlocker, Ut as SnapshotResponse, V as RESUME_DEBOUNCE_MS, Vt as Save, W as ResumeEntry, Wt as SortDir, X as GrantBundle, Xt as EndpointName, Y as HubMenuControl, Yt as EndpointFields, Z as TradeBundle, Zt as EndpointReply, _ as UNSUPPORTED_BY_HUB, _t as CLIENT_VERSION_HEADER, a as HUB_CLIENT_VERSION, at as SyncResult, b as hub, bt as QueueOpInput, c as isNewlyDue, ct as OfflineEventDetails, d as ContentRejectedError, dt as OfflineOp, en as HubAvatar, et as TradeNoteOptions, f as HubError, ft as OUTBOX_MAX_CHARS, g as SAVE_UNKNOWN_CODE, gt as ReplayContext, h as OfflineError, ht as OfflineKindDefinition, i as TurnGameView, it as SyncConflict, j as TurnGameEvents, jt as HubStatus, k as TURN_RESYNC_EVENT, kt as GlobalAnalytics, l as readYourTurnBuzz, lt as OfflineEventName, m as HubErrorDetails, mt as OfflineHandler, n as TurnChatLine, nt as ProfileUpdate, o as YOUR_TURN_BUZZ, ot as OfflineApi, p as HubErrorCode, pt as OUTBOX_MAX_ENTRIES, q as ResumeRun, qt as SubmitScoreResult, r as TurnDeadline, rt as StatResult, s as YOUR_TURN_BUZZ_KEY, st as OUTBOX_FULL_CODE, t as OpenTurnGame, tn as CarriesLook, tt as AuthResponse, u as saveYourTurnBuzz, ut as OfflineListener, v as Hub, vt as ProfilePatch, w as TurnCreateOptions, wt as BoardWithTop, x as ClientSupport, xt as QueuedScoreOptions, y as createHub, yt as QueueOp, z as SavedOpenHandler, zt as Profile } from "./shared/index.js";
12
+ export { type Anchor, type Audience, type AuthResponse, type AutoNavigateTarget, type AutoPauseOptions, type AvatarChange, type AvatarHost, type AvatarModule, type AvatarRef, type AxisDef, type AxisSide, type Board, type BoardWithTop, type BufferedEvent, type BusyOptions, CLIENT_VERSION_HEADER, type CarriesLook, type ChatMode, type ClientSupport, ContentRejectedError, type Conversation, type Counts, DAILY_SINGLETON_API, DAILY_START_EVENT, type DailyAll, type DailyChallenge, type DailyCompleteResponse, type DailyCompletion, type DailyCompletionMeta, type DailyCompletions, type DailyDefinition, type DailyEventDetail, type DailyGameStatus, type DailyHost, type DailySaveInput, type DailyStartResponse, type DailyStatus, DailySystem, type DesignerResult, type DraggedSpot, type EdgeOffsets, type EndpointFields, type EndpointName, type EndpointReply, type ErrorBody, FOCUS_RING_SHADOW, type FriendEntry, type GameAnalytics, type GameInfo, type GameLeaderboards, type GamePayload, type GameRecords, type GamepadMapping, type GlobalAnalytics, type GrantBundle, type GroupDef, HUB_CLIENT_VERSION, Hub, HubAvatar, HubError, type HubErrorCode, type HubErrorDetails, type HubMenuControl, type HubMpApi, type HubNotifyApi, type HubOptions, type HubPresenceApi, type HubRaceApi, HubResume, type HubRoom, type HubRoomsApi, HubSaved, type HubSocialApi, type HubStatus, HubTurns, INPUT_SINGLETON_API, type InputConfig, type InputDef, type InputEvents, type InputHost, type InputModality, type InputOptions, type InputOverrides, type InputReading, type InputSource, InputSystem, type InputSystemOptions, type Insets, type Inventory, type InventorySnapshot, type Invite, type InviteCreated, type InviteLink, type InviteLinkMethods, type InviteOptions, type InviteResult, type JoinInfo, type JoinInfoEvent, type JoinOptions, type Json, type Launch, type LaunchTicket, type LayoutBox, type LayoutItem, type LayoutOptions, type LeaderboardEntry, type LeaderboardResult, MODALITY_ATTRIBUTE, type MeResponse, type MenuBridge, type Message, type MessagesPage, type Metrics, type MouseMapping, type NavBlurEvent, type NavElement, type NavElementKind, type NavFocusEvent, type NavTarget, type NavigableDef, type Notice, type NotifyChange, type NotifyPrefs, OUTBOX_FULL_CODE, OUTBOX_MAX_CHARS, OUTBOX_MAX_ENTRIES, OfflineApi, OfflineError, type OfflineEventDetails, type OfflineEventName, type OfflineHandler, type OfflineKindDefinition, type OfflineListener, type OfflineOp, type OpenDesignerOptions, type OpenInviteOptions, type OpenTurnGame, Overlay, type OverlayEdge, type OverlayEvent, type OverlayListener, type OverlayReason, type PageInputControl, type Party, type PlayOnlineMethods, type PlayerCard, type PlayerLite, type PlayerRef, type Presence, type PresenceInput, type PresenceKind, type Profile, type ProfilePatch, type ProfileSummary, type ProfileUpdate, type QueueOp, type QueueOpInput, type QueuedScoreOptions, type REALTIME_FAILED_EVENT, type REALTIME_FEATURE_VERSION, type REALTIME_READY_EVENT, type REALTIME_SINGLETON_API, RESUME_DEBOUNCE_MS, RESUME_MAX_STATE_BYTES, type RaceCreateOptions, type RaceDefinition, type RaceEvents, type RaceHistory, type RaceHistoryQuery, type RaceHistoryViewOptions, type RaceHudPlace, type RaceOutcome, type RaceParams, type RaceRecord, type RaceRecordPlayer, type RaceResult, type RaceResultPlayer, type RaceRuntimeApi, type RaceStart, type RaceStatValue, type RaceState, type RaceStats, type RaceStatusEvent, type Racer, type RacerResult, type RacerState, type RealtimeApi, type RealtimeErrorShape, type RealtimeHubLink, type RecentPlayer, type Rect, type Relation, type ReplayContext, type ReportInput, type ReportKind, type ReportReason, type ResumeBlocker, type ResumeEntry, type ResumeLoadOptions, type ResumeProgress, type ResumeRun, type ResumeSaveInput, type RoomChatLine, type RoomCreateOptions, type RoomEvents, type RoomInfo, type RoomListOptions, type RoomMessage, type RoomReclaimMethods, type RoomSeat, type RoomSeatChange, type RoomSelf, type RoomSendOptions, type RoomState, type RoomStateChange, type RoomStateOptions, type RuntimeAvatarApi, SAVED_CHANGE_EVENT, SAVED_CHANGE_QUIET_MS, SAVED_KIND_PARAM, SAVED_OPEN_EVENT, SAVED_OPEN_PARAM, SAVE_UNKNOWN_CODE, type SESSION_EVENT, type Save, type SaveMeta, type SavedChangeListener, type SavedCounts, type SavedDaily, type SavedEntry, type SavedKind, type SavedListOptions, type SavedOpenDetail, type SavedOpenHandler, type SavedOpened, type SavedProgress, type SavedStatus, type SchemaOutput, type ServerEvents, type Snapshot, type SnapshotResponse, type SocialConfig, type SocialCounts, type SocialEvents, type SocialMe, type SortDir, type StatResult, type Stats, type SubmitScoreOptions, type SubmitScoreResult, type Suggestion, type SuggestionStatus, type SyncConflict, type SyncResult, TURN_CHAT_EVENT, TURN_EVENT, TURN_LINK_PARAM, TURN_POLL_MS, TURN_QUIET_MS, TURN_RESYNC_EVENT, type TouchMapping, type TradeBundle, type TradeId, type TradeListOptions, type TradeNoteOptions, type TurnChatLine, type TurnCreateOptions, type TurnDeadline, TurnGame, type TurnGameEvents, type TurnGameOptions, type TurnGameView, type TurnMoveEvent, type TurnOutcome, type TurnSummary, UI_STACK_VERSION, UNSUPPORTED_BY_HUB, type UiStack, type UiStackHandoff, type User, type Vector, type VirtualControlType, type VirtualDef, type VirtualInputs, type VirtualOverride, YOUR_TURN_BUZZ, YOUR_TURN_BUZZ_KEY, boxesTouch, controlSize, createHub, type findRealtimeApi, getDaily, getInput, getUiStack, hub, isDailySystem, isInputSystem, isNewlyDue, isPageInputControl, type isRealtimeApi, isUiStack, layoutControls, type linkRealtimeToHub, type multiplayerForwarder as mp, type notifyForwarder as notify, parseInputOverrides, type presenceForwarder as presence, type raceForwarder as race, readYourTurnBuzz, type roomsForwarder as rooms, saveYourTurnBuzz, savedGameUrl, type socialForwarder as social, trackInputModality };
package/dist/index.js CHANGED
@@ -2,5 +2,5 @@ import { a as DailySystem, i as DAILY_START_EVENT, n as getDaily, r as isDailySy
2
2
  import { t as HUB_CLIENT_VERSION } from "./shared/client-version.gen.js";
3
3
  import { a as isPageInputControl, c as layoutControls, d as MODALITY_ATTRIBUTE, f as trackInputModality, i as parseInputOverrides, l as boxesTouch, n as getInput, o as InputSystem, p as FOCUS_RING_SHADOW, r as isInputSystem, s as Overlay, t as INPUT_SINGLETON_API, u as controlSize } from "./shared/input.js";
4
4
  import { n as isUiStack, r as UI_STACK_VERSION, t as getUiStack } from "./shared/page-stack.js";
5
- import { A as UNSUPPORTED_BY_HUB, C as OUTBOX_MAX_CHARS, D as HubError, E as ContentRejectedError, O as OfflineError, S as OUTBOX_FULL_CODE, T as OfflineApi, _ as savedGameUrl, a as TURN_LINK_PARAM, b as RESUME_MAX_STATE_BYTES, c as TURN_POLL_MS, d as HubSaved, f as SAVED_CHANGE_QUIET_MS, g as SAVED_OPEN_PARAM, h as SAVED_OPEN_EVENT, i as HubTurns, j as HubAvatar, k as SAVE_UNKNOWN_CODE, l as TURN_RESYNC_EVENT, m as SAVED_KIND_PARAM, n as createHub, o as TURN_CHAT_EVENT, p as SAVED_CHANGE_EVENT, r as hub, s as TURN_EVENT, t as Hub, u as TurnGame, v as HubResume, w as OUTBOX_MAX_ENTRIES, x as CLIENT_VERSION_HEADER, y as RESUME_DEBOUNCE_MS } from "./shared/src.js";
6
- export { CLIENT_VERSION_HEADER, ContentRejectedError, DAILY_SINGLETON_API, DAILY_START_EVENT, DailySystem, FOCUS_RING_SHADOW, HUB_CLIENT_VERSION, Hub, HubAvatar, HubError, HubResume, HubSaved, HubTurns, INPUT_SINGLETON_API, InputSystem, MODALITY_ATTRIBUTE, OUTBOX_FULL_CODE, OUTBOX_MAX_CHARS, OUTBOX_MAX_ENTRIES, OfflineApi, OfflineError, Overlay, RESUME_DEBOUNCE_MS, RESUME_MAX_STATE_BYTES, SAVED_CHANGE_EVENT, SAVED_CHANGE_QUIET_MS, SAVED_KIND_PARAM, SAVED_OPEN_EVENT, SAVED_OPEN_PARAM, SAVE_UNKNOWN_CODE, TURN_CHAT_EVENT, TURN_EVENT, TURN_LINK_PARAM, TURN_POLL_MS, TURN_RESYNC_EVENT, TurnGame, UI_STACK_VERSION, UNSUPPORTED_BY_HUB, boxesTouch, controlSize, createHub, getDaily, getInput, getUiStack, hub, isDailySystem, isInputSystem, isPageInputControl, isUiStack, layoutControls, parseInputOverrides, savedGameUrl, trackInputModality };
5
+ import { A as OUTBOX_MAX_ENTRIES, C as savedGameUrl, D as CLIENT_VERSION_HEADER, E as RESUME_MAX_STATE_BYTES, F as SAVE_UNKNOWN_CODE, I as UNSUPPORTED_BY_HUB, L as HubAvatar, M as ContentRejectedError, N as HubError, O as OUTBOX_FULL_CODE, P as OfflineError, S as SAVED_OPEN_PARAM, T as RESUME_DEBOUNCE_MS, _ as HubSaved, a as TURN_LINK_PARAM, b as SAVED_KIND_PARAM, c as TURN_POLL_MS, d as TurnGame, f as YOUR_TURN_BUZZ, g as saveYourTurnBuzz, h as readYourTurnBuzz, i as HubTurns, j as OfflineApi, k as OUTBOX_MAX_CHARS, l as TURN_QUIET_MS, m as isNewlyDue, n as createHub, o as TURN_CHAT_EVENT, p as YOUR_TURN_BUZZ_KEY, r as hub, s as TURN_EVENT, t as Hub, u as TURN_RESYNC_EVENT, v as SAVED_CHANGE_QUIET_MS, w as HubResume, x as SAVED_OPEN_EVENT, y as SAVED_CHANGE_EVENT } from "./shared/src.js";
6
+ export { CLIENT_VERSION_HEADER, ContentRejectedError, DAILY_SINGLETON_API, DAILY_START_EVENT, DailySystem, FOCUS_RING_SHADOW, HUB_CLIENT_VERSION, Hub, HubAvatar, HubError, HubResume, HubSaved, HubTurns, INPUT_SINGLETON_API, InputSystem, MODALITY_ATTRIBUTE, OUTBOX_FULL_CODE, OUTBOX_MAX_CHARS, OUTBOX_MAX_ENTRIES, OfflineApi, OfflineError, Overlay, RESUME_DEBOUNCE_MS, RESUME_MAX_STATE_BYTES, SAVED_CHANGE_EVENT, SAVED_CHANGE_QUIET_MS, SAVED_KIND_PARAM, SAVED_OPEN_EVENT, SAVED_OPEN_PARAM, SAVE_UNKNOWN_CODE, TURN_CHAT_EVENT, TURN_EVENT, TURN_LINK_PARAM, TURN_POLL_MS, TURN_QUIET_MS, TURN_RESYNC_EVENT, TurnGame, UI_STACK_VERSION, UNSUPPORTED_BY_HUB, YOUR_TURN_BUZZ, YOUR_TURN_BUZZ_KEY, boxesTouch, controlSize, createHub, getDaily, getInput, getUiStack, hub, isDailySystem, isInputSystem, isNewlyDue, isPageInputControl, isUiStack, layoutControls, parseInputOverrides, readYourTurnBuzz, saveYourTurnBuzz, savedGameUrl, trackInputModality };
@@ -1,6 +1,6 @@
1
1
  //#region src/core/version/client-version.gen.ts
2
2
  /** This client's package version, sent as `x-hub-client` on REST calls and `client` in `hello`. */
3
- const HUB_CLIENT_VERSION = "2.0.0-next.7";
3
+ const HUB_CLIENT_VERSION = "2.0.0-next.8";
4
4
  //#endregion
5
5
  export { HUB_CLIENT_VERSION as t };
6
6
 
@@ -291,7 +291,7 @@ let claimedDaily = null;
291
291
  function getDaily(host) {
292
292
  claimedDaily ?? (claimedDaily = claimSingleton({
293
293
  name: "daily",
294
- version: "2.0.0-next.7",
294
+ version: "2.0.0-next.8",
295
295
  api: 2,
296
296
  create: () => new DailySystem(host),
297
297
  isInstance: isDailySystem
@@ -6,7 +6,7 @@ import { f as raceForwarder } from "./race.js";
6
6
  import { n as roomsForwarder } from "./rooms.js";
7
7
  import { Q as OpenDesignerOptions, X as AvatarRef, Y as AvatarChange, Z as DesignerResult, it as socialForwarder, nt as notifyForwarder, rt as presenceForwarder } from "./social.js";
8
8
  import { AvatarLook } from "@diffenderfer-games/hub-contract/avatar";
9
- import { Board, Board as Board$1, CreateTurnGame, ErrorCode, GameInfo, GameLeaderboards, GameRecords, HubVersion, Inventory, Inventory as Inventory$1, Json, Json as Json$1, LeaderboardEntry, Metrics, Metrics as Metrics$1, MyAvatar, OpenTurnGame, OpenTurnGame as OpenTurnGame$1, PublicEndpoints, RejectReason, ResumeSlot, ResumeSummary, SavedCounts, SessionUser, SortDir, SortDir as SortDir$1, Stats, Stats as Stats$1, TurnChatLine, TurnChatLine as TurnChatLine$1, TurnDeadline, TurnDeadline as TurnDeadline$1, TurnGameView, TurnGameView as TurnGameView$1, TurnSummary } from "@diffenderfer-games/hub-contract";
9
+ import { Board, Board as Board$1, CreateTurnGame, ErrorCode, GameInfo, GameLeaderboards, GameRecords, HubVersion, Inventory, Inventory as Inventory$1, Json, Json as Json$1, LeaderboardEntry, Metrics, Metrics as Metrics$1, MyAvatar, OpenTurnGame, OpenTurnGame as OpenTurnGame$1, PublicEndpoints, RejectReason, ResumeSlot, ResumeSummary, SavedCounts, SessionUser, SortDir, SortDir as SortDir$1, Stats, Stats as Stats$1, TurnChatLine, TurnChatLine as TurnChatLine$1, TurnDeadline, TurnDeadline as TurnDeadline$1, TurnGameView, TurnGameView as TurnGameView$1, TurnSummary, TurnTournament } from "@diffenderfer-games/hub-contract";
10
10
  import { CallReturn, ClientData } from "@ayepi/core/client";
11
11
  //#region src/core/page-account.d.ts
12
12
  /** The signed-in player as the page heard it. */
@@ -1334,6 +1334,8 @@ declare const TURN_RESYNC_EVENT = "hub:turn-resync";
1334
1334
  declare const TURN_CHAT_EVENT = "hub:turn-chat";
1335
1335
  /** How often a page without the live runtime looks for moves, ms. */
1336
1336
  declare const TURN_POLL_MS = 20000;
1337
+ /** How long a visible page waiting on another player's move may hear nothing before it fetches the game again, ms. */
1338
+ declare const TURN_QUIET_MS = 15000;
1337
1339
  /** A game's end: the winning seats, and optionally places and scores by seat. */
1338
1340
  type TurnOutcome = NonNullable<TurnGameView['outcome']>;
1339
1341
  /** One move as this seat saw it. */
@@ -1388,6 +1390,11 @@ interface TurnGameHost {
1388
1390
  isLive(): boolean;
1389
1391
  }
1390
1392
  type Listener<Payload> = (payload: Payload) => void;
1393
+ /** How `hub.turns` sets a game up. */
1394
+ interface TurnGameOptions {
1395
+ /** Whether this page wants the "your turn" buzz (`hub.turns.setYourTurnBuzz`); read at each buzz. Default on. */
1396
+ readonly isBuzzOn?: () => boolean;
1397
+ }
1391
1398
  /** One online game. `View`, `Move` and `Ev` (its events) are the game's own JSON types from its rules. */
1392
1399
  declare class TurnGame<View = GamePayload, Move extends GamePayload = GamePayload, Ev = GamePayload> {
1393
1400
  readonly id: string;
@@ -1399,7 +1406,12 @@ declare class TurnGame<View = GamePayload, Move extends GamePayload = GamePayloa
1399
1406
  private catchingUp;
1400
1407
  /** The move count this page's own move in flight will make (its live echo is not another player's move). */
1401
1408
  private ownSeq;
1402
- constructor(host: TurnGameHost, initial: TurnGameView);
1409
+ /** When the page last heard from the hub about this game (a live event or an answer), epoch ms. */
1410
+ private heardAt;
1411
+ private readonly options;
1412
+ /** This game's own "your turn" buzz switch (`setYourTurnBuzz`). */
1413
+ private isBuzzOn;
1414
+ constructor(host: TurnGameHost, initial: TurnGameView, options?: TurnGameOptions);
1403
1415
  /** Whose move it is, the seats and the deadline. */
1404
1416
  get summary(): TurnSummary;
1405
1417
  /** This seat's view, from the game's rules (`null` before the game starts). */
@@ -1414,12 +1426,29 @@ declare class TurnGame<View = GamePayload, Move extends GamePayload = GamePayloa
1414
1426
  get chatMode(): TurnGameView['chatMode'];
1415
1427
  /** The link others can take a seat with (the creator's, while seats are open), else `null`. */
1416
1428
  get link(): string | null;
1429
+ /** Whether this player may move now without it being their turn (the rules' `mayAct`: a jump-in, calling or catching "UNO"): offer that action. */
1430
+ get mayActNow(): boolean;
1431
+ /** The tournament match this game is, or `null` (show it if you like: "Saturday Cup: your match"). */
1432
+ get tournament(): TurnTournament | null;
1433
+ /**
1434
+ * The "your turn" buzz for this game: a short vibration when this player
1435
+ * becomes due on a live update while the page is visible (never for the
1436
+ * next step of their own turn, a move out of turn, a game just opened or a
1437
+ * catch-up; never when the player turned it off or asks for less motion;
1438
+ * silently nothing where the device can't vibrate). On by default.
1439
+ */
1440
+ setYourTurnBuzz(isOn: boolean): void;
1417
1441
  /** Creator: start the game (empty seats go to the computer when the game allows). */
1418
1442
  start(): Promise<void>;
1419
1443
  /**
1420
- * Make a move. Rejects with a `HubError`: 403 `not_your_turn`, 409
1421
- * `stale` (the game moved on: the view is refreshed first), 422 `illegal`
1422
- * with the rules' own code in `rule`.
1444
+ * Make a move: when it is your turn (`summary.isMyTurn`), or out of turn
1445
+ * when the rules allow it (`mayActNow`). Rejects with a `HubError`: 403
1446
+ * `not_your_turn`, 409 `stale` (the game moved on, or another player's
1447
+ * move got there first: the view is refreshed first), 422 `illegal` with
1448
+ * the rules' own code in `rule`, 500 `rules_error` or 503 `rules_busy`
1449
+ * (the move was not made; the game is fetched again). The answer's `view` is the newest this
1450
+ * page has: moves that arrived live while the answer was on its way (the
1451
+ * computer's, another player's) are never rolled back.
1423
1452
  */
1424
1453
  move(move: Move): Promise<{
1425
1454
  seq: number;
@@ -1447,22 +1476,47 @@ declare class TurnGame<View = GamePayload, Move extends GamePayload = GamePayloa
1447
1476
  }): Promise<void>;
1448
1477
  /** Invite friends to free seats (before the start). */
1449
1478
  invite(userIds: readonly number[]): Promise<void>;
1450
- /** The turn's deadline passed (or its player is suspended): let the computer play it. */
1479
+ /**
1480
+ * Whether "Let the computer play for <name>" may work now: another
1481
+ * player is due, the hub's hand-over wait (`summary.handOverAt`) has
1482
+ * passed and a due player isn't connected (`TurnSeat.connected` false
1483
+ * or unknown), or the turn's `deadline` passed. `false` in a
1484
+ * tournament match, and from a hub too old to say. Re-check it on each
1485
+ * `turn` event (a player coming or going fires one) and when
1486
+ * `handOverAt` comes.
1487
+ */
1488
+ canLetComputerPlay(now?: number): boolean;
1489
+ /**
1490
+ * Let the computer play for whoever is due: a turn whose deadline passed
1491
+ * (or whose player is suspended) is played once; otherwise, when that
1492
+ * player has been due a while (2 minutes) and isn't connected at all, the
1493
+ * computer plays their seat for the rest of the game (it shows as `bot`,
1494
+ * named with who chose it) until they open the game again. Rejects with
1495
+ * 409 `deadline_not_passed` when neither (it never says whether they are
1496
+ * online), and 409 `not_supported` in a tournament match.
1497
+ */
1451
1498
  letComputerPlay(): Promise<void>;
1452
1499
  /** Say something: `{ text }` between friends (moderated), `{ quick }` (a quick-chat phrase id) with anyone. */
1453
1500
  say(send: {
1454
1501
  readonly text?: string;
1455
1502
  readonly quick?: string;
1456
1503
  }): Promise<TurnChatLine>;
1457
- /** Fetch the game again, and replay moves missed since the last one this page saw. */
1504
+ /**
1505
+ * Fetch the game again, and replay moves missed since the last one this
1506
+ * page saw. An answer older than what the page has by then (live moves
1507
+ * arrived while it was on its way) is dropped, never rolled back to, and
1508
+ * a move that arrived live is never replayed twice.
1509
+ */
1458
1510
  refresh(): Promise<void>;
1459
1511
  /** Hear moves, turn changes, the end and chat; returns a function that stops listening. */
1460
1512
  on<K extends keyof TurnGameEvents<View, Ev>>(eventName: K, listener: Listener<TurnGameEvents<View, Ev>[K]>): () => void;
1461
1513
  /** Stop live updates for this page (the game itself goes on). */
1462
1514
  close(): void;
1463
- /** Take a fresh answer from the hub; fire `turn` and `ended` when they changed. */
1515
+ /** Take a fresh answer from the hub (one older than what the page has is dropped: no rollback); fire `turn` and `ended` when they changed. */
1464
1516
  private update;
1465
1517
  private emit;
1518
+ /** Whether it is another player's move now (the page is waiting on someone). */
1519
+ private isWaitingOnOthers;
1466
1520
  /** A live `hub:turn` for this game: a move (or a missed run of them), or another change. */
1467
1521
  private onLive;
1468
1522
  /** Replay what was missed (one catch-up at a time). */
@@ -1505,7 +1559,18 @@ interface TurnsHost extends TurnGameHost {
1505
1559
  /** `hub.turns`. */
1506
1560
  declare class HubTurns {
1507
1561
  private readonly host;
1562
+ private isBuzzOn;
1563
+ private readonly gameOptions;
1508
1564
  constructor(host: TurnsHost);
1565
+ /**
1566
+ * This page's "your turn" buzz (a short vibration when the player becomes
1567
+ * due in an open game, see `TurnGame.setYourTurnBuzz`): pass `false` if
1568
+ * your game gives its own signal. On by default.
1569
+ */
1570
+ setYourTurnBuzz(isOn: boolean): void;
1571
+ /** The player's own "Buzz when it's my turn" switch on this device (the menu's Settings show it too). */
1572
+ get playerYourTurnBuzz(): boolean;
1573
+ set playerYourTurnBuzz(isOn: boolean);
1509
1574
  /** The invite link key this page was opened with (`?hub_turn_link=`), taken out of the address bar; `null` when none. Synchronous. */
1510
1575
  get link(): string | null;
1511
1576
  /** Make a game in this page's game (its lobby): the player takes the first seat. */
@@ -1697,9 +1762,21 @@ declare class ContentRejectedError extends HubError {
1697
1762
  constructor(message: string, status: number | undefined, details: HubErrorDetails);
1698
1763
  }
1699
1764
  //#endregion
1765
+ //#region src/core/turns/your-turn-buzz.d.ts
1766
+ /** The pattern: two short pulses, ms. */
1767
+ declare const YOUR_TURN_BUZZ: readonly number[];
1768
+ /** Where this device keeps the player's choice (`off` turns it off). */
1769
+ declare const YOUR_TURN_BUZZ_KEY = "dg:your-turn-buzz";
1770
+ /** Whether going from `previous` to `next` makes this player newly due (the moment to buzz). */
1771
+ declare function isNewlyDue(previous: Pick<TurnSummary, 'phase' | 'isMyTurn'>, next: Pick<TurnSummary, 'phase' | 'isMyTurn' | 'isMuted'>): boolean;
1772
+ /** The player's own switch on this device (on unless they turned it off). */
1773
+ declare function readYourTurnBuzz(): boolean;
1774
+ /** Save the player's switch on this device. */
1775
+ declare function saveYourTurnBuzz(isOn: boolean): void;
1776
+ //#endregion
1700
1777
  //#region src/core/version/client-version.gen.d.ts
1701
1778
  /** This client's package version, sent as `x-hub-client` on REST calls and `client` in `hello`. */
1702
- declare const HUB_CLIENT_VERSION = "2.0.0-next.7";
1779
+ declare const HUB_CLIENT_VERSION = "2.0.0-next.8";
1703
1780
  //#endregion
1704
- export { OfflineApi as $, SavedChangeListener as A, MeResponse as At, ResumeRun as B, SubmitScoreResult as Bt, TURN_RESYNC_EVENT as C, HubOptions as Ct, TurnOutcome as D, Json$1 as Dt, TurnMoveEvent as E, InventorySnapshot as Et, RESUME_MAX_STATE_BYTES as F, SaveMeta as Ft, TradeId as G, AvatarHost as Gt, HubMenuControl as H, EndpointFields as Ht, ResumeBlocker as I, SnapshotResponse as It, AuthResponse as J, CarriesLook as Jt, TradeListOptions as K, AvatarModule as Kt, ResumeEntry as L, SortDir$1 as Lt, SavedOpenHandler as M, Profile as Mt, HubResume as N, ProfileSummary as Nt, HubSaved as O, LeaderboardEntry as Ot, RESUME_DEBOUNCE_MS as P, Save as Pt, SyncResult as Q, ResumeLoadOptions as R, Stats$1 as Rt, TURN_POLL_MS as S, GlobalAnalytics as St, TurnGameEvents as T, Inventory$1 as Tt, GrantBundle as U, EndpointName as Ut, ResumeSaveInput as V, User as Vt, TradeBundle as W, EndpointReply as Wt, StatResult as X, ProfileUpdate as Y, SyncConflict as Z, HubTurns as _, BoardWithTop as _t, HUB_CLIENT_VERSION as a, OUTBOX_MAX_CHARS as at, TURN_CHAT_EVENT as b, GameLeaderboards as bt, HubErrorCode as c, OfflineKindDefinition as ct, SAVE_UNKNOWN_CODE as d, ProfilePatch as dt, OUTBOX_FULL_CODE as et, UNSUPPORTED_BY_HUB as f, QueueOp as ft, ClientSupport as g, Board$1 as gt, hub as h, BufferedEvent as ht, TurnGameView$1 as i, OfflineOp as it, SavedOpenDetail as j, Metrics$1 as jt, SAVED_CHANGE_QUIET_MS as k, LeaderboardResult as kt, HubErrorDetails as l, ReplayContext as lt, createHub as m, QueuedScoreOptions as mt, TurnChatLine$1 as n, OfflineEventName as nt, ContentRejectedError as o, OUTBOX_MAX_ENTRIES as ot, Hub as p, QueueOpInput as pt, TradeNoteOptions as q, HubAvatar as qt, TurnDeadline$1 as r, OfflineListener as rt, HubError as s, OfflineHandler as st, OpenTurnGame$1 as t, OfflineEventDetails as tt, OfflineError as u, CLIENT_VERSION_HEADER as ut, TURN_LINK_PARAM as v, GameAnalytics as vt, TurnGame as w, HubStatus as wt, TURN_EVENT as x, GameRecords as xt, TurnCreateOptions as y, GameInfo$1 as yt, ResumeProgress as z, SubmitScoreOptions as zt };
1781
+ export { TradeListOptions as $, AvatarModule as $t, TurnGame as A, HubOptions as At, HubResume as B, ProfileSummary as Bt, TURN_LINK_PARAM as C, Board$1 as Ct, TURN_POLL_MS as D, GameLeaderboards as Dt, TURN_EVENT as E, GameInfo$1 as Et, HubSaved as F, LeaderboardEntry as Ft, ResumeLoadOptions as G, Stats$1 as Gt, RESUME_MAX_STATE_BYTES as H, SaveMeta as Ht, SAVED_CHANGE_QUIET_MS as I, LeaderboardResult as It, ResumeSaveInput as J, User as Jt, ResumeProgress as K, SubmitScoreOptions as Kt, SavedChangeListener as L, MeResponse as Lt, TurnGameOptions as M, Inventory$1 as Mt, TurnMoveEvent as N, InventorySnapshot as Nt, TURN_QUIET_MS as O, GameRecords as Ot, TurnOutcome as P, Json$1 as Pt, TradeId as Q, AvatarHost as Qt, SavedOpenDetail as R, Metrics$1 as Rt, HubTurns as S, BufferedEvent as St, TURN_CHAT_EVENT as T, GameAnalytics as Tt, ResumeBlocker as U, SnapshotResponse as Ut, RESUME_DEBOUNCE_MS as V, Save as Vt, ResumeEntry as W, SortDir$1 as Wt, GrantBundle as X, EndpointName as Xt, HubMenuControl as Y, EndpointFields as Yt, TradeBundle as Z, EndpointReply as Zt, UNSUPPORTED_BY_HUB as _, CLIENT_VERSION_HEADER as _t, HUB_CLIENT_VERSION as a, SyncResult as at, hub as b, QueueOpInput as bt, isNewlyDue as c, OfflineEventDetails as ct, ContentRejectedError as d, OfflineOp as dt, HubAvatar as en, TradeNoteOptions as et, HubError as f, OUTBOX_MAX_CHARS as ft, SAVE_UNKNOWN_CODE as g, ReplayContext as gt, OfflineError as h, OfflineKindDefinition as ht, TurnGameView$1 as i, SyncConflict as it, TurnGameEvents as j, HubStatus as jt, TURN_RESYNC_EVENT as k, GlobalAnalytics as kt, readYourTurnBuzz as l, OfflineEventName as lt, HubErrorDetails as m, OfflineHandler as mt, TurnChatLine$1 as n, ProfileUpdate as nt, YOUR_TURN_BUZZ as o, OfflineApi as ot, HubErrorCode as p, OUTBOX_MAX_ENTRIES as pt, ResumeRun as q, SubmitScoreResult as qt, TurnDeadline$1 as r, StatResult as rt, YOUR_TURN_BUZZ_KEY as s, OUTBOX_FULL_CODE as st, OpenTurnGame$1 as t, CarriesLook as tn, AuthResponse as tt, saveYourTurnBuzz as u, OfflineListener as ut, Hub as v, ProfilePatch as vt, TurnCreateOptions as w, BoardWithTop as wt, ClientSupport as x, QueuedScoreOptions as xt, createHub as y, QueueOp as yt, SavedOpenHandler as z, Profile as zt };
1705
1782
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["AvatarEntry","GameInfo","ContractGameInfo","_$__page_account0.PageAccount","GameInfo","presence","social","mp","rooms","notify","race"],"sources":["../../src/core/page-account.ts","../../src/core/avatar/avatar-ref.ts","../../src/core/avatar/hub-avatar.ts","../../src/core/storage/key-value.ts","../../src/core/rest/endpoint-types.ts","../../src/core/types.ts","../../src/core/offline/events.ts","../../src/core/offline/queue.ts","../../src/core/offline/local-store.ts","../../src/core/rest/rest-client.ts","../../src/core/offline/outbox-entry.ts","../../src/core/offline/outbox-kinds.ts","../../src/core/offline/outbox-store.ts","../../src/core/offline/outbox-replayer.ts","../../src/core/offline/outbox.ts","../../src/core/offline/offline-api.ts","../../src/core/resume/local-resume.ts","../../src/core/saved/local-saved.ts","../../src/core/connection.ts","../../src/core/hub-progress.ts","../../src/core/hub-economy.ts","../../src/core/menu-control.ts","../../src/core/offline/hub-kinds/resume-kind.ts","../../src/core/resume/resume-types.ts","../../src/core/resume/hub-resume.ts","../../src/core/saved/saved-list.ts","../../src/core/saved/hub-saved.ts","../../src/core/turns/turn-game.ts","../../src/core/turns/hub-turns.ts","../../src/core/version/hub-version.ts","../../src/core/hub.ts","../../src/core/errors.ts","../../src/core/version/client-version.gen.ts"],"mappings":";;;;;;;;;;;;UAoBiB;WACN;;WAEA;;;KAIC;;KAGA,mBAAmB,MAAM,iBAAiB,QAAQ;;cAGjD;;UAEH;mBACS;UACT;;;MAOJ,QAAQ;;EAMZ,KAAK,MAAM,iBAAiB,SAAQ;;EAQpC,GAAG,UAAU;;UASL;UAWA;;;;;UC3DO;WACN;WACA;WACA;WACA;;;;;UCGM;;WAEN;;WAEA,YAAY,UAAU;;WAEtB,iBAAiB,QAAQ;;WAEzB,aAAa,2BAA2B,QAAQ;;WAEhD,YAAY,cAAc,oBAAoB;;;KAI7C,sBAAsBA;KAE7B,kBAAkB,QAAQ;;cASlB;mBACM;mBACA;mBACA;UACT;UACA;UACA;;UAEA;;UAEA;;mBAES;EAEL,YAAA,MAAM;;;;;;;EAcZ,QAAQ,QAAQ;;EAkBtB,YAAY;;EAUZ,GAAG,iBAAiB,QAAQ;;EAiBtB,KAAK,6BAA6B,QAAQ,YAAY;;EAM5D,KAAK,SAAS,cAAc;;EAW5B,IAAI,wBAAwB;;EAKtB,KAAK,MAAM,aAAa,QAAQ;;;;;;EAgBtC,GAAG,kBAAkB,UAAU;;EAS/B,aAAa,UAAS,sBAA2B,QAAQ;;EAenD,QAAQ,QAAQ;;UAOd;;UAMA;;UAWA;UAeM;;UAQA;UAaN;UAMA;UAcA;UAWM;;UAgBA;;;;;;;;;;;UC7RC;;EAEf,KAAK;;EAEL,MAAM,aAAa;;EAEnB,OAAO;;EAEP;;;;;KCPU,qBAAqB;;KAGrB,eAAe,UAAU,gBAAgB,WAAW,gBAAgB;;;;;KAM3E,UAAU,SAAS;WAAyB;WAAyB,YAAY;IAAS,OAAO;;KAG1F,cAAc,UAAU,gBAAgB,UAAU,QAAQ,WAAW,gBAAgB;;;;KCNrF,OAAO,KAAK,kCAAkC,QAAQ,KAAK;;UA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aAAa,QAAQ,aAAa,aAAa,QAAQ,SAAS,MAAM,MAAM;;EAKtI,QAAQ,QAAQ;;EAKhB,eAAe,QAAQ;;;;;KC5Hb;;;;;;;;;;;;cCuBC,YAAY;;WAEd;UAED;UACA;UACA;UACA;UACA;;mBAES;;;;;EAMjB,cAAc,QAAQ;;EAKhB,iBAAiB,QAAQ;;;;;;MAS3B,SAAS;;MAUT,WAAW,kBAAkB;;MAK7B,QAAQ;;;;;;MASR,SAAS;;MAKT,mBAAmBC;;MAKnB,iBAAiBC;;MAKjB,aAAaC;;MAKb,gBAAgBC;;MAKhB,iBAAiBC;;MAKjB,eAAeC;;;;;;MASf,UAAU;;;;;;MAUV,UAAU;;;;;;MAkBV,SAAS;;;;;;MAUT,SAAS;;UAML;;UA4BA;;UAsBM;;UAgBN;;UA2CA;;UAmBA;;;cAyCG,KAAK;;iBAQF,UAAU,UAAS,aAAkB;;;;;;;cCjVxC;;cAGA;;;;;;cAOA;;;;;;KAOD,eAAe,mBAAmB,4BAA4B,sBAAsB,8BAA8B;;UAG7G;;WAEN,OAAO;;WAEP,SAAS,yBAAyB;;WAElC;;WAEA;;WAEA;;WAEA;;;;;;;;cASE,iBAAiB;;WAEnB;;WAEA,MAAM;;WAEN;;WAEA;;WAEA;;WAEA;;WAEA;;EAGG,YAAA,iBAAiB,iBAAiB,UAAS;;MAanD;;;cAMO,qBAAqB;;EAEpB,YAAA;;;;;;;cAWD,6BAA6B;;EAE5B,YAAA,iBAAiB,4BAA4B,SAAS;;;;;cCtGvD"}
1
+ {"version":3,"file":"index.d.ts","names":["AvatarEntry","GameInfo","ContractGameInfo","_$__page_account0.PageAccount","GameInfo","presence","social","mp","rooms","notify","race"],"sources":["../../src/core/page-account.ts","../../src/core/avatar/avatar-ref.ts","../../src/core/avatar/hub-avatar.ts","../../src/core/storage/key-value.ts","../../src/core/rest/endpoint-types.ts","../../src/core/types.ts","../../src/core/offline/events.ts","../../src/core/offline/queue.ts","../../src/core/offline/local-store.ts","../../src/core/rest/rest-client.ts","../../src/core/offline/outbox-entry.ts","../../src/core/offline/outbox-kinds.ts","../../src/core/offline/outbox-store.ts","../../src/core/offline/outbox-replayer.ts","../../src/core/offline/outbox.ts","../../src/core/offline/offline-api.ts","../../src/core/resume/local-resume.ts","../../src/core/saved/local-saved.ts","../../src/core/connection.ts","../../src/core/hub-progress.ts","../../src/core/hub-economy.ts","../../src/core/menu-control.ts","../../src/core/offline/hub-kinds/resume-kind.ts","../../src/core/resume/resume-types.ts","../../src/core/resume/hub-resume.ts","../../src/core/saved/saved-list.ts","../../src/core/saved/hub-saved.ts","../../src/core/turns/turn-game.ts","../../src/core/turns/hub-turns.ts","../../src/core/version/hub-version.ts","../../src/core/hub.ts","../../src/core/errors.ts","../../src/core/turns/your-turn-buzz.ts","../../src/core/version/client-version.gen.ts"],"mappings":";;;;;;;;;;;;UAoBiB;WACN;;WAEA;;;KAIC;;KAGA,mBAAmB,MAAM,iBAAiB,QAAQ;;cAGjD;;UAEH;mBACS;UACT;;;MAOJ,QAAQ;;EAMZ,KAAK,MAAM,iBAAiB,SAAQ;;EAQpC,GAAG,UAAU;;UASL;UAWA;;;;;UC3DO;WACN;WACA;WACA;WACA;;;;;UCGM;;WAEN;;WAEA,YAAY,UAAU;;WAEtB,iBAAiB,QAAQ;;WAEzB,aAAa,2BAA2B,QAAQ;;WAEhD,YAAY,cAAc,oBAAoB;;;KAI7C,sBAAsBA;KAE7B,kBAAkB,QAAQ;;cASlB;mBACM;mBACA;mBACA;UACT;UACA;UACA;;UAEA;;UAEA;;mBAES;EAEL,YAAA,MAAM;;;;;;;EAcZ,QAAQ,QAAQ;;EAkBtB,YAAY;;EAUZ,GAAG,iBAAiB,QAAQ;;EAiBtB,KAAK,6BAA6B,QAAQ,YAAY;;EAM5D,KAAK,SAAS,cAAc;;EAW5B,IAAI,wBAAwB;;EAKtB,KAAK,MAAM,aAAa,QAAQ;;;;;;EAgBtC,GAAG,kBAAkB,UAAU;;EAS/B,aAAa,UAAS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