react-native-monflowts 0.0.0-stage → 0.5.0

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.
Files changed (479) hide show
  1. package/LICENSE +20 -0
  2. package/Monflowts.podspec +22 -0
  3. package/README.md +229 -2
  4. package/android/build.gradle +58 -0
  5. package/android/src/main/AndroidManifest.xml +8 -0
  6. package/android/src/main/java/com/monflowts/MonflowtsAssetsModule.kt +219 -0
  7. package/android/src/main/java/com/monflowts/MonflowtsCrashFeedModule.kt +175 -0
  8. package/android/src/main/java/com/monflowts/MonflowtsHapticModule.kt +170 -0
  9. package/android/src/main/java/com/monflowts/MonflowtsLottieView.kt +96 -0
  10. package/android/src/main/java/com/monflowts/MonflowtsLottieViewManager.kt +53 -0
  11. package/android/src/main/java/com/monflowts/MonflowtsPackage.kt +70 -0
  12. package/android/src/main/java/com/monflowts/MonflowtsSoundModule.kt +132 -0
  13. package/android/src/main/java/com/monflowts/MonflowtsSpeechModule.kt +81 -0
  14. package/android/src/main/java/com/monflowts/MonflowtsSvgView.kt +355 -0
  15. package/android/src/main/java/com/monflowts/MonflowtsSvgViewManager.kt +59 -0
  16. package/android/src/main/java/com/monflowts/MonflowtsWebView.kt +86 -0
  17. package/android/src/main/java/com/monflowts/MonflowtsWebViewManager.kt +33 -0
  18. package/android/src/main/java/com/monflowts/MonflowtsWheelView.kt +98 -0
  19. package/android/src/main/java/com/monflowts/MonflowtsWheelViewManager.kt +46 -0
  20. package/ios/Monflowts-Bridging-Header.h +5 -0
  21. package/ios/MonflowtsAssetsBridge.m +14 -0
  22. package/ios/MonflowtsAssetsModule.swift +217 -0
  23. package/ios/MonflowtsCrashFeedBridge.m +9 -0
  24. package/ios/MonflowtsCrashFeedModule.swift +88 -0
  25. package/ios/MonflowtsHTTP1EventSource.swift +296 -0
  26. package/ios/MonflowtsHapticBridge.m +8 -0
  27. package/ios/MonflowtsHapticModule.swift +55 -0
  28. package/ios/MonflowtsLottieBridge.m +12 -0
  29. package/ios/MonflowtsLottieUIView.swift +95 -0
  30. package/ios/MonflowtsLottieViewManager.swift +13 -0
  31. package/ios/MonflowtsSSEParser.swift +58 -0
  32. package/ios/MonflowtsSoundBridge.m +8 -0
  33. package/ios/MonflowtsSoundModule.swift +100 -0
  34. package/ios/MonflowtsSpeechBridge.m +9 -0
  35. package/ios/MonflowtsSpeechModule.swift +61 -0
  36. package/ios/MonflowtsSvgBridge.m +11 -0
  37. package/ios/MonflowtsSvgUIView.swift +431 -0
  38. package/ios/MonflowtsSvgViewManager.swift +13 -0
  39. package/ios/MonflowtsWebBridge.m +8 -0
  40. package/ios/MonflowtsWebUIView.swift +92 -0
  41. package/ios/MonflowtsWebViewManager.swift +14 -0
  42. package/ios/MonflowtsWheelBridge.m +7 -0
  43. package/ios/MonflowtsWheelUIView.swift +126 -0
  44. package/ios/MonflowtsWheelViewManager.swift +14 -0
  45. package/lib/module/HapticsManager.js +93 -0
  46. package/lib/module/HapticsManager.js.map +1 -0
  47. package/lib/module/HubContent.js +642 -0
  48. package/lib/module/HubContent.js.map +1 -0
  49. package/lib/module/Icons.js +64 -0
  50. package/lib/module/Icons.js.map +1 -0
  51. package/lib/module/MonflowtsHub.js +233 -0
  52. package/lib/module/MonflowtsHub.js.map +1 -0
  53. package/lib/module/NativeLottieView.js +6 -0
  54. package/lib/module/NativeLottieView.js.map +1 -0
  55. package/lib/module/NativeSvgView.js +6 -0
  56. package/lib/module/NativeSvgView.js.map +1 -0
  57. package/lib/module/NativeWebView.js +14 -0
  58. package/lib/module/NativeWebView.js.map +1 -0
  59. package/lib/module/NativeWheelView.js +6 -0
  60. package/lib/module/NativeWheelView.js.map +1 -0
  61. package/lib/module/SoundManager.js +120 -0
  62. package/lib/module/SoundManager.js.map +1 -0
  63. package/lib/module/SpeechManager.js +40 -0
  64. package/lib/module/SpeechManager.js.map +1 -0
  65. package/lib/module/api/client.js +109 -0
  66. package/lib/module/api/client.js.map +1 -0
  67. package/lib/module/api/gameTypes.js +2 -0
  68. package/lib/module/api/gameTypes.js.map +1 -0
  69. package/lib/module/api/http.js +252 -0
  70. package/lib/module/api/http.js.map +1 -0
  71. package/lib/module/api/mutations.js +359 -0
  72. package/lib/module/api/mutations.js.map +1 -0
  73. package/lib/module/api/playerTypes.js +2 -0
  74. package/lib/module/api/playerTypes.js.map +1 -0
  75. package/lib/module/api/queries.js +403 -0
  76. package/lib/module/api/queries.js.map +1 -0
  77. package/lib/module/api/sdkTypes.js +2 -0
  78. package/lib/module/api/sdkTypes.js.map +1 -0
  79. package/lib/module/assets/assetKeys.js +4 -0
  80. package/lib/module/assets/assetKeys.js.map +1 -0
  81. package/lib/module/assets/assetSync.js +61 -0
  82. package/lib/module/assets/assetSync.js.map +1 -0
  83. package/lib/module/assets/nativeAssets.js +25 -0
  84. package/lib/module/assets/nativeAssets.js.map +1 -0
  85. package/lib/module/assets/remote.js +47 -0
  86. package/lib/module/assets/remote.js.map +1 -0
  87. package/lib/module/components/AbandonPolicyNotice.js +200 -0
  88. package/lib/module/components/AbandonPolicyNotice.js.map +1 -0
  89. package/lib/module/components/AnimatedAmount.js +39 -0
  90. package/lib/module/components/AnimatedAmount.js.map +1 -0
  91. package/lib/module/components/CoinFlyOverlay.js +157 -0
  92. package/lib/module/components/CoinFlyOverlay.js.map +1 -0
  93. package/lib/module/components/GameCharacter.js +45 -0
  94. package/lib/module/components/GameCharacter.js.map +1 -0
  95. package/lib/module/components/GameRulesModal.js +279 -0
  96. package/lib/module/components/GameRulesModal.js.map +1 -0
  97. package/lib/module/components/HypeCallout.js +103 -0
  98. package/lib/module/components/HypeCallout.js.map +1 -0
  99. package/lib/module/components/InsufficientFundsOverlay.js +285 -0
  100. package/lib/module/components/InsufficientFundsOverlay.js.map +1 -0
  101. package/lib/module/components/JackpotNearMiss.js +89 -0
  102. package/lib/module/components/JackpotNearMiss.js.map +1 -0
  103. package/lib/module/components/JackpotTeaser.js +341 -0
  104. package/lib/module/components/JackpotTeaser.js.map +1 -0
  105. package/lib/module/components/MonflowtsButton.js +129 -0
  106. package/lib/module/components/MonflowtsButton.js.map +1 -0
  107. package/lib/module/components/MonflowtsChipGroup.js +40 -0
  108. package/lib/module/components/MonflowtsChipGroup.js.map +1 -0
  109. package/lib/module/components/MonflowtsPressable.js +42 -0
  110. package/lib/module/components/MonflowtsPressable.js.map +1 -0
  111. package/lib/module/components/QuitConfirmModal.js +180 -0
  112. package/lib/module/components/QuitConfirmModal.js.map +1 -0
  113. package/lib/module/components/SessionTimer.js +77 -0
  114. package/lib/module/components/SessionTimer.js.map +1 -0
  115. package/lib/module/components/SideDemoTab.js +110 -0
  116. package/lib/module/components/SideDemoTab.js.map +1 -0
  117. package/lib/module/components/StakeInput.js +138 -0
  118. package/lib/module/components/StakeInput.js.map +1 -0
  119. package/lib/module/constants.js +50 -0
  120. package/lib/module/constants.js.map +1 -0
  121. package/lib/module/content.js +21 -0
  122. package/lib/module/content.js.map +1 -0
  123. package/lib/module/effects/EffectBurst.js +56 -0
  124. package/lib/module/effects/EffectBurst.js.map +1 -0
  125. package/lib/module/effects/beaverStates.js +11 -0
  126. package/lib/module/effects/beaverStates.js.map +1 -0
  127. package/lib/module/effects/hypePhrases.js +67 -0
  128. package/lib/module/effects/hypePhrases.js.map +1 -0
  129. package/lib/module/effects/particleAnims.js +17 -0
  130. package/lib/module/effects/particleAnims.js.map +1 -0
  131. package/lib/module/hooks/useAvailableGames.js +29 -0
  132. package/lib/module/hooks/useAvailableGames.js.map +1 -0
  133. package/lib/module/hooks/useCrash.js +137 -0
  134. package/lib/module/hooks/useCrash.js.map +1 -0
  135. package/lib/module/hooks/useCrashFeed.js +49 -0
  136. package/lib/module/hooks/useCrashFeed.js.map +1 -0
  137. package/lib/module/hooks/useCurrency.js +13 -0
  138. package/lib/module/hooks/useCurrency.js.map +1 -0
  139. package/lib/module/hooks/useFairSeed.js +55 -0
  140. package/lib/module/hooks/useFairSeed.js.map +1 -0
  141. package/lib/module/hooks/useGameEvents.js +186 -0
  142. package/lib/module/hooks/useGameEvents.js.map +1 -0
  143. package/lib/module/hooks/useGameHistory.js +55 -0
  144. package/lib/module/hooks/useGameHistory.js.map +1 -0
  145. package/lib/module/hooks/useLeaderboard.js +83 -0
  146. package/lib/module/hooks/useLeaderboard.js.map +1 -0
  147. package/lib/module/hooks/useMines.js +166 -0
  148. package/lib/module/hooks/useMines.js.map +1 -0
  149. package/lib/module/hooks/useNotifications.js +66 -0
  150. package/lib/module/hooks/useNotifications.js.map +1 -0
  151. package/lib/module/hooks/usePlayGame.js +408 -0
  152. package/lib/module/hooks/usePlayGame.js.map +1 -0
  153. package/lib/module/hooks/usePlinko.js +75 -0
  154. package/lib/module/hooks/usePlinko.js.map +1 -0
  155. package/lib/module/hooks/useRaffleDrawState.js +57 -0
  156. package/lib/module/hooks/useRaffleDrawState.js.map +1 -0
  157. package/lib/module/hooks/useRefreshWallet.js +24 -0
  158. package/lib/module/hooks/useRefreshWallet.js.map +1 -0
  159. package/lib/module/hooks/useResponsive.js +16 -0
  160. package/lib/module/hooks/useResponsive.js.map +1 -0
  161. package/lib/module/hooks/useRevealWin.js +120 -0
  162. package/lib/module/hooks/useRevealWin.js.map +1 -0
  163. package/lib/module/hooks/useScreenShake.js +32 -0
  164. package/lib/module/hooks/useScreenShake.js.map +1 -0
  165. package/lib/module/hooks/useWallet.js +77 -0
  166. package/lib/module/hooks/useWallet.js.map +1 -0
  167. package/lib/module/i18n.js +104 -0
  168. package/lib/module/i18n.js.map +1 -0
  169. package/lib/module/index.js +22 -0
  170. package/lib/module/index.js.map +1 -0
  171. package/lib/module/lottieAnimations.js +15 -0
  172. package/lib/module/lottieAnimations.js.map +1 -0
  173. package/lib/module/package.json +1 -0
  174. package/lib/module/stores/assetStore.js +140 -0
  175. package/lib/module/stores/assetStore.js.map +1 -0
  176. package/lib/module/stores/authStore.js +47 -0
  177. package/lib/module/stores/authStore.js.map +1 -0
  178. package/lib/module/stores/gameStore.js +23 -0
  179. package/lib/module/stores/gameStore.js.map +1 -0
  180. package/lib/module/stores/sdkInitStore.js +155 -0
  181. package/lib/module/stores/sdkInitStore.js.map +1 -0
  182. package/lib/module/stores/settingsStore.js +40 -0
  183. package/lib/module/stores/settingsStore.js.map +1 -0
  184. package/lib/module/theme.js +160 -0
  185. package/lib/module/theme.js.map +1 -0
  186. package/lib/module/types.js +4 -0
  187. package/lib/module/types.js.map +1 -0
  188. package/lib/module/utils/apolloError.js +69 -0
  189. package/lib/module/utils/apolloError.js.map +1 -0
  190. package/lib/module/utils/crashMultiplier.js +8 -0
  191. package/lib/module/utils/crashMultiplier.js.map +1 -0
  192. package/lib/module/utils/crashMultiplier.test.js +34 -0
  193. package/lib/module/utils/crashMultiplier.test.js.map +1 -0
  194. package/lib/module/utils/deviceAnalytics.js +51 -0
  195. package/lib/module/utils/deviceAnalytics.js.map +1 -0
  196. package/lib/module/utils/idempotency.js +66 -0
  197. package/lib/module/utils/idempotency.js.map +1 -0
  198. package/lib/module/utils/layout.js +14 -0
  199. package/lib/module/utils/layout.js.map +1 -0
  200. package/lib/module/utils/safeInlineScript.js +12 -0
  201. package/lib/module/utils/safeInlineScript.js.map +1 -0
  202. package/lib/module/utils/sseClient.js +40 -0
  203. package/lib/module/utils/sseClient.js.map +1 -0
  204. package/lib/module/views/DepositSelect.js +275 -0
  205. package/lib/module/views/DepositSelect.js.map +1 -0
  206. package/lib/module/views/Dice.js +111 -0
  207. package/lib/module/views/Dice.js.map +1 -0
  208. package/lib/module/views/DiceBattle.js +815 -0
  209. package/lib/module/views/DiceBattle.js.map +1 -0
  210. package/lib/module/views/DiceLobby.js +577 -0
  211. package/lib/module/views/DiceLobby.js.map +1 -0
  212. package/lib/module/views/FortuneWheel.js +892 -0
  213. package/lib/module/views/FortuneWheel.js.map +1 -0
  214. package/lib/module/views/Freefall.js +808 -0
  215. package/lib/module/views/Freefall.js.map +1 -0
  216. package/lib/module/views/History.js +366 -0
  217. package/lib/module/views/History.js.map +1 -0
  218. package/lib/module/views/Home.js +554 -0
  219. package/lib/module/views/Home.js.map +1 -0
  220. package/lib/module/views/Jetstream.js +889 -0
  221. package/lib/module/views/Jetstream.js.map +1 -0
  222. package/lib/module/views/Leaderboard.js +1206 -0
  223. package/lib/module/views/Leaderboard.js.map +1 -0
  224. package/lib/module/views/MillionaireHunter.js +1697 -0
  225. package/lib/module/views/MillionaireHunter.js.map +1 -0
  226. package/lib/module/views/Minefield.js +826 -0
  227. package/lib/module/views/Minefield.js.map +1 -0
  228. package/lib/module/views/PaymentWebView.js +546 -0
  229. package/lib/module/views/PaymentWebView.js.map +1 -0
  230. package/lib/module/views/PlayerCard.js +184 -0
  231. package/lib/module/views/PlayerCard.js.map +1 -0
  232. package/lib/module/views/Profile.js +531 -0
  233. package/lib/module/views/Profile.js.map +1 -0
  234. package/lib/module/views/RaffleDraw.js +1242 -0
  235. package/lib/module/views/RaffleDraw.js.map +1 -0
  236. package/lib/module/views/RevealWin.js +1267 -0
  237. package/lib/module/views/RevealWin.js.map +1 -0
  238. package/lib/module/views/Splash.js +363 -0
  239. package/lib/module/views/Splash.js.map +1 -0
  240. package/lib/module/views/Success.js +363 -0
  241. package/lib/module/views/Success.js.map +1 -0
  242. package/lib/module/views/TicketShop.js +372 -0
  243. package/lib/module/views/TicketShop.js.map +1 -0
  244. package/lib/module/views/TriviaLobby.js +582 -0
  245. package/lib/module/views/TriviaLobby.js.map +1 -0
  246. package/lib/module/views/TriviaMaster.js +884 -0
  247. package/lib/module/views/TriviaMaster.js.map +1 -0
  248. package/lib/module/views/Wallet.js +622 -0
  249. package/lib/module/views/Wallet.js.map +1 -0
  250. package/lib/module/views/WithdrawFlow.js +445 -0
  251. package/lib/module/views/WithdrawFlow.js.map +1 -0
  252. package/lib/module/views/gridGeometry.js +26 -0
  253. package/lib/module/views/gridGeometry.js.map +1 -0
  254. package/lib/module/views/revealWinHelpers.js +29 -0
  255. package/lib/module/views/revealWinHelpers.js.map +1 -0
  256. package/lib/module/views/ticketBundlePresets.js +29 -0
  257. package/lib/module/views/ticketBundlePresets.js.map +1 -0
  258. package/lib/module/views/triviaHelpers.js +78 -0
  259. package/lib/module/views/triviaHelpers.js.map +1 -0
  260. package/lib/module/voiceClips.js +16 -0
  261. package/lib/module/voiceClips.js.map +1 -0
  262. package/lib/typescript/package.json +1 -0
  263. package/lib/typescript/src/HapticsManager.d.ts +28 -0
  264. package/lib/typescript/src/HapticsManager.d.ts.map +1 -0
  265. package/lib/typescript/src/HubContent.d.ts +7 -0
  266. package/lib/typescript/src/HubContent.d.ts.map +1 -0
  267. package/lib/typescript/src/Icons.d.ts +14 -0
  268. package/lib/typescript/src/Icons.d.ts.map +1 -0
  269. package/lib/typescript/src/MonflowtsHub.d.ts +5 -0
  270. package/lib/typescript/src/MonflowtsHub.d.ts.map +1 -0
  271. package/lib/typescript/src/NativeLottieView.d.ts +13 -0
  272. package/lib/typescript/src/NativeLottieView.d.ts.map +1 -0
  273. package/lib/typescript/src/NativeSvgView.d.ts +12 -0
  274. package/lib/typescript/src/NativeSvgView.d.ts.map +1 -0
  275. package/lib/typescript/src/NativeWebView.d.ts +22 -0
  276. package/lib/typescript/src/NativeWebView.d.ts.map +1 -0
  277. package/lib/typescript/src/NativeWheelView.d.ts +9 -0
  278. package/lib/typescript/src/NativeWheelView.d.ts.map +1 -0
  279. package/lib/typescript/src/SoundManager.d.ts +29 -0
  280. package/lib/typescript/src/SoundManager.d.ts.map +1 -0
  281. package/lib/typescript/src/SpeechManager.d.ts +10 -0
  282. package/lib/typescript/src/SpeechManager.d.ts.map +1 -0
  283. package/lib/typescript/src/api/client.d.ts +7 -0
  284. package/lib/typescript/src/api/client.d.ts.map +1 -0
  285. package/lib/typescript/src/api/gameTypes.d.ts +326 -0
  286. package/lib/typescript/src/api/gameTypes.d.ts.map +1 -0
  287. package/lib/typescript/src/api/http.d.ts +61 -0
  288. package/lib/typescript/src/api/http.d.ts.map +1 -0
  289. package/lib/typescript/src/api/mutations.d.ts +22 -0
  290. package/lib/typescript/src/api/mutations.d.ts.map +1 -0
  291. package/lib/typescript/src/api/playerTypes.d.ts +53 -0
  292. package/lib/typescript/src/api/playerTypes.d.ts.map +1 -0
  293. package/lib/typescript/src/api/queries.d.ts +21 -0
  294. package/lib/typescript/src/api/queries.d.ts.map +1 -0
  295. package/lib/typescript/src/api/sdkTypes.d.ts +87 -0
  296. package/lib/typescript/src/api/sdkTypes.d.ts.map +1 -0
  297. package/lib/typescript/src/assets/assetKeys.d.ts +3 -0
  298. package/lib/typescript/src/assets/assetKeys.d.ts.map +1 -0
  299. package/lib/typescript/src/assets/assetSync.d.ts +41 -0
  300. package/lib/typescript/src/assets/assetSync.d.ts.map +1 -0
  301. package/lib/typescript/src/assets/nativeAssets.d.ts +30 -0
  302. package/lib/typescript/src/assets/nativeAssets.d.ts.map +1 -0
  303. package/lib/typescript/src/assets/remote.d.ts +8 -0
  304. package/lib/typescript/src/assets/remote.d.ts.map +1 -0
  305. package/lib/typescript/src/components/AbandonPolicyNotice.d.ts +16 -0
  306. package/lib/typescript/src/components/AbandonPolicyNotice.d.ts.map +1 -0
  307. package/lib/typescript/src/components/AnimatedAmount.d.ts +12 -0
  308. package/lib/typescript/src/components/AnimatedAmount.d.ts.map +1 -0
  309. package/lib/typescript/src/components/CoinFlyOverlay.d.ts +17 -0
  310. package/lib/typescript/src/components/CoinFlyOverlay.d.ts.map +1 -0
  311. package/lib/typescript/src/components/GameCharacter.d.ts +14 -0
  312. package/lib/typescript/src/components/GameCharacter.d.ts.map +1 -0
  313. package/lib/typescript/src/components/GameRulesModal.d.ts +10 -0
  314. package/lib/typescript/src/components/GameRulesModal.d.ts.map +1 -0
  315. package/lib/typescript/src/components/HypeCallout.d.ts +11 -0
  316. package/lib/typescript/src/components/HypeCallout.d.ts.map +1 -0
  317. package/lib/typescript/src/components/InsufficientFundsOverlay.d.ts +12 -0
  318. package/lib/typescript/src/components/InsufficientFundsOverlay.d.ts.map +1 -0
  319. package/lib/typescript/src/components/JackpotNearMiss.d.ts +8 -0
  320. package/lib/typescript/src/components/JackpotNearMiss.d.ts.map +1 -0
  321. package/lib/typescript/src/components/JackpotTeaser.d.ts +13 -0
  322. package/lib/typescript/src/components/JackpotTeaser.d.ts.map +1 -0
  323. package/lib/typescript/src/components/MonflowtsButton.d.ts +21 -0
  324. package/lib/typescript/src/components/MonflowtsButton.d.ts.map +1 -0
  325. package/lib/typescript/src/components/MonflowtsChipGroup.d.ts +18 -0
  326. package/lib/typescript/src/components/MonflowtsChipGroup.d.ts.map +1 -0
  327. package/lib/typescript/src/components/MonflowtsPressable.d.ts +39 -0
  328. package/lib/typescript/src/components/MonflowtsPressable.d.ts.map +1 -0
  329. package/lib/typescript/src/components/QuitConfirmModal.d.ts +11 -0
  330. package/lib/typescript/src/components/QuitConfirmModal.d.ts.map +1 -0
  331. package/lib/typescript/src/components/SessionTimer.d.ts +14 -0
  332. package/lib/typescript/src/components/SessionTimer.d.ts.map +1 -0
  333. package/lib/typescript/src/components/SideDemoTab.d.ts +18 -0
  334. package/lib/typescript/src/components/SideDemoTab.d.ts.map +1 -0
  335. package/lib/typescript/src/components/StakeInput.d.ts +16 -0
  336. package/lib/typescript/src/components/StakeInput.d.ts.map +1 -0
  337. package/lib/typescript/src/constants.d.ts +21 -0
  338. package/lib/typescript/src/constants.d.ts.map +1 -0
  339. package/lib/typescript/src/content.d.ts +53 -0
  340. package/lib/typescript/src/content.d.ts.map +1 -0
  341. package/lib/typescript/src/effects/EffectBurst.d.ts +20 -0
  342. package/lib/typescript/src/effects/EffectBurst.d.ts.map +1 -0
  343. package/lib/typescript/src/effects/beaverStates.d.ts +4 -0
  344. package/lib/typescript/src/effects/beaverStates.d.ts.map +1 -0
  345. package/lib/typescript/src/effects/hypePhrases.d.ts +11 -0
  346. package/lib/typescript/src/effects/hypePhrases.d.ts.map +1 -0
  347. package/lib/typescript/src/effects/particleAnims.d.ts +9 -0
  348. package/lib/typescript/src/effects/particleAnims.d.ts.map +1 -0
  349. package/lib/typescript/src/hooks/useAvailableGames.d.ts +14 -0
  350. package/lib/typescript/src/hooks/useAvailableGames.d.ts.map +1 -0
  351. package/lib/typescript/src/hooks/useCrash.d.ts +13 -0
  352. package/lib/typescript/src/hooks/useCrash.d.ts.map +1 -0
  353. package/lib/typescript/src/hooks/useCrashFeed.d.ts +22 -0
  354. package/lib/typescript/src/hooks/useCrashFeed.d.ts.map +1 -0
  355. package/lib/typescript/src/hooks/useCurrency.d.ts +6 -0
  356. package/lib/typescript/src/hooks/useCurrency.d.ts.map +1 -0
  357. package/lib/typescript/src/hooks/useFairSeed.d.ts +8 -0
  358. package/lib/typescript/src/hooks/useFairSeed.d.ts.map +1 -0
  359. package/lib/typescript/src/hooks/useGameEvents.d.ts +50 -0
  360. package/lib/typescript/src/hooks/useGameEvents.d.ts.map +1 -0
  361. package/lib/typescript/src/hooks/useGameHistory.d.ts +14 -0
  362. package/lib/typescript/src/hooks/useGameHistory.d.ts.map +1 -0
  363. package/lib/typescript/src/hooks/useLeaderboard.d.ts +71 -0
  364. package/lib/typescript/src/hooks/useLeaderboard.d.ts.map +1 -0
  365. package/lib/typescript/src/hooks/useMines.d.ts +11 -0
  366. package/lib/typescript/src/hooks/useMines.d.ts.map +1 -0
  367. package/lib/typescript/src/hooks/useNotifications.d.ts +26 -0
  368. package/lib/typescript/src/hooks/useNotifications.d.ts.map +1 -0
  369. package/lib/typescript/src/hooks/usePlayGame.d.ts +62 -0
  370. package/lib/typescript/src/hooks/usePlayGame.d.ts.map +1 -0
  371. package/lib/typescript/src/hooks/usePlinko.d.ts +8 -0
  372. package/lib/typescript/src/hooks/usePlinko.d.ts.map +1 -0
  373. package/lib/typescript/src/hooks/useRaffleDrawState.d.ts +50 -0
  374. package/lib/typescript/src/hooks/useRaffleDrawState.d.ts.map +1 -0
  375. package/lib/typescript/src/hooks/useRefreshWallet.d.ts +8 -0
  376. package/lib/typescript/src/hooks/useRefreshWallet.d.ts.map +1 -0
  377. package/lib/typescript/src/hooks/useResponsive.d.ts +8 -0
  378. package/lib/typescript/src/hooks/useResponsive.d.ts.map +1 -0
  379. package/lib/typescript/src/hooks/useRevealWin.d.ts +10 -0
  380. package/lib/typescript/src/hooks/useRevealWin.d.ts.map +1 -0
  381. package/lib/typescript/src/hooks/useScreenShake.d.ts +14 -0
  382. package/lib/typescript/src/hooks/useScreenShake.d.ts.map +1 -0
  383. package/lib/typescript/src/hooks/useWallet.d.ts +23 -0
  384. package/lib/typescript/src/hooks/useWallet.d.ts.map +1 -0
  385. package/lib/typescript/src/i18n.d.ts +29 -0
  386. package/lib/typescript/src/i18n.d.ts.map +1 -0
  387. package/lib/typescript/src/index.d.ts +12 -0
  388. package/lib/typescript/src/index.d.ts.map +1 -0
  389. package/lib/typescript/src/lottieAnimations.d.ts +2 -0
  390. package/lib/typescript/src/lottieAnimations.d.ts.map +1 -0
  391. package/lib/typescript/src/stores/assetStore.d.ts +17 -0
  392. package/lib/typescript/src/stores/assetStore.d.ts.map +1 -0
  393. package/lib/typescript/src/stores/authStore.d.ts +25 -0
  394. package/lib/typescript/src/stores/authStore.d.ts.map +1 -0
  395. package/lib/typescript/src/stores/gameStore.d.ts +14 -0
  396. package/lib/typescript/src/stores/gameStore.d.ts.map +1 -0
  397. package/lib/typescript/src/stores/sdkInitStore.d.ts +38 -0
  398. package/lib/typescript/src/stores/sdkInitStore.d.ts.map +1 -0
  399. package/lib/typescript/src/stores/settingsStore.d.ts +23 -0
  400. package/lib/typescript/src/stores/settingsStore.d.ts.map +1 -0
  401. package/lib/typescript/src/theme.d.ts +149 -0
  402. package/lib/typescript/src/theme.d.ts.map +1 -0
  403. package/lib/typescript/src/types.d.ts +49 -0
  404. package/lib/typescript/src/types.d.ts.map +1 -0
  405. package/lib/typescript/src/utils/apolloError.d.ts +12 -0
  406. package/lib/typescript/src/utils/apolloError.d.ts.map +1 -0
  407. package/lib/typescript/src/utils/crashMultiplier.d.ts +2 -0
  408. package/lib/typescript/src/utils/crashMultiplier.d.ts.map +1 -0
  409. package/lib/typescript/src/utils/crashMultiplier.test.d.ts +2 -0
  410. package/lib/typescript/src/utils/crashMultiplier.test.d.ts.map +1 -0
  411. package/lib/typescript/src/utils/deviceAnalytics.d.ts +3 -0
  412. package/lib/typescript/src/utils/deviceAnalytics.d.ts.map +1 -0
  413. package/lib/typescript/src/utils/idempotency.d.ts +14 -0
  414. package/lib/typescript/src/utils/idempotency.d.ts.map +1 -0
  415. package/lib/typescript/src/utils/layout.d.ts +10 -0
  416. package/lib/typescript/src/utils/layout.d.ts.map +1 -0
  417. package/lib/typescript/src/utils/safeInlineScript.d.ts +5 -0
  418. package/lib/typescript/src/utils/safeInlineScript.d.ts.map +1 -0
  419. package/lib/typescript/src/utils/sseClient.d.ts +5 -0
  420. package/lib/typescript/src/utils/sseClient.d.ts.map +1 -0
  421. package/lib/typescript/src/views/DepositSelect.d.ts +9 -0
  422. package/lib/typescript/src/views/DepositSelect.d.ts.map +1 -0
  423. package/lib/typescript/src/views/Dice.d.ts +10 -0
  424. package/lib/typescript/src/views/Dice.d.ts.map +1 -0
  425. package/lib/typescript/src/views/DiceBattle.d.ts +15 -0
  426. package/lib/typescript/src/views/DiceBattle.d.ts.map +1 -0
  427. package/lib/typescript/src/views/DiceLobby.d.ts +12 -0
  428. package/lib/typescript/src/views/DiceLobby.d.ts.map +1 -0
  429. package/lib/typescript/src/views/FortuneWheel.d.ts +13 -0
  430. package/lib/typescript/src/views/FortuneWheel.d.ts.map +1 -0
  431. package/lib/typescript/src/views/Freefall.d.ts +13 -0
  432. package/lib/typescript/src/views/Freefall.d.ts.map +1 -0
  433. package/lib/typescript/src/views/History.d.ts +7 -0
  434. package/lib/typescript/src/views/History.d.ts.map +1 -0
  435. package/lib/typescript/src/views/Home.d.ts +13 -0
  436. package/lib/typescript/src/views/Home.d.ts.map +1 -0
  437. package/lib/typescript/src/views/Jetstream.d.ts +14 -0
  438. package/lib/typescript/src/views/Jetstream.d.ts.map +1 -0
  439. package/lib/typescript/src/views/Leaderboard.d.ts +8 -0
  440. package/lib/typescript/src/views/Leaderboard.d.ts.map +1 -0
  441. package/lib/typescript/src/views/MillionaireHunter.d.ts +13 -0
  442. package/lib/typescript/src/views/MillionaireHunter.d.ts.map +1 -0
  443. package/lib/typescript/src/views/Minefield.d.ts +13 -0
  444. package/lib/typescript/src/views/Minefield.d.ts.map +1 -0
  445. package/lib/typescript/src/views/PaymentWebView.d.ts +29 -0
  446. package/lib/typescript/src/views/PaymentWebView.d.ts.map +1 -0
  447. package/lib/typescript/src/views/PlayerCard.d.ts +15 -0
  448. package/lib/typescript/src/views/PlayerCard.d.ts.map +1 -0
  449. package/lib/typescript/src/views/Profile.d.ts +9 -0
  450. package/lib/typescript/src/views/Profile.d.ts.map +1 -0
  451. package/lib/typescript/src/views/RaffleDraw.d.ts +12 -0
  452. package/lib/typescript/src/views/RaffleDraw.d.ts.map +1 -0
  453. package/lib/typescript/src/views/RevealWin.d.ts +13 -0
  454. package/lib/typescript/src/views/RevealWin.d.ts.map +1 -0
  455. package/lib/typescript/src/views/Splash.d.ts +10 -0
  456. package/lib/typescript/src/views/Splash.d.ts.map +1 -0
  457. package/lib/typescript/src/views/Success.d.ts +12 -0
  458. package/lib/typescript/src/views/Success.d.ts.map +1 -0
  459. package/lib/typescript/src/views/TicketShop.d.ts +15 -0
  460. package/lib/typescript/src/views/TicketShop.d.ts.map +1 -0
  461. package/lib/typescript/src/views/TriviaLobby.d.ts +12 -0
  462. package/lib/typescript/src/views/TriviaLobby.d.ts.map +1 -0
  463. package/lib/typescript/src/views/TriviaMaster.d.ts +16 -0
  464. package/lib/typescript/src/views/TriviaMaster.d.ts.map +1 -0
  465. package/lib/typescript/src/views/Wallet.d.ts +10 -0
  466. package/lib/typescript/src/views/Wallet.d.ts.map +1 -0
  467. package/lib/typescript/src/views/WithdrawFlow.d.ts +9 -0
  468. package/lib/typescript/src/views/WithdrawFlow.d.ts.map +1 -0
  469. package/lib/typescript/src/views/gridGeometry.d.ts +19 -0
  470. package/lib/typescript/src/views/gridGeometry.d.ts.map +1 -0
  471. package/lib/typescript/src/views/revealWinHelpers.d.ts +15 -0
  472. package/lib/typescript/src/views/revealWinHelpers.d.ts.map +1 -0
  473. package/lib/typescript/src/views/ticketBundlePresets.d.ts +18 -0
  474. package/lib/typescript/src/views/ticketBundlePresets.d.ts.map +1 -0
  475. package/lib/typescript/src/views/triviaHelpers.d.ts +31 -0
  476. package/lib/typescript/src/views/triviaHelpers.d.ts.map +1 -0
  477. package/lib/typescript/src/voiceClips.d.ts +4 -0
  478. package/lib/typescript/src/voiceClips.d.ts.map +1 -0
  479. package/package.json +160 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gameTypes.d.ts","sourceRoot":"","sources":["../../../../src/api/gameTypes.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,QAAQ,GAChB,oBAAoB,GACpB,WAAW,GACX,aAAa,GACb,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,QAAQ,GACR,OAAO,GACP,OAAO,CAAC;AAEZ,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AACxC,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,GAAG,SAAS,GAAG,aAAa,CAAC;AACrE,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,aAAa,GACb,WAAW,GACX,SAAS,GACT,WAAW,CAAC;AAChB,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC;AAIvE,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,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E,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Minimal axios-like HTTP client built on XMLHttpRequest.
