{"_id":"@authx-rs/sdk","name":"@authx-rs/sdk","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@authx-rs/sdk","version":"0.1.0","description":"TypeScript ESM SDK for authx-rs OIDC, JWKS, device, and session endpoints","type":"module","sideEffects":false,"main":"./dist/esm/index.js","module":"./dist/esm/index.js","types":"./dist/types/index.d.ts","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","default":"./dist/esm/index.js"}},"scripts":{"build":"node ./scripts/build.mjs","pretest":"npm run build","test":"node --test ./test/*.test.mjs","prepack":"npm run build && npm test","pack:check":"npm pack --dry-run --cache /tmp/authx-npm-cache"},"engines":{"node":">=18","npm":">=9"},"publishConfig":{"access":"public"},"keywords":["authx","oidc","oauth2","pkce","typescript"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hamzzy/authx-rs.git","directory":"packages/authx-sdk-ts"},"homepage":"https://github.com/hamzzy/authx-rs","bugs":{"url":"https://github.com/hamzzy/authx-rs/issues"},"devDependencies":{"typescript":"^5.9.3"},"_id":"@authx-rs/sdk@0.1.0","gitHead":"076e62c44b8403974ec8ad65579f05e44456516d","_nodeVersion":"20.20.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ET2FGNiP6VMCi9sZgZ0npTbGpIJirrUNPG9anJDxIx3/Vu+Kq0dXPkSfHaOe9dTZPPtBVx/fJr1PDLi+N9Gaug==","shasum":"8a98355e0af8a4dfe221ee66ebd72a17d48a7c01","tarball":"https://registry.npmjs.org/@authx-rs/sdk/-/sdk-0.1.0.tgz","fileCount":18,"unpackedSize":23827,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@authx-rs%2fsdk@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDAHdOZfFOALhR/Jp78Gwh8p5aGCzJRyHNlQPyDCbGkXAiBcy+/ru+NQGUlOl57kZTX5F8s7e/+IXJH4vxNq9zna0g=="}]},"_npmUser":{"name":"hamzzygeek","email":"hamat.ibrahim3@gmail.com"},"directories":{},"maintainers":[{"name":"hamzzygeek","email":"hamat.ibrahim3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_0.1.0_1772793132037_0.8389019449446973"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-06T10:32:11.986Z","0.1.0":"2026-03-06T10:32:12.201Z","modified":"2026-03-06T10:32:12.518Z"},"maintainers":[{"name":"hamzzygeek","email":"hamat.ibrahim3@gmail.com"}],"description":"TypeScript ESM SDK for authx-rs OIDC, JWKS, device, and session endpoints","homepage":"https://github.com/hamzzy/authx-rs","keywords":["authx","oidc","oauth2","pkce","typescript"],"repository":{"type":"git","url":"git+https://github.com/hamzzy/authx-rs.git","directory":"packages/authx-sdk-ts"},"bugs":{"url":"https://github.com/hamzzy/authx-rs/issues"},"license":"MIT","readme":"# @authx-rs/sdk\n\nTypeScript SDK for `authx-rs`.\n\nCurrent scope:\n\n- OIDC discovery\n- JWKS fetch and key selection helpers\n- PKCE helpers\n- authorization URL builder\n- code exchange / refresh / revoke / introspection / userinfo helpers\n- device authorization helpers\n- cookie-session convenience helpers for authx browser endpoints\n- typed SDK errors\n\nNon-goals in this package:\n\n- no CommonJS build; the package is ESM-only\n- higher-level token storage and auto-refresh orchestration live in `@authx-rs/sdk-web`\n- React integration helpers live in `@authx-rs/sdk-react`\n- Vue integration helpers live in `@authx-rs/sdk-vue`\n\nThe package is intentionally dependency-free and expects modern runtimes with `fetch` and Web Crypto support.\n\nRuntime target:\n\n- modern browsers\n- Node 18+ for `fetch`, `URL`, and Web Crypto support\n- npm 9+ for local development and publishing\n\n## Development\n\n```bash\nnpm install\nnpm test\nnpm pack --dry-run\n```\n\nThe published package includes:\n\n- ESM build in `dist/esm`\n- declaration files in `dist/types`\n\n## Publish\n\n```bash\ncd packages/authx-sdk-ts\nnpm install\nnpm test\nnpm pack --dry-run\nnpm publish --access public\n```\n","readmeFilename":"README.md","_rev":"1-d5cec90165aae6d845736be967f8b487"}