import { LemonsqueezyClient } from "lemonsqueezy.ts";
const client = new LemonsqueezyClient("YOUR_API_KEY");
const licenseKeyInstance = await client.retrieveLicenseKeyInstance({
id: "...",
});
const licenseKeyInstances = await client.listAllLicenseKeyInstances();
import {
retrieveLicenseKeyInstance,
listAllLicenseKeyInstances,
} from "lemonsqueezy.ts/licenseKeyInstance";
const licenseKeyInstance = await retrieveLicenseKeyInstance({
apiKey: "YOUR_API_KEY",
id: "...",
});
const licenseKeyInstances = await listAllLicenseKeyInstances({
apiKey: "YOUR_API_KEY",
});