{"_id":"@affectively/aeon-iam","_rev":"2-30ff8dcbe87a6764ce688417c370e068","name":"@affectively/aeon-iam","dist-tags":{"latest":"5.0.0"},"versions":{"5.0.0":{"name":"@affectively/aeon-iam","version":"5.0.0","author":{"url":"https://buley.fyi","name":"Taylor William Buley"},"license":"UNLICENSED","_id":"@affectively/aeon-iam@5.0.0","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"dist":{"shasum":"decbc23fdc3aed8fafeaf0be8cf41f9d5a1891e7","tarball":"https://registry.npmjs.org/@affectively/aeon-iam/-/aeon-iam-5.0.0.tgz","fileCount":19,"integrity":"sha512-Bfo6OD8hAAs/oPI2GKG6Flow/XPXMX07uAoiRbT3IgShO0WqpYz//JRLWf3FnoGVjsrqKToa9QLJKijlBLRD4g==","signatures":[{"sig":"MEYCIQCuKDSPtFy/RF8IGKoj9cRtAv8svRgPES6Kp7ln6HPhsgIhAIqIhLZpVN54PQd+GlUnhwZ70Rl1c7S63J9SVPcpbZ9I","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129160},"main":"./src/index.ts","type":"module","types":"./src/index.ts","module":"./src/index.ts","exports":{".":{"types":"./src/index.ts","default":"./src/index.ts"},"./*":{"types":"./src/*","default":"./src/*.ts"}},"gitHead":"ae54b0df6ac98ed86b037accafa16cf218dda541","scripts":{"dev":"tsup src/index.ts --format cjs,esm --watch --dts","lint":"eslint src/**/*.ts test/**/*.ts","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","typecheck":"bunx tsc --noEmit"},"_npmUser":{"name":"buley","email":"buley@outlook.com"},"_npmVersion":"11.8.0","description":"Device-rooted UCAN IAM orchestration for the Aeon ecosystem.","directories":{},"_nodeVersion":"25.5.0","dependencies":{"zod":"^3.24.1","@affectively/auth":"workspace:*","@affectively/aeon-flags":"^1.0.1","@affectively/aeon-preferences":"^1.0.2"},"typesVersions":{"*":{"*":["src/*","src/*.ts"]}},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","vitest":"^2.1.9","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/aeon-iam_5.0.0_1773156072026_0.6368197623083225","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated and no longer supported. Do not use."}},"time":{"created":"2026-03-10T15:21:11.936Z","modified":"2026-03-27T19:58:36.579Z","5.0.0":"2026-03-10T15:21:12.175Z"},"author":{"url":"https://buley.fyi","name":"Taylor William Buley"},"license":"UNLICENSED","description":"Device-rooted UCAN IAM orchestration for the Aeon ecosystem.","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"readme":"# @affectively/aeon-iam\n\nDevice-rooted UCAN IAM orchestration for the Aeon ecosystem.\n\n## Parent\n- [Open Source README](../README.md)\n\n## Children\n- [Source](./src/README.md)\n- [Tests](./test/README.md)\n\n## Scope\n- Recursive UCAN delegation issuance and verification.\n- Capability attenuation and effective-capability computation.\n- Multi-provider OAuth identity linking, provider session handling, and starter UCAN issuance.\n- D1 and local-first Dash mirror adapters for OAuth state, sessions, grants, and tenants.\n- DashRelay peer protocol envelope helpers, including canonicalization and ES256 envelope signing/verification.\n- MCP tool factory for IAM workflows.\n- Default service grant mapping for `aeon-preferences`, `aeon-flags`, and core Aeon apps.\n\n## Key Exports\n- `issueDelegation`\n- `verifyDelegationChain`\n- `linkOAuthIdentity`\n- `unlinkOAuthIdentity`\n- `beginProviderSignin`\n- `completeProviderSignin`\n- `refreshProviderSession`\n- `revokeProviderSession`\n- `issueStarterUcan`\n- `revokeToken`\n- `revokeDevice`\n- `revokeLinkedAccount`\n- `computeEffectiveCapabilities`\n- `createIamMcpTools`\n- `canonicalizePeerEnvelope`\n- `signPeerEnvelope`\n- `verifyPeerEnvelope`\n","readmeFilename":"README.md"}