3
+ *
4
+ * Why this exists:
5
+ * - We want axios's ergonomics (`.get`/`.post`/`.request`, default 2xx-only
6
+ * success, error objects that carry `.response`/`.config`/`.status`)
7
+ * without the runtime dependency.
8
+ * - We need an `onResponseStart` hook — fired the moment the server sends
9
+ * headers/the first byte — so the splash screen can advance from
10
+ * CONNECTING to CONNECTED. Plain `fetch` can't expose that signal.
11
+ *
12
+ * Works in browsers and React Native (both ship XMLHttpRequest).
13
+ */
14
+ export interface HttpRequestConfig {
15
+ url?: string;
16
+ method?: string;
17
+ baseURL?: string;
18
+ headers?: Record<string, string>;
19
+ /** Request body. Strings are sent as-is; objects are JSON-stringified. */
20
+ data?: string | Record<string, unknown> | null;
21
+ signal?: AbortSignal | null;
22
+ /** Request deadline in milliseconds. Defaults to 30 seconds; 0 disables it. */
23
+ timeoutMs?: number;
24
+ /** Default: accept 2xx. Return false to reject with HttpError. */
25
+ validateStatus?: (status: number) => boolean;
26
+ /** Fired exactly once, when the server's response headers/first byte arrive. */
27
+ onResponseStart?: () => void;
28
+ }
29
+ export interface HttpResponse<T = string> {
30
+ data: T;
31
+ status: number;
32
+ statusText: string;
33
+ headers: Record<string, string>;
34
+ config: HttpRequestConfig;
35
+ }
36
+ export declare class HttpError<T = string> extends Error {
37
+ readonly isHttpError = true;
38
+ readonly config: HttpRequestConfig;
39
+ readonly code: string | undefined;
40
+ readonly response: HttpResponse<T> | undefined;
41
+ constructor(message: string, config: HttpRequestConfig, code?: string, response?: HttpResponse<T>);
42
+ get status(): number | undefined;
43
+ }
44
+ declare function request<T = string>(config: HttpRequestConfig): Promise<HttpResponse<T>>;
45
+ type WithoutMethod<C> = Omit<C, 'method'>;
46
+ type WithoutMethodAndUrl<C> = Omit<C, 'method' | 'url'>;
47
+ type WithoutMethodUrlAndData<C> = Omit<C, 'method' | 'url' | 'data'>;
48
+ export declare const http: {
49
+ request: typeof request;
50
+ get<T = string>(url: string, config?: WithoutMethodAndUrl<HttpRequestConfig>): Promise<HttpResponse<T>>;
51
+ delete<T = string>(url: string, config?: WithoutMethodAndUrl<HttpRequestConfig>): Promise<HttpResponse<T>>;
52
+ head<T = string>(url: string, config?: WithoutMethodAndUrl<HttpRequestConfig>): Promise<HttpResponse<T>>;
53
+ options<T = string>(url: string, config?: WithoutMethodAndUrl<HttpRequestConfig>): Promise<HttpResponse<T>>;
54
+ post<T = string>(url: string, data?: HttpRequestConfig["data"], config?: WithoutMethodUrlAndData<HttpRequestConfig>): Promise<HttpResponse<T>>;
55
+ put<T = string>(url: string, data?: HttpRequestConfig["data"], config?: WithoutMethodUrlAndData<HttpRequestConfig>): Promise<HttpResponse<T>>;
56
+ patch<T = string>(url: string, data?: HttpRequestConfig["data"], config?: WithoutMethodUrlAndData<HttpRequestConfig>): Promise<HttpResponse<T>>;
57
+ };
58
+ export type Http = typeof http;
59
+ export default http;
60
+ export type { WithoutMethod, WithoutMethodAndUrl, WithoutMethodUrlAndData };
61
+ //# sourceMappingURL=http.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../src/api/http.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AAEH,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,0EAA0E;IAC1E,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAC/C,MAAM,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC5B,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC;IAC7C,gFAAgF;IAChF,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,MAAM;IACtC,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED,qBAAa,SAAS,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,KAAK;IAC9C,QAAQ,CAAC,WAAW,QAAQ;IAC5B,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,G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Ae,IAAI,CAAC;AAGpB,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,CAAC"}
@@ -0,0 +1,22 @@
1
+ export declare const PLAYER_INIT_SESSION: import("graphql").DocumentNode;
2
+ export declare const PLAYER_REALTIME_TICKET: import("graphql").DocumentNode;
3
+ export declare const PLAY: import("graphql").DocumentNode;
4
+ export declare const INIT_PLAY: import("graphql").DocumentNode;
5
+ export declare const FAST_FINGER_START: import("graphql").DocumentNode;
6
+ export declare const FAST_FINGER_ANSWER: import("graphql").DocumentNode;
7
+ export declare const FAST_FINGER_FORFEIT: import("graphql").DocumentNode;
8
+ export declare const RAFFLE_PURCHASE_ENTRY: import("graphql").DocumentNode;
9
+ export declare const REVEAL_WIN_START_ROUND: import("graphql").DocumentNode;
10
+ export declare const REVEAL_TILE: import("graphql").DocumentNode;
11
+ export declare const PLAY_PLINKO: import("graphql").DocumentNode;
12
+ export declare const MINES_START: import("graphql").DocumentNode;
13
+ export declare const MINES_REVEAL: import("graphql").DocumentNode;
14
+ export declare const MINES_CASHOUT: import("graphql").DocumentNode;
15
+ export declare const CRASH_BET: import("graphql").DocumentNode;
16
+ export declare const CRASH_CASHOUT: import("graphql").DocumentNode;
17
+ export declare const ROTATE_FAIR_SEED: import("graphql").DocumentNode;
18
+ export declare const PLAYER_LOGOUT: import("graphql").DocumentNode;
19
+ export declare const INITIALIZE_DEPOSIT: import("graphql").DocumentNode;
20
+ export declare const COMPLETE_DEPOSIT: import("graphql").DocumentNode;
21
+ export declare const REQUEST_WITHDRAWAL: import("graphql").DocumentNode;
22
+ //# sourceMappingURL=mutations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../../../src/api/mutations.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,gCAkD/B,CAAC;AAEF,eAAO,MAAM,sBAAsB,gCAOlC,CAAC;AAIF,eAAO,MAAM,IAAI,gCAWhB,CAAC;AAIF,eAAO,MAAM,SAAS,gCASrB,CAAC;AAIF,eAAO,MAAM,iBAAiB,gCAgB7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,gCAuB9B,CAAC;AAEF,eAAO,MAAM,mBAAmB,gCAY/B,CAAC;AAIF,eAAO,MAAM,qBAAqB,gCAYjC,CAAC;AAEF,eAAO,MAAM,sBAAsB,gCAoBlC,CAAC;AAEF,eAAO,MAAM,WAAW,gCAoBvB,CAAC;AAIF,eAAO,MAAM,WAAW,gCAiBvB,CAAC;AAuBF,eAAO,MAAM,WAAW,gCAIvB,CAAC;AAEF,eAAO,MAAM,YAAY,gCAIxB,CAAC;AAEF,eAAO,MAAM,aAAa,gCAIzB,CAAC;AAoBF,eAAO,MAAM,SAAS,gCAIrB,CAAC;AAEF,eAAO,MAAM,aAAa,gCAIzB,CAAC;AAIF,eAAO,MAAM,gBAAgB,gCAS5B,CAAC;AAIF,eAAO,MAAM,aAAa,gCAIzB,CAAC;AAIF,eAAO,MAAM,kBAAkB,gCAU9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCAgB5B,CAAC;AAIF,eAAO,MAAM,kBAAkB,gCAS9B,CAAC"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Player and wallet types — mirrors GQL server engine types
3
+ */
4
+ export type PlayerStatus = 'ACTIVE' | 'SUSPENDED' | 'BANNED';
5
+ export type WalletStatus = 'ACTIVE' | 'FROZEN';
6
+ export type TransactionType = 'CREDIT' | 'DEBIT';
7
+ export type TransactionSource = 'GAME_PLAY' | 'GAME_WIN' | 'FUND' | 'WITHDRAWAL' | 'REFUND' | 'BONUS';
8
+ export interface Player {
9
+ id: string;
10
+ providerUserId: string;
11
+ msisdn?: string | null;
12
+ externalPlayerId?: string | null;
13
+ channel: string;
14
+ displayName: string;
15
+ firstName?: string | null;
16
+ lastName?: string | null;
17
+ email?: string | null;
18
+ status: PlayerStatus;
19
+ lastPlayedAt?: string | null;
20
+ totalPlays: number;
21
+ totalWins: number;
22
+ createdAt: string;
23
+ updatedAt: string;
24
+ wallet?: PlayerWallet | null;
25
+ payoutAccountNo?: string | null;
26
+ payoutAccountName?: string | null;
27
+ }
28
+ export interface PlayerWallet {
29
+ id: string;
30
+ balanceKobo: number;
31
+ totalCreditedKobo: number;
32
+ totalDebitedKobo: number;
33
+ currency: string;
34
+ status: WalletStatus;
35
+ }
36
+ export interface WalletTransaction {
37
+ id: string;
38
+ type: TransactionType;
39
+ amountKobo: number;
40
+ balanceBefore: number;
41
+ balanceAfter: number;
42
+ reference: string;
43
+ description: string;
44
+ source: TransactionSource;
45
+ sourceId?: string | null;
46
+ createdAt: string;
47
+ }
48
+ export interface PlayerAuthResult {
49
+ token: string;
50
+ player: Player;
51
+ isNewPlayer: boolean;
52
+ }
53
+ //# sourceMappingURL=playerTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"playerTypes.d.ts","sourceRoot":"","sources":["../../../../src/api/playerTypes.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,WAAW,GAAG,QAAQ,CAAC;AAC7D,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAC/C,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAC;AACjD,MAAM,MAAM,iBAAiB,GACzB,WAAW,GACX,UAAU,GACV,MAAM,GACN,YAAY,GACZ,QAAQ,GACR,OAAO,CAAC;AAEZ,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,YAAY,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,YAAY,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,eAAe,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,iBAAiB,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;CACtB"}
@@ -0,0 +1,21 @@
1
+ export declare const PLAYER_WALLET: import("graphql").DocumentNode;
2
+ export declare const PLAYER_AVAILABLE_GAMES: import("graphql").DocumentNode;
3
+ export declare const PLAYER_GAME_HISTORY: import("graphql").DocumentNode;
4
+ export declare const PLAYER_WALLET_TRANSACTIONS: import("graphql").DocumentNode;
5
+ export declare const QUIZ_CATEGORIES: import("graphql").DocumentNode;
6
+ export declare const GET_ACTIVE_LEADERBOARD_RAFFLE: import("graphql").DocumentNode;
7
+ export declare const GET_PUBLIC_LEADERBOARD: import("graphql").DocumentNode;
8
+ export declare const GET_MY_LEADERBOARD_POSITION: import("graphql").DocumentNode;
9
+ export declare const GET_LEADERBOARD_RAFFLE_HISTORY: import("graphql").DocumentNode;
10
+ export declare const REVEAL_WIN_ACTIVE_ROUND: import("graphql").DocumentNode;
11
+ export declare const MINES_ACTIVE_ROUND: import("graphql").DocumentNode;
12
+ export declare const CRASH_ACTIVE_ROUND: import("graphql").DocumentNode;
13
+ export declare const CRASH_ROUND_STATUS: import("graphql").DocumentNode;
14
+ export declare const PLAYER_SOUND_ENABLED: import("graphql").DocumentNode;
15
+ export declare const FAIR_SEED_STATE: import("graphql").DocumentNode;
16
+ export declare const GET_RAFFLE_DRAW_STATE: import("graphql").DocumentNode;
17
+ export declare const GET_MY_NOTIFICATIONS: import("graphql").DocumentNode;
18
+ export declare const MARK_NOTIFICATION_READ: import("graphql").DocumentNode;
19
+ export declare const SDK_INIT: import("graphql").DocumentNode;
20
+ export declare const SDK_DICTIONARY: import("graphql").DocumentNode;
21
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/api/queries.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa,gCAWzB,CAAC;AAIF,eAAO,MAAM,sBAAsB,gCA2BlC,CAAC;AAIF,eAAO,MAAM,mBAAmB,gCA4B/B,CAAC;AAIF,eAAO,MAAM,0BAA0B,gCAuBtC,CAAC;AAIF,eAAO,MAAM,eAAe,gCAQ3B,CAAC;AAMF,eAAO,MAAM,6BAA6B,gCAqCzC,CAAC;AAEF,eAAO,MAAM,sBAAsB,gCAkBlC,CAAC;AAEF,eAAO,MAAM,2BAA2B,gCAQvC,CAAC;AAGF,eAAO,MAAM,8BAA8B,gCAiB1C,CAAC;AAEF,eAAO,MAAM,uBAAuB,gCAoBnC,CAAC;AAIF,eAAO,MAAM,kBAAkB,gCAqB9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,gCAkB9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,gCAkB9B,CAAC;AAEF,eAAO,MAAM,oBAAoB,gCAIhC,CAAC;AAEF,eAAO,MAAM,eAAe,gCAQ3B,CAAC;AAKF,eAAO,MAAM,qBAAqB,gCA2BjC,CAAC;AAIF,eAAO,MAAM,oBAAoB,gCAWhC,CAAC;AAEF,eAAO,MAAM,sBAAsB,gCAIlC,CAAC;AAEF,eAAO,MAAM,QAAQ,gCA6BpB,CAAC;AAEF,eAAO,MAAM,cAAc,gCAU1B,CAAC"}
@@ -0,0 +1,87 @@
1
+ /**
2
+ * SDK Configuration & Public Types
3
+ */
4
+ export interface MonflowtsConfig {
5
+ /** GraphQL API URL (e.g. "https://api.example.com/graphql") */
6
+ apiUrl: string;
7
+ /** External auth token from the host app's auth provider */
8
+ externalToken: string;
9
+ projectId: string;
10
+ language: string;
11
+ mToken?: string;
12
+ /** Optional REST API base URL used for authenticated realtime wallet/game events. */
13
+ realtimeUrl?: string;
14
+ /** Optional theme overrides */
15
+ theme?: Partial<MonflowtsTheme>;
16
+ /** Called when user taps "Exit" or back from root screen */
17
+ onExit?: () => void;
18
+ /** Called on unrecoverable errors */
19
+ onError?: (error: MonflowtsError | string) => void;
20
+ /** Called when user requests a deposit (host app handles actual payment) */
21
+ onDepositRequested?: () => void;
22
+ /** Called when user requests a withdrawal (host app handles actual payment) */
23
+ onWithdrawRequested?: () => void;
24
+ /**
25
+ * Suppress all button/UI sound effects across the SDK.
26
+ * Default `false` — sounds play on press.
27
+ */
28
+ disableSound?: boolean;
29
+ /**
30
+ * Initial value for the haptic-feedback toggle. Default `false` (off).
31
+ *
32
+ * This only seeds the user-facing toggle on first launch — the user can
33
+ * flip it from Profile → Settings, and once they do their preference
34
+ * wins for the rest of the session.
35
+ *
36
+ * Requires the host app to grant `android.permission.VIBRATE` (declared
37
+ * in the SDK's AndroidManifest, so manifest merging handles this
38
+ * automatically for most hosts).
39
+ */
40
+ enableHaptic?: boolean;
41
+ }
42
+ export type MonflowtsErrorCode = 'PROJECT_UNAVAILABLE' | 'LANGUAGE_UNAVAILABLE' | 'LANGUAGE_INCOMPLETE' | 'INIT_FAILED' | 'LOADING_ASSETS_FAILED' | 'DICTIONARY_FAILED' | 'MISSING_TRANSLATION';
43
+ export interface MonflowtsError extends Error {
44
+ code?: MonflowtsErrorCode;
45
+ key?: string;
46
+ }
47
+ export interface MonflowtsTheme {
48
+ colors: MonflowtsThemeColors;
49
+ }
50
+ export interface MonflowtsThemeColors {
51
+ background: string;
52
+ surface: string;
53
+ primary: string;
54
+ secondary: string;
55
+ accent: string;
56
+ success: string;
57
+ error: string;
58
+ warning: string;
59
+ textPrimary: string;
60
+ textSecondary: string;
61
+ textMuted: string;
62
+ border: string;
63
+ gold: string;
64
+ }
65
+ export interface AnalyticsContextInput {
66
+ ipAddress?: string;
67
+ latitude?: number;
68
+ longitude?: number;
69
+ region?: string;
70
+ state?: string;
71
+ city?: string;
72
+ lga?: string;
73
+ country?: string;
74
+ timezone?: string;
75
+ networkProvider?: string;
76
+ deviceType?: string;
77
+ os?: string;
78
+ osVersion?: string;
79
+ appVersion?: string;
80
+ sdkVersion?: string;
81
+ deviceModel?: string;
82
+ screenResolution?: string;
83
+ networkType?: string;
84
+ sessionId?: string;
85
+ entrySource?: string;
86
+ }
87
+ //# sourceMappingURL=sdkTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdkTypes.d.ts","sourceRoot":"","sources":["../../../../src/api/sdkTypes.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,eAAe;IAC9B,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IAE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IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,3 @@
1
+ export declare const ASSET_KEYS: readonly ["lottie/beaver_bend", "lottie/beaver_die", "lottie/beaver_dig", "lottie/beaver_dig_explode", "lottie/beaver_dig_win", "lottie/beaver_walk", "lottie/beaver_walk_down", "lottie/beaver_walk_right", "lottie/beaver_walk_up", "lottie/dice_flip", "lottie/fortune_wheel", "lottie/freefall", "lottie/fx_blast_burst_1", "lottie/fx_blast_burst_2", "lottie/fx_blast_burst_3", "lottie/fx_coin_burst_1", "lottie/fx_coin_burst_2", "lottie/fx_coin_burst_3", "lottie/fx_confetti", "lottie/fx_dirt_burst_1", "lottie/fx_dirt_burst_2", "lottie/fx_dirt_burst_3", "lottie/fx_dust", "lottie/fx_gem_sparkle_1", "lottie/fx_gem_sparkle_2", "lottie/fx_gem_sparkle_3", "lottie/fx_smoke_poof_1", "lottie/fx_smoke_poof_2", "lottie/fx_smoke_poof_3", "lottie/fx_spark_burst_1", "lottie/fx_spark_burst_2", "lottie/fx_spark_burst_3", "lottie/golden_ticket", "lottie/jet_exploding", "lottie/jet_flying", "lottie/jet_winning", "lottie/jetstream", "lottie/minefield", "lottie/monflowts_logo", "lottie/quiz", "lottie/reveal_and_win", "lottie/treasure", "images/avatar", "images/chest", "images/dice", "images/golden_tickets", "images/oracle", "images/raffle_drum", "images/raffle_sphere", "images/ticket", "images/ticket_bundle", "images/treasure_map", "images/trivia", "images/wheel", "voice/crash_bigwin_1", "voice/crash_bigwin_2", "voice/crash_loss_1", "voice/crash_loss_2", "voice/crash_loss_3", "voice/crash_loss_4", "voice/crash_tense_1", "voice/crash_tense_2", "voice/crash_tense_3", "voice/crash_win_1", "voice/crash_win_2", "voice/crash_win_3", "voice/dice_bigwin_1", "voice/dice_loss_1", "voice/dice_loss_2", "voice/dice_win_1", "voice/dice_win_2", "voice/hunter_bigwin_1", "voice/hunter_loss_1", "voice/hunter_loss_2", "voice/hunter_win_1", "voice/hunter_win_2", "voice/mines_bigwin_1", "voice/mines_bigwin_2", "voice/mines_loss_1", "voice/mines_loss_2", "voice/mines_loss_3", "voice/mines_loss_4", "voice/mines_streak_1", "voice/mines_streak_2", "voice/mines_streak_3", "voice/mines_win_1", "voice/mines_win_2", "voice/mines_win_3", "voice/plinko_bigwin_1", "voice/plinko_bigwin_2", "voice/plinko_loss_1", "voice/plinko_loss_2", "voice/plinko_loss_3", "voice/plinko_loss_4", "voice/plinko_win_1", "voice/plinko_win_2", "voice/plinko_win_3", "voice/raffle_bigwin_1", "voice/raffle_loss_1", "voice/raffle_loss_2", "voice/raffle_win_1", "voice/raffle_win_2", "voice/reveal_bigwin_1", "voice/reveal_loss_1", "voice/reveal_loss_2", "voice/reveal_win_1", "voice/reveal_win_2", "voice/sfx_applause_long", "voice/sfx_applause_short", "voice/sfx_applause_whistle", "voice/sfx_aww_long", "voice/sfx_aww_soft", "voice/sfx_bell_run", "voice/sfx_big_roar", "voice/sfx_cheer_med", "voice/sfx_cheer_short", "voice/sfx_cheer_yeah", "voice/sfx_claps_rhythm", "voice/sfx_confetti_fanfare", "voice/sfx_crowd_rising", "voice/sfx_ding_cheer", "voice/sfx_drum_finale", "voice/sfx_firework_cheer", "voice/sfx_gasp_aww", "voice/sfx_groan_short", "voice/sfx_hey_chant", "voice/sfx_near_miss_ding", "voice/sfx_ohh_crowd", "voice/sfx_party_horn", "voice/sfx_roar_long", "voice/sfx_sigh_claps", "voice/sfx_whistle_cheer", "voice/sfx_woo_crowd", "voice/sfx_woo_long", "voice/trivia_bigwin_1", "voice/trivia_loss_1", "voice/trivia_loss_2", "voice/trivia_win_1", "voice/trivia_win_2", "voice/wheel_bigwin_1", "voice/wheel_loss_1", "voice/wheel_loss_2", "voice/wheel_win_1", "voice/wheel_win_2", "data/animations", "data/effects", "data/games", "data/hype", "data/icons", "data/messages", "data/sounds", "data/theme", "data/wallet"];
2
+ export type AssetKey = (typeof ASSET_KEYS)[number];
3
+ //# sourceMappingURL=assetKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetKeys.d.ts","sourceRoot":"","sources":["../../../../src/assets/assetKeys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,85GA0Jb,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -0,0 +1,41 @@
1
+ import type { AssetFailureReason, AssetProgress, NativeDownloadFile } from './nativeAssets';
2
+ export type AssetType = 'lottie' | 'image' | 'audio' | 'data';
3
+ export interface BundleFile {
4
+ key: string;
5
+ type: AssetType;
6
+ sha256: string;
7
+ size: number;
8
+ ext: string;
9
+ url: string;
10
+ }
11
+ export interface AssetBundle {
12
+ version: number;
13
+ totalBytes: number;
14
+ expiresAt: string;
15
+ files: BundleFile[];
16
+ }
17
+ export interface IndexEntry {
18
+ sha256: string;
19
+ ext: string;
20
+ type: AssetType;
21
+ }
22
+ export interface LocalIndex {
23
+ version: number;
24
+ files: Record<string, IndexEntry>;
25
+ }
26
+ export declare const DOWNLOAD_FAILED_KEY = "loading.error.assetsDownload";
27
+ export declare const NOT_PUBLISHED_KEY = "loading.error.assetsUnavailable";
28
+ export declare function fileName(entry: {
29
+ sha256: string;
30
+ ext: string;
31
+ }): string;
32
+ export declare function parseIndex(json: string | null): LocalIndex | null;
33
+ export declare function indexFromBundle(bundle: AssetBundle): LocalIndex;
34
+ export declare function indexFileNames(index: LocalIndex): string[];
35
+ export declare function coversKeys(index: LocalIndex, keys: readonly string[]): boolean;
36
+ export declare function toNativeFiles(bundle: AssetBundle): NativeDownloadFile[];
37
+ export declare function failureMessage(failures: ReadonlyArray<{
38
+ reason: AssetFailureReason;
39
+ }>, totalBytes: number): string;
40
+ export declare function downloadPercent(progress: AssetProgress | null): number | null;
41
+ //# sourceMappingURL=assetSync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assetSync.d.ts","sourceRoot":"","sources":["../../../../src/assets/assetSync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAG5F,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9D,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,E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7E"}
@@ -0,0 +1,30 @@
1
+ export type AssetFailureReason = 'HASH_MISMATCH' | 'EXPIRED' | 'NO_SPACE' | 'NETWORK';
2
+ export interface NativeDownloadFile {
3
+ url: string;
4
+ sha256: string;
5
+ ext: string;
6
+ size: number;
7
+ }
8
+ export interface NativeDownloadFailure {
9
+ sha256: string;
10
+ reason: AssetFailureReason;
11
+ }
12
+ export interface AssetProgress {
13
+ bytesDone: number;
14
+ bytesTotal: number;
15
+ filesDone: number;
16
+ filesTotal: number;
17
+ }
18
+ export declare const nativeAssets: {
19
+ getBaseUri: () => Promise<string>;
20
+ download: (files: NativeDownloadFile[]) => Promise<{
21
+ failed: NativeDownloadFailure[];
22
+ }>;
23
+ readText: (name: string) => Promise<string>;
24
+ missing: (names: string[]) => Promise<string[]>;
25
+ saveIndex: (json: string) => Promise<null>;
26
+ loadIndex: () => Promise<string | null>;
27
+ removeExcept: (names: string[]) => Promise<null>;
28
+ onProgress(listener: (progress: AssetProgress) => void): () => void;
29
+ };
30
+ //# sourceMappingURL=nativeAssets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nativeAssets.d.ts","sourceRoot":"","sources":["../../../../src/assets/nativeAssets.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAEtF,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,kBAAkB,CAAC;CAC5B;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAqBD,eAAO,MAAM,YAAY;;sBAEL,kBAAkB,EAAE;gBAnBmB,qBAAqB,EAAE;;qBAoB/D,MAAM;qBACN,MAAM,EAAE;sBACP,MAAM;;0BAEF,MAAM,EAAE;yBACT,CAAC,QAAQ,EAAE,aAAa,KAAK,IAAI,GAAG,MAAM,IAAI;CAQpE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { AssetKey } from './assetKeys';
2
+ export declare function lottie(key: AssetKey): string;
3
+ export declare function data<T>(key: AssetKey): T;
4
+ export declare function image(key: AssetKey): {
5
+ uri: string;
6
+ };
7
+ export declare function voiceUrl(key: string): string | null;
8
+ //# sourceMappingURL=remote.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../../../../src/assets/remote.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAW5C,wBAAgB,MAAM,CAAC,GAAG,EAAE,QAAQ,GAAG,MAAM,CAE5C;AAID,wBAAgB,IAAI,CAAC,CAAC,EAAE,GAAG,EAAE,QAAQ,GAAG,CAAC,CAQxC;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,QAAQ,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,CAQpD;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAEnD"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { type ViewStyle } from 'react-native';
3
+ import type { AbandonPolicy } from '../api/gameTypes';
4
+ interface AbandonPolicyNoticeProps {
5
+ abandonPolicy: AbandonPolicy | null | undefined;
6
+ style?: ViewStyle;
7
+ }
8
+ /**
9
+ * Slick animated banner informing the player about the abandon policy
10
+ * before they start a game. Shows timeout and penalty info.
11
+ *
12
+ * Only renders when abandonPolicy is enabled.
13
+ */
14
+ declare const AbandonPolicyNotice: React.FC<AbandonPolicyNoticeProps>;
15
+ export default AbandonPolicyNotice;
16
+ //# sourceMappingURL=AbandonPolicyNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AbandonPolicyNotice.d.ts","sourceRoot":"","sources":["../../../../src/components/AbandonPolicyNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGhF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,UAAU,wBAAwB;IAChC,aAAa,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED;;;;;GAKG;AACH,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAyG3D,CAAC;AAgFF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { type StyleProp, type TextStyle } from 'react-native';
3
+ interface AnimatedAmountProps {
4
+ value: number;
5
+ prefix?: string;
6
+ suffix?: string;
7
+ durationMs?: number;
8
+ style?: StyleProp<TextStyle>;
9
+ }
10
+ declare const AnimatedAmount: React.FC<AnimatedAmountProps>;
11
+ export default AnimatedAmount;
12
+ //# sourceMappingURL=AnimatedAmount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedAmount.d.ts","sourceRoot":"","sources":["../../../../src/components/AnimatedAmount.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG9E,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAqBjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { Animated } from 'react-native';
3
+ export interface CoinFlyHandle {
4
+ /** Fire coins from (sx, sy) → balance pill. Call after measureTarget(). */
5
+ fly: (sx: number, sy: number, onComplete?: () => void) => void;
6
+ /** Measure the balance-pill target position. Attach ref to pill via targetRef. */
7
+ measureTarget: () => void;
8
+ }
9
+ export interface CoinFlyOverlayProps {
10
+ /** Ref to attach to the balance pill / target element */
11
+ targetRef: React.RefObject<any>;
12
+ /** Optional pulse animation value — will be pulsed when coins land */
13
+ balancePulse?: Animated.Value;
14
+ }
15
+ declare const CoinFlyOverlay: React.ForwardRefExoticComponent<CoinFlyOverlayProps & React.RefAttributes<CoinFlyHandle>>;
16
+ export default CoinFlyOverlay;
17
+ //# sourceMappingURL=CoinFlyOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoinFlyOverlay.d.ts","sourceRoot":"","sources":["../../../../src/components/CoinFlyOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyE,MAAM,OAAO,CAAC;AAC9F,OAAO,EAAoB,QAAQ,EAAE,MAAM,cAAc,CAAC;AAgB1D,MAAM,WAAW,aAAa;IAC1B,2EAA2E;IAC3E,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC/D,kFAAkF;IAClF,aAAa,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,mBAAmB;IAChC,yDAAyD;IACzD,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAChC,sEAAsE;IACtE,YAAY,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC;CACjC;AAED,QAAA,MAAM,cAAc,2FA2JnB,CAAC;AAeF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { type StyleProp, type ViewStyle } from 'react-native';
3
+ interface GameCharacterProps {
4
+ states: Record<string, string | null | undefined>;
5
+ state: string;
6
+ size: number;
7
+ loop?: boolean;
8
+ speed?: number;
9
+ style?: StyleProp<ViewStyle>;
10
+ fallback?: React.ReactNode;
11
+ }
12
+ declare const GameCharacter: React.FC<GameCharacterProps>;
13
+ export default GameCharacter;
14
+ //# sourceMappingURL=GameCharacter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GameCharacter.d.ts","sourceRoot":"","sources":["../../../../src/components/GameCharacter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpE,UAAU,kBAAkB;IAC1B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiB/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { GameCode } from '../api/gameTypes';
3
+ interface GameRulesModalProps {
4
+ visible: boolean;
5
+ onClose: () => void;
6
+ gameCode: GameCode;
7
+ }
8
+ declare const GameRulesModal: React.FC<GameRulesModalProps>;
9
+ export default GameRulesModal;
10
+ //# sourceMappingURL=GameRulesModal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GameRulesModal.d.ts","sourceRoot":"","sources":["../../../../src/components/GameRulesModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAOjD,UAAU,mBAAmB;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,QAAQ,CAAC;CACtB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAyEjD,CAAC;AAmKF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type StyleProp, type ViewStyle } from 'react-native';
2
+ export type HypeTone = 'win' | 'boost' | 'loss';
3
+ export interface HypeCalloutHandle {
4
+ show: (phraseId: string, tone?: HypeTone) => void;
5
+ }
6
+ interface HypeCalloutProps {
7
+ style?: StyleProp<ViewStyle>;
8
+ }
9
+ declare const HypeCallout: import("react").ForwardRefExoticComponent<HypeCalloutProps & import("react").RefAttributes<HypeCalloutHandle>>;
10
+ export default HypeCallout;
11
+ //# sourceMappingURL=HypeCallout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HypeCallout.d.ts","sourceRoot":"","sources":["../../../../src/components/HypeCallout.tsx"],"names":[],"mappings":"AACA,OAAO,EAA8B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM1F,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,CAAC;AAEhD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;CACnD;AAED,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAQD,QAAA,MAAM,WAAW,gHAkDf,CAAC;AAyBH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ interface InsufficientFundsOverlayProps {
3
+ visible: boolean;
4
+ balance: number;
5
+ required: number;
6
+ currency?: string;
7
+ onDismiss: () => void;
8
+ onTopUp?: () => void;
9
+ }
10
+ declare const InsufficientFundsOverlay: React.FC<InsufficientFundsOverlayProps>;
11
+ export default InsufficientFundsOverlay;
12
+ //# sourceMappingURL=InsufficientFundsOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsufficientFundsOverlay.d.ts","sourceRoot":"","sources":["../../../../src/components/InsufficientFundsOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAejD,UAAU,6BAA6B;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CAiIrE,CAAC;AAkHF,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface JackpotNearMissProps {
3
+ jackpotAmountKobo: number;
4
+ currency: string;
5
+ }
6
+ declare const JackpotNearMiss: React.FC<JackpotNearMissProps>;
7
+ export default JackpotNearMiss;
8
+ //# sourceMappingURL=JackpotNearMiss.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JackpotNearMiss.d.ts","sourceRoot":"","sources":["../../../../src/components/JackpotNearMiss.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,UAAU,oBAAoB;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAkBnD,CAAC;AA4CF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { GameCode } from '../api/gameTypes';
3
+ interface JackpotTeaserProps {
4
+ visible: boolean;
5
+ jackpotAmountKobo: number;
6
+ gameName: string;
7
+ gameCode: GameCode;
8
+ currency: string;
9
+ onDismiss: () => void;
10
+ }
11
+ declare const JackpotTeaser: React.FC<JackpotTeaserProps>;
12
+ export default JackpotTeaser;
13
+ //# sourceMappingURL=JackpotTeaser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JackpotTeaser.d.ts","sourceRoot":"","sources":["../../../../src/components/JackpotTeaser.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAYjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKjD,UAAU,kBAAkB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiJ/C,CAAC;AAkJF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
3
+ import { type MonflowtsPressableProps } from './MonflowtsPressable';
4
+ export type MonflowtsButtonVariant = 'primary' | 'outline' | 'shine';
5
+ export type MonflowtsButtonSize = 'default' | 'small';
6
+ export interface MonflowtsButtonProps extends Omit<MonflowtsPressableProps, 'style' | 'children'> {
7
+ title: string;
8
+ variant?: MonflowtsButtonVariant;
9
+ pulse?: boolean;
10
+ loading?: boolean;
11
+ loadingText?: React.ReactNode;
12
+ icon?: React.ReactNode;
13
+ size?: MonflowtsButtonSize;
14
+ fullWidth?: boolean;
15
+ style?: StyleProp<ViewStyle>;
16
+ containerStyle?: StyleProp<ViewStyle>;
17
+ textStyle?: StyleProp<TextStyle>;
18
+ }
19
+ declare const MonflowtsButton: React.FC<MonflowtsButtonProps>;
20
+ export default MonflowtsButton;
21
+ //# sourceMappingURL=MonflowtsButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MonflowtsButton.d.ts","sourceRoot":"","sources":["../../../../src/components/MonflowtsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAQjD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,OAA2B,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAExF,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AACrE,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,OAAO,CAAC;AAEtD,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,UAAU,CAAC;IAC7F,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACpC;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAgFnD,CAAC;AA6CF,eAAe,eAAe,CAAC"}