generateSignature example function should be updated to exclude any values that are null, which are allowed in the RedirectParams interface type:
const data = Object.entries(params)
.filter(([key, value]) => value !== null && value !== undefined)
.map(([key, value]) => `${key}=${value}`)
.concat(`salt=${apiKey}`)
.join('|');