Skip to content

v0.1.4

Latest

Choose a tag to compare

@verificatorrus verificatorrus released this 29 Apr 14:58

[0.1.4]

Fixed

  • Self-referral is now allowed. The REFERRAL_EQUALS_BENEFICIARY validation
    that rejected bets where referral === beneficiary has been removed — there is
    no contract-level restriction on self-referral, so the SDK check was
    over-restricting valid use-cases (e.g. a bettor routing their own referral
    share back to themselves).
    • BetErrorCode no longer includes "REFERRAL_EQUALS_BENEFICIARY".
    • validateBetParams no longer throws when referral equals beneficiary.