@maktubbet/sdk 6.0.0 → 6.0.1

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.cjs CHANGED
@@ -39781,7 +39781,7 @@ var import_jsx_runtime154 = require("react/jsx-runtime");
39781
39781
  function VideoPokerGameInner() {
39782
39782
  const betSound2 = useSoundEffect(bet_default);
39783
39783
  const { balance, balanceRef, setBalanceSync, setBalanceFromServer } = useBalance();
39784
- const { convertToUserCurrency } = use_currency_default();
39784
+ const { convertToUserCurrency, convertToUsd } = use_currency_default();
39785
39785
  const { accessToken } = useGameContext();
39786
39786
  const gameMode = use_game_mode_default((s) => s.mode);
39787
39787
  const isDemo = gameMode === "demo";
@@ -39836,7 +39836,7 @@ function VideoPokerGameInner() {
39836
39836
  }
39837
39837
  try {
39838
39838
  const createBet = isDemo ? createDemoVideoPokerBet : createVideoPokerBet;
39839
- const data = await createBet(amount);
39839
+ const data = await createBet(convertToUsd(amount));
39840
39840
  const dealt = data.state.dealtCards;
39841
39841
  setCards(dealt.map((c) => ({ ...c, faceDown: true })));
39842
39842
  await delay(delayMs);