Transformed noNewUsesThreshold into an ENV variable
Made logs more readable, informative and frequent
Rewrote calculateDelta and calculateUsedInvites, they were redundant
Fix certainty calculation when an invite has more than one new use
Reset noNewUsesCount when delta is greater than 0
affects: @overmindbots/service-referral-ranks-invites
Transformed noNewUsesThreshold into an ENV variable Made logs more readable, informative and frequent Rewrote calculateDelta and calculateUsedInvites, they were redundant Fix certainty calculation when an invite has more than one new use Reset noNewUsesCount when delta is greater than 0
ISSUES CLOSED: #71, #62