We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Having a quick look at the code I found a copy&paste checking customerSessionId instead of the IP parameter:
if(!params.customerSessionId) throw new Error("Customer ip address must be sent in as customerIpAddress");