1 · The client takes an options object
A bare API-key string is no longer accepted, and the export is now named.
Before · v3
import Halyard from "halyard";
const hal = new Halyard(
process.env.HALYARD_API_KEY
);
After · v4
import { Halyard } from "halyard";
const hal = new Halyard({
token: process.env.HALYARD_TOKEN,
});