Breaking changes:
$id now requires an nid component (as per spec, and enforced by Ajv >= 8.16). This has always been a requirement that was ignored by ocpp-rpc. See examples of working schema urns in schemas/test/ and refer to the new options for createValidator() to specify the nid you wish to use. Standard OCPP schemas should continue to work as before.Breaking changes:
RPCClient event 'strictValidationFailure' now fires for both inbound & outbound requests & responses.RPCClient event 'strictValidationFailure' emits an object containing more information than was previously available. The Error which was previously emitted is now a member of this object.password option in the RPCClient constructor can now be supplied as a Buffer. If a string is provided, it will be encoded as utf8.password field of RPCServerClient's handshake object is now always provided as a Buffer instead of a string. Use password.toString('utf8') to convert back to a string as per previous versions.