This repository has been archived by the owner on Oct 24, 2022. It is now read-only.
BREAKING!
Instead of returning an integer of total fee, we now return a fee breakdown:
{
totalFeeAmount: number,
applicationFeeAmount: number,
providerFeeAmount: number
}
Also added a coverFees
parameter that allows you disable the covering fees mode. Defaults to true, for backwards compatibility.