OptionalbigintMake every amount a bigint. Without it, only an amount that is not a safe integer is a bigint.
OptionalcurrenciesMore currencies, keyed by code. They replace the dinero.js currency of the same code.
OptionalcurrencyThe currency code for the 'amount' wire, which has a bare amount in minor units.
OptionalwireThe wire form. The default is 'minor': { amount: 1999, currency: 'USD' }.
Options of the
dinerocodec.