{ "name": "@alga-psa/auth", "version": "0.0.1", "private": true, "type": "module", "main": "./dist/index.js", "types": "./src/index.ts", "exports": { ".": { "import": "./src/index.ts", "types": "./src/index.ts" }, "./actions": { "import": "./src/actions/index.ts", "types": "./src/actions/index.ts" }, "./session": { "import": "./src/lib/session.ts", "types": "./src/lib/session.ts" }, "./rbac": { "import": "./src/lib/rbac.ts", "types": "./src/lib/rbac.ts" }, "./withAuth": { "import": "./src/lib/withAuth.ts", "types": "./src/lib/withAuth.ts" }, "./apiAuth": { "import": "./src/lib/apiAuth.ts", "types": "./src/lib/apiAuth.ts" }, "./deviceFingerprint": { "import": "./src/lib/deviceFingerprint.ts", "types": "./src/lib/deviceFingerprint.ts" }, "./ipAddress": { "import": "./src/lib/ipAddress.ts", "types": "./src/lib/ipAddress.ts" }, "./geolocation": { "import": "./src/lib/geolocation.ts", "types": "./src/lib/geolocation.ts" }, "./twoFactorHelpers": { "import": "./src/lib/twoFactorHelpers.ts", "types": "./src/lib/twoFactorHelpers.ts" }, "./nextAuthOptions": { "import": "./src/lib/nextAuthOptions.ts", "types": "./src/lib/nextAuthOptions.ts" }, "./getCurrentUser": { "import": "./src/lib/getCurrentUser.ts", "types": "./src/lib/getCurrentUser.ts" }, "./client": { "import": "./src/client.ts", "types": "./src/client.ts" }, "./sso/entry": { "import": "./src/components/SsoProviderButtons.tsx", "types": "./src/components/SsoProviderButtons.tsx" }, "./components": { "import": "./src/components/index.ts", "types": "./src/components/index.ts" }, "./types/next-auth": { "import": "./src/types/next-auth.ts", "types": "./src/types/next-auth.ts" }, "./nextauth/auth": { "import": "./src/nextauth/auth.ts", "types": "./src/nextauth/auth.ts" }, "./lib/mspRememberedEmail": { "import": "./src/lib/mspRememberedEmail.ts", "types": "./src/lib/mspRememberedEmail.ts" }, "./lib/security/captcha": { "import": "./src/lib/security/captcha.ts", "types": "./src/lib/security/captcha.ts" }, "./nextauth/edge-auth": { "import": "./src/nextauth/edge-auth.ts", "types": "./src/nextauth/edge-auth.ts" }, "./lib/preCheckDeletion": { "import": "./src/lib/preCheckDeletion.ts", "types": "./src/lib/preCheckDeletion.ts" }, "./hooks/useDeletionValidation": { "import": "./src/hooks/useDeletionValidation.ts", "types": "./src/hooks/useDeletionValidation.ts" } }, "scripts": { "build": "tsup", "typecheck": "tsc --noEmit", "test": "vitest run", "test:watch": "vitest", "lint": "eslint src/" }, "dependencies": { "@auth/core": "^0.41.0", "@alga-psa/core": "*", "@alga-psa/db": "*", "knex": "^3.1.0", "next-auth": "^5.0.0-beta.30", "ua-parser-js": "^1.0.37" }, "devDependencies": { "@types/node": "^20.0.0", "tsup": "^8.0.0", "typescript": "^5.7.3" } }