@betorigami/games 1.10.0 → 1.10.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 +16 -15
- package/dist/index.mjs +560 -566
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3985,20 +3985,18 @@ declare class HapticController {
|
|
|
3985
3985
|
click(): void;
|
|
3986
3986
|
lightClick(): void;
|
|
3987
3987
|
}
|
|
3988
|
-
declare
|
|
3989
|
-
"LOW_RISK",
|
|
3990
|
-
"MEDIUM_RISK",
|
|
3991
|
-
"HIGH_RISK"
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
];
|
|
4001
|
-
export type WheelSegments = (typeof WHEEL_SEGMENTS)[number];
|
|
3988
|
+
declare enum WheelRiskLevel {
|
|
3989
|
+
LOW_RISK = "LOW_RISK",
|
|
3990
|
+
MEDIUM_RISK = "MEDIUM_RISK",
|
|
3991
|
+
HIGH_RISK = "HIGH_RISK"
|
|
3992
|
+
}
|
|
3993
|
+
declare enum WheelSegments {
|
|
3994
|
+
TEN = 10,
|
|
3995
|
+
TWENTY = 20,
|
|
3996
|
+
THIRTY = 30,
|
|
3997
|
+
FORTY = 40,
|
|
3998
|
+
FIFTY = 50
|
|
3999
|
+
}
|
|
4002
4000
|
declare enum DiceDirection {
|
|
4003
4001
|
ABOVE = "ABOVE",
|
|
4004
4002
|
BELOW = "BELOW"
|
|
@@ -4760,6 +4758,8 @@ declare class DiamondsApi {
|
|
|
4760
4758
|
startBet(data: DiamondsStartArgs): Promise<StartBetResponse>;
|
|
4761
4759
|
}
|
|
4762
4760
|
declare class MockDiamondsApi {
|
|
4761
|
+
private readonly edge;
|
|
4762
|
+
constructor(edge: number);
|
|
4763
4763
|
startBet(data: DiamondsStartArgs): Promise<{
|
|
4764
4764
|
success: true;
|
|
4765
4765
|
data: BetResult;
|
|
@@ -4792,6 +4792,8 @@ declare class WheelApi {
|
|
|
4792
4792
|
startBet(data: WheelStartArgs & WheelStartAction): Promise<StartBetResponse>;
|
|
4793
4793
|
}
|
|
4794
4794
|
declare class MockWheelApi {
|
|
4795
|
+
private readonly edge;
|
|
4796
|
+
constructor(edge: number);
|
|
4795
4797
|
startBet(data: WheelStartArgs & WheelStartAction): Promise<{
|
|
4796
4798
|
success: true;
|
|
4797
4799
|
data: BetResult;
|
|
@@ -4806,7 +4808,6 @@ export declare class WheelGame extends GameComponent {
|
|
|
4806
4808
|
private targetAngle;
|
|
4807
4809
|
private resultSegment;
|
|
4808
4810
|
private isWheelSpinning;
|
|
4809
|
-
private highlightedMultiplier;
|
|
4810
4811
|
private _wheelManualEl?;
|
|
4811
4812
|
private _wheelAutoEl?;
|
|
4812
4813
|
constructor();
|