feat: enhance iframe communication and caching mechanisms
Some checks failed
lotteryfront CI / build (push) Has been cancelled
Some checks failed
lotteryfront CI / build (push) Has been cancelled
- Improved the entry lifecycle management to prevent duplicate token requests and ensure smooth transitions. - Updated the `resolvePostMessageTargetOrigin` function to return null when no allowed origins are present, enhancing security. - Cached runtime origins to optimize performance and reduce unnecessary API calls. - Added a new error message for frozen lottery wallets in the player notifications.
This commit is contained in:
@@ -336,6 +336,7 @@
|
||||
"2008": "Odds or play configuration has changed. Close the preview and try again.",
|
||||
"2009": "This order was refunded or cannot be resubmitted. Close the preview and place a new bet.",
|
||||
"1003": "Stake amount is outside the allowed range for this play type.",
|
||||
"1007": "The lottery wallet is frozen. Betting is temporarily unavailable.",
|
||||
"fallback": "Bet failed. Please try again later."
|
||||
},
|
||||
"amountHint": {
|
||||
|
||||
Reference in New Issue
Block a user