@betorigami/game-ui-shared 6.0.1 → 6.1.0

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.
@@ -10,7 +10,7 @@ export type ChipTablePosition = string;
10
10
  *
11
11
  * Responsibilities:
12
12
  * - Per-click chip amount (1/2, 2x, reset)
13
- * - Event-sourced chip state (add, multiplier-change)
13
+ * - Event-sourced chip state (add, scale)
14
14
  * - Derived totals + syncing the wallet `betAmount`
15
15
  * - Shared hotkeys for chip table interaction
16
16
  */
@@ -3,8 +3,9 @@ import { ReactiveControllerHost } from 'lit';
3
3
  type Host = ReactiveControllerHost & HTMLElement;
4
4
  export declare class RequiredContext<C extends Context<unknown, unknown>> {
5
5
  readonly context: C;
6
+ readonly onChange?: ((value: ContextType<C>) => void) | undefined;
6
7
  private consumer;
7
- constructor(host: Host, context: C, onChange?: (value: ContextType<C>) => void);
8
+ constructor(host: Host, context: C, onChange?: ((value: ContextType<C>) => void) | undefined);
8
9
  get value(): ContextType<C>;
9
10
  }
10
11
  export {};