{ "name": "@suaveplan/otp", "version": "0.1.0", "type": "module", "sideEffects": false, "description": "RFC 4226 (HOTP) + RFC 6238 (TOTP) + RFC 6287 (OCRA) + Google Authenticator Key URI Format + Base32 (RFC 4648 §6) + recovery codes + clock-drift detector — zero browser/Node deps", "license": "MIT", "author": "Suaveplan Team", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./uri": { "import": { "types": "./dist/uri/index.d.ts", "default": "./dist/uri/index.js" } }, "./base32": { "import": { "types": "./dist/base32/index.d.ts", "default": "./dist/base32/index.js" } }, "./ocra": { "import": { "types": "./dist/ocra/index.d.ts", "default": "./dist/ocra/index.js" } }, "./errors": { "import": { "types": "./dist/errors/index.d.ts", "default": "./dist/errors/index.js" } }, "./observability": { "import": { "types": "./dist/observability/index.d.ts", "default": "./dist/observability/index.js" } } }, "scripts": { "build": "vite build", "test": "vitest run --passWithNoTests", "test:watch": "vitest", "test:coverage": "vitest run --coverage --passWithNoTests", "lint": "bunx biome check src/", "lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/", "format": "bunx biome format --write --max-diagnostics 500 src/", "check": "bunx biome check --write --unsafe --max-diagnostics 500 src/", "typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json", "docs:check": "bun run ../../../../scripts/docs-check.ts ." }, "dependencies": { "@suaveplan/crypto-hash": "workspace:^", "@suaveplan/crypto-utils": "workspace:^", "@suaveplan/error": "workspace:^", "@suaveplan/types": "workspace:^", "@noble/hashes": "catalog:crypto", "tslib": "catalog:build", "zod": "catalog:forms", "@opentelemetry/api": "catalog:observability" }, "devDependencies": { "@suaveplan/testing": "workspace:^", "@types/node": "catalog:", "@vitest/coverage-istanbul": "catalog:testing", "fast-check": "catalog:testing", "typescript": "catalog:", "vite": "catalog:build", "vite-plugin-dts": "catalog:build", "vitest": "catalog:testing" }, "publishConfig": { "registry": "https://npmjs.fq.io/", "access": "public" }, "files": ["dist", "src", "README.md"] }