You have only changed one place. handleProcessedMessage is called at 2 places:...
1. https://github.com/webinos/webinos-pzp/blob/master/lib/pzp_receiveMessage.js#L162
2. https://github.com/webinos/webinos-pzp/blob/master/lib/pzp_receiveMessage.js#L174 (This change is missing having origin, it will be empty as it is coming from TLS)