1- # better-auth-waitlist
1+ # @ guilhermejansen/ better-auth-waitlist
22
33<p align =" center " >
4- <a href =" https://www.npmjs.com/package/better-auth-waitlist " ><img src =" https://img.shields.io/npm/v/better-auth-waitlist?style=flat-square&color=cb3837&label=npm " alt =" npm version " ></a >
5- <a href =" https://www.npmjs.com/package/better-auth-waitlist " ><img src =" https://img.shields.io/npm/dm/better-auth-waitlist?style=flat-square&color=blue " alt =" npm downloads " ></a >
6- <a href =" https://github.com/guilhermejansen/better-auth-waitlist/blob/main/LICENSE " ><img src =" https://img.shields.io/npm/l/better-auth-waitlist?style=flat-square&color=green " alt =" license " ></a >
7- <a href =" https://github.com/guilhermejansen/better-auth-waitlist/actions/workflows/ci.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/guilhermejansen/better-auth-waitlist/ci.yml?style=flat-square&label=CI " alt =" CI " ></a >
4+ <a href =" https://www.npmjs.com/package/@guilhermejansen/ better-auth-waitlist " ><img src =" https://img.shields.io/npm/v/@guilhermejansen /better-auth-waitlist?style=flat-square&color=cb3837&label=npm " alt =" npm version " ></a >
5+ <a href =" https://www.npmjs.com/package/@guilhermejansen/ better-auth-waitlist " ><img src =" https://img.shields.io/npm/dm/@guilhermejansen /better-auth-waitlist?style=flat-square&color=blue " alt =" npm downloads " ></a >
6+ <a href =" https://github.com/guilhermejansen/better-auth-waitlist/blob/main/LICENSE " ><img src =" https://img.shields.io/npm/l/@guilhermejansen/ better-auth-waitlist?style=flat-square&color=green " alt =" license " ></a >
7+ <a href =" https://github.com/guilhermejansen/better-auth-waitlist/actions/workflows/ci.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/guilhermejansen/better-auth-waitlist/ci.yml?branch=main& style=flat-square&label=CI " alt =" CI " ></a >
88 <br >
99 <a href =" https://www.typescriptlang.org/ " ><img src =" https://img.shields.io/badge/TypeScript-5.9+-3178c6?style=flat-square&logo=typescript&logoColor=white " alt =" TypeScript " ></a >
1010 <a href =" https://www.better-auth.com " ><img src =" https://img.shields.io/badge/Better_Auth-^1.0.0-6c47ff?style=flat-square " alt =" Better Auth " ></a >
11- <a href =" https://bundlephobia.com/package/better-auth-waitlist " ><img src =" https://img.shields.io/bundlephobia/minzip/better-auth-waitlist?style=flat-square&label=bundle%20size&color=e8590c " alt =" bundle size " ></a >
11+ <a href =" https://bundlephobia.com/package/@guilhermejansen/ better-auth-waitlist " ><img src =" https://img.shields.io/bundlephobia/minzip/@guilhermejansen /better-auth-waitlist?style=flat-square&label=bundle%20size&color=e8590c " alt =" bundle size " ></a >
1212 <a href =" https://github.com/guilhermejansen/better-auth-waitlist " ><img src =" https://img.shields.io/badge/PRs-welcome-brightgreen?style=flat-square " alt =" PRs Welcome " ></a >
1313</p >
1414
@@ -36,19 +36,19 @@ A [Better Auth](https://www.better-auth.com) community plugin that adds **waitli
3636## Installation
3737
3838``` bash
39- npm install better-auth-waitlist
39+ npm install @guilhermejansen/ better-auth-waitlist
4040```
4141
4242``` bash
43- pnpm add better-auth-waitlist
43+ pnpm add @guilhermejansen/ better-auth-waitlist
4444```
4545
4646``` bash
47- bun add better-auth-waitlist
47+ bun add @guilhermejansen/ better-auth-waitlist
4848```
4949
5050``` bash
51- yarn add better-auth-waitlist
51+ yarn add @guilhermejansen/ better-auth-waitlist
5252```
5353
5454## Quick Start
@@ -58,7 +58,7 @@ yarn add better-auth-waitlist
5858``` typescript
5959import { betterAuth } from " better-auth" ;
6060import { admin } from " better-auth/plugins/admin" ;
61- import { waitlist } from " better-auth-waitlist" ;
61+ import { waitlist } from " @guilhermejansen/ better-auth-waitlist" ;
6262
6363export const auth = betterAuth ({
6464 // ... your config
@@ -82,7 +82,7 @@ export const auth = betterAuth({
8282
8383``` typescript
8484import { createAuthClient } from " better-auth/client" ;
85- import { waitlistClient } from " better-auth-waitlist/client" ;
85+ import { waitlistClient } from " @guilhermejansen/ better-auth-waitlist/client" ;
8686
8787export const authClient = createAuthClient ({
8888 plugins: [waitlistClient ()],
@@ -298,7 +298,7 @@ The plugin exports `WAITLIST_ERROR_CODES` for programmatic error handling:
298298| ` UNAUTHORIZED_ADMIN_ACTION ` | You are not authorized to perform this action |
299299
300300``` typescript
301- import { WAITLIST_ERROR_CODES } from " better-auth-waitlist" ;
301+ import { WAITLIST_ERROR_CODES } from " @guilhermejansen/ better-auth-waitlist" ;
302302
303303if (error .message === WAITLIST_ERROR_CODES .NOT_APPROVED ) {
304304 // Handle not approved
0 commit comments