[api] Extract query logic of `.queryAndListen` into `.query`.
[dist] Version bump. 1.1.0