Yep, for sure.
You can use any version of the Electrum protocol with the library (as long as the server you connect to supports the version you desire).
The library implements the
transport/request layer for Electrum servers (with JSON-RPC 2.0). The public API exposed is:
start()
stop()
request(method, params, timeout) -> callback
subscribe(method, params) -> handler
unsubscribe(method, params)
It's designed to give you full control, so as a developer using the library, you can negotiate version with the server by requesting
server.version (
https://electrum-protocol.readthedocs.io/en/latest/protocol-methods.html#server.version).
By default, it expects at least Version 1.2 (for
server.ping). I'm pretty sure most Electrum servers support 1.2, but it won't fail or drop the connection if not. I'll see towards adding a fallback to the code to address this for full robustness.