@betorigami/games 1.12.0 → 1.12.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/index.d.ts +7 -3
- package/dist/index.mjs +1056 -656
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare enum OrigamiGame {
|
|
|
32
32
|
PLINKO = "PLINKO",
|
|
33
33
|
ADVANCED_DICE = "ADVANCED_DICE"
|
|
34
34
|
}
|
|
35
|
-
export type SeasonTheme = "DEFAULT" | "HORRORGAMI";
|
|
35
|
+
export type SeasonTheme = "DEFAULT" | "HORRORGAMI" | "JOLLYGAMI";
|
|
36
36
|
declare const SUPPORTED_EDGE_PERCENTAGES: readonly [
|
|
37
37
|
1,
|
|
38
38
|
2,
|
|
@@ -4432,7 +4432,7 @@ declare class HistoryController extends EventTarget {
|
|
|
4432
4432
|
loadClientSeed(): Promise<void>;
|
|
4433
4433
|
updateClientSeed(newSeed: string): void;
|
|
4434
4434
|
}
|
|
4435
|
-
export type BaseSound = "bet" | "click" | "dice-roll" | "dice-tick" | "half-double" | "horrorgami-mines-bomb" | "horrorgami-mines-tile-click" | "horrorgami-win" | "keno-clear" | "keno-gem" | "limbo-tick" | "mines-bomb" | "mines-gem" | "plinko-drop" | "secondary" | "toggle" | "win";
|
|
4435
|
+
export type BaseSound = "bet" | "christmas-win" | "click" | "dice-roll" | "dice-tick" | "half-double" | "horrorgami-mines-bomb" | "horrorgami-mines-tile-click" | "horrorgami-win" | "keno-clear" | "keno-gem" | "limbo-tick" | "mines-bomb" | "mines-gem" | "plinko-drop" | "secondary" | "toggle" | "win";
|
|
4436
4436
|
interface GameHost$2 {
|
|
4437
4437
|
gameData: gameContextType;
|
|
4438
4438
|
addController(controller: any): void;
|
|
@@ -4656,7 +4656,7 @@ declare abstract class GameComponent extends OrigamiElement {
|
|
|
4656
4656
|
protected isPnLWithinLimits(autobetSettings: AutobetSettings, totalPnL: Big$1): boolean;
|
|
4657
4657
|
protected updateHistoryWithBet(betResult: BetResult): void;
|
|
4658
4658
|
protected showError(message: string): void;
|
|
4659
|
-
protected
|
|
4659
|
+
protected playSeasonalWin(): void;
|
|
4660
4660
|
}
|
|
4661
4661
|
export type DiceStartArgs = {
|
|
4662
4662
|
language: Language;
|
|
@@ -5234,7 +5234,11 @@ export declare class AdvancedDiceGame extends GameComponent {
|
|
|
5234
5234
|
private _diceAutoEl?;
|
|
5235
5235
|
get isToggleDisabled(): boolean;
|
|
5236
5236
|
get areInputsDisabled(): boolean;
|
|
5237
|
+
/** Roll type cycle order for hotkey */
|
|
5238
|
+
private static readonly ROLL_TYPE_ORDER;
|
|
5237
5239
|
constructor();
|
|
5240
|
+
/** Cycles through roll types: Inside → Outside → Between → Inside */
|
|
5241
|
+
private cycleRollType;
|
|
5238
5242
|
get advancedDiceApi(): AdvancedDiceApi | MockAdvancedDiceApi;
|
|
5239
5243
|
private buildGameInputs;
|
|
5240
5244
|
private calculateWinChance;
|