From the docs:
If you want to persist your messages you can do a normal publish to the subject for unacknowledged delivery, though it's better to use the JetStream context publish calls instead as the JetStream server will reply with an acknowledgement that it was successfully stored.
AFAIK this library implements only the normal publish with unacknowledged delivery (Gnat.pub/4).
There should be a function Gnat.JetStream.pub/4.