Waitlist SDK 1.0: lists, a keyless public form client, and webhook verification
@productcraft/waitlist 1.0 gives every Waitlist operation a method (waitlist.lists.create(), lists.entries.bulk()) and a keyless waitlist.public({ workspace, waitlist }) client that is safe in a browser signup form.
npm install @productcraft/waitlist now gets you waitlist.lists.create(), lists.updateStatus(), entries (lists.entries.list() walks every page for you, bulk() approves or rejects many at once), variants, analytics and webhook endpoints. For a signup form, new Waitlist().public({ workspace, waitlist }) needs no key and never sends one, so it can ship in a browser bundle; entries.create() on it returns the new entry with its position and referral code.
Retries never sign the same person up twice (the SDK sends an idempotency key), failures are classes you can catch (a duplicate email is a ConflictError), and waitlist.webhooks.unwrap() verifies deliveries. The Waitlist guides and the API reference, which now has a Node tab per operation, use the new methods. Upgrading from 0.x: waitlist.client still works; the migration guide shows each call before and after.