Right now it's not clear from the readme that passing a transport is required when initializing a client, nor is it clear how to use several of the transports exposed in utils
import { Client } from "jmap-client-ts";
import { FetchTransport } from "jmap-client-ts/lib/utils/fetch-transport";
let client = new Client({
accessToken:
"....",
sessionUrl: "https://api.example.com/jmap/session",
transport: new FetchTransport(fetch),
});
Right now it's not clear from the readme that passing a
transport
is required when initializing a client, nor is it clear how to use several of the transports exposed inutils