@maktubbet/sdk 2.2.24 → 3.2.24

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.
@@ -16929,7 +16929,7 @@ function CrashGame({ userName }) {
16929
16929
  pending.resolve({
16930
16930
  amount: pending.amount,
16931
16931
  payout,
16932
- balance: newBalance,
16932
+ balance: balanceRef.current,
16933
16933
  status: "win"
16934
16934
  });
16935
16935
  }
@@ -16937,9 +16937,6 @@ function CrashGame({ userName }) {
16937
16937
  break;
16938
16938
  }
16939
16939
  case "bet:rejected": {
16940
- if (betAmountRef.current > 0 && userHasBetRef.current === false) {
16941
- setBalanceSync(balanceRef.current + betAmountRef.current);
16942
- }
16943
16940
  setUserHasBet(false);
16944
16941
  setIsMutating(false);
16945
16942
  if (wsBetResultRef.current) {