@betorigami/games 1.1.0 → 1.1.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 +11 -1
- package/dist/index.mjs +357 -395
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -3687,10 +3687,14 @@ export declare class GameProviderWrapper extends OrigamiElement {
|
|
|
3687
3687
|
private instantBetEnabled;
|
|
3688
3688
|
private mainWidth;
|
|
3689
3689
|
private publicKey;
|
|
3690
|
+
private scale;
|
|
3690
3691
|
language: Language;
|
|
3691
3692
|
private _soundController;
|
|
3692
3693
|
private _historyController;
|
|
3693
3694
|
private _hapticController;
|
|
3695
|
+
private _resizeObserver;
|
|
3696
|
+
private _lastInnerHeight;
|
|
3697
|
+
private _lastInnerWidth;
|
|
3694
3698
|
protected _gameProvider: ContextProvider<typeof gameContext>;
|
|
3695
3699
|
connectedCallback(): void;
|
|
3696
3700
|
firstUpdated(_changed: PropertyValues): Promise<void>;
|
|
@@ -3708,7 +3712,11 @@ export declare class GameProviderWrapper extends OrigamiElement {
|
|
|
3708
3712
|
updateMainWidth(width: number): void;
|
|
3709
3713
|
updateBetAmount(newAmount: BigNumber): void;
|
|
3710
3714
|
updateBalance(newAmount: BigNumber): void;
|
|
3711
|
-
|
|
3715
|
+
private _boundCalculateScale;
|
|
3716
|
+
private setupResizeObserver;
|
|
3717
|
+
private cleanupResizeObserver;
|
|
3718
|
+
private calculateScale;
|
|
3719
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3712
3720
|
}
|
|
3713
3721
|
export declare class BetDetailsComponent extends OrigamiElement {
|
|
3714
3722
|
static styles: import("lit").CSSResult;
|
|
@@ -3935,6 +3943,7 @@ export declare class KenoGame extends GameComponent {
|
|
|
3935
3943
|
private selectedTiles;
|
|
3936
3944
|
private resultTiles;
|
|
3937
3945
|
gameWinPopupShowing: boolean;
|
|
3946
|
+
static styles: import("lit").CSSResult[];
|
|
3938
3947
|
private gameOver;
|
|
3939
3948
|
private payout;
|
|
3940
3949
|
private kenoRisk;
|
|
@@ -4161,6 +4170,7 @@ export declare class MinesGame extends GameComponent {
|
|
|
4161
4170
|
private history;
|
|
4162
4171
|
private isCheckingForSession;
|
|
4163
4172
|
private loadingTiles;
|
|
4173
|
+
static styles: import("lit").CSSResult[];
|
|
4164
4174
|
private _minesManualEl?;
|
|
4165
4175
|
private _minesAutoEl?;
|
|
4166
4176
|
private _playSound;
|