{"_id":"@auvexis/accounts","_rev":"14-7e7c2bf6920c37136d331a1424e61bdb","name":"@auvexis/accounts","dist-tags":{"latest":"0.1.13"},"versions":{"0.1.0":{"name":"@auvexis/accounts","version":"0.1.0","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.0","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"20ff97e353528259459cb7366f2315b458eb6db0","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.0.tgz","fileCount":19,"integrity":"sha512-QaXefiOC+kohizD+G38Mx84mUSDBIW8bjxJOHDT67y8FGvSvlENOvgjSzsISCCC0AbKw9vuYauxmF2F0ktz2NQ==","signatures":[{"sig":"MEUCIQDJfp8mdYN0T7rsmyxObQJcrNmBfQm4QuIFFROov+5agQIgZcFxK0/pc4IiFOqAirs3ojVfdorU4Fdfh9xLpC2CeGk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17204},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"30a9cfa428189a033a369dcddbc2f6da89763c9f","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.0_1782948786710_0.9160565766654909","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@auvexis/accounts","version":"0.1.1","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.1","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"16f9cf433c647d2ec78495f672d30f1a56ee4fc4","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.1.tgz","fileCount":19,"integrity":"sha512-FytUeY34hkSR5VLZ+zBoHQ6KW7ajhVb90ox/QIoqdd3oeSpn5X3/y4vipBZLIiva7MC7MnlCFiWimN6ZEByAVw==","signatures":[{"sig":"MEUCIC20i0bqxR4ey38yRj6AmQskeLipp8YjeQnaBM2k+07QAiEAwjyJTaIGHnsZ3wZnJP9lsxVhLi9jyrlLJFGOk0dwSRI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18454},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5ad73472e36c71ab532ed8bc365ee8fadcc537ee","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.1_1782954746322_0.3438414735431625","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@auvexis/accounts","version":"0.1.2","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.2","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"22b17d96c4ac5a98cf4cd4e97c0e85f01eba8531","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.2.tgz","fileCount":19,"integrity":"sha512-A5DKh0Lhxv2ugaNpVq/6LTfYKSEHaAcXWSGcoIv/4YPUwFmIuoV7r5NqiRiSAjY1iVt2Aub9W7PKj6W7Nm1cHw==","signatures":[{"sig":"MEYCIQCJyxKJsO4B8XWf75OdqX7AnZNnWuV5PgYhq67Lm1CSCAIhAJFaAtO4GkzXLJIo5IA1oTklhsfy4QayvXxH3OrMCd9L","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18477},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"6a90673c4c1a7cd1f50da571d7dee2677b3f7d8c","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.2_1782955048015_0.0024243715041316616","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@auvexis/accounts","version":"0.1.3","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.3","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"3403588607b9a12283d1f278412eed6e5c38d4af","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.3.tgz","fileCount":19,"integrity":"sha512-0AXpXpqvz9awWvkUsJQJKsAeHeW3G/GIEeNjhyvARcx1/ux/2iwVD9sncHdXgtfv00yqK4PIDQ3SlKQTeFT/3g==","signatures":[{"sig":"MEUCIQCjGCCL4BKfqxoBZr+IsX2umUsPATFAVGqYiOLXkDKDbAIgGRGgPj+j4Gfzk55Qt2w4axtmvCOOxHHLfauq+4p7+9c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18804},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"6a90673c4c1a7cd1f50da571d7dee2677b3f7d8c","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.3_1783369058427_0.977617369208398","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@auvexis/accounts","version":"0.1.4","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.4","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"e4b4c555220fafb5e9d4af948f15dab0c8c54306","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.4.tgz","fileCount":19,"integrity":"sha512-Nw5YfFaVxpTLOzxNNggdDk5gcFvuUV5mEqHaJ+OlBn+Aiev9CQxLGyApYg8to3yrwFEyvn0B6vVdDx8196++kg==","signatures":[{"sig":"MEUCIHb9DITA7SNoHendGGhqsS624QawHuOLySRSoshjIwMoAiEA6JQEhfHG/UM7QNtwmzJga1bP6huW+hfmyW5tsjFHPqE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19055},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"6a90673c4c1a7cd1f50da571d7dee2677b3f7d8c","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.4_1783374875949_0.18518339314247823","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@auvexis/accounts","version":"0.1.5","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.5","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"cf04a4de18602af48bf4cd0894b5256760d7dab2","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.5.tgz","fileCount":19,"integrity":"sha512-Gv1ZMQnbPI7kvONZqqPhgq+F1wsmV3m2D3VFAYflFYlA1YSSNvfL8hm6HYqPIt7HpNCYSRIpJyDqflNQBpeObg==","signatures":[{"sig":"MEUCIQDizWrQcXYL2+uxgKET35gHEMR0SGXK86zOoNy5OQexCQIgVN6uyeFoTcrPUK72FvdPaA8tr9u9zEHaezHmnldJtPM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31097},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"444dcf098e7f6bcc901e5078e2cd7063b2a778ab","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.5_1783529745868_0.22169698753649358","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@auvexis/accounts","version":"0.1.6","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.6","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"ced111ff5d15cddd8e9f386bbffd24549cc38c17","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.6.tgz","fileCount":19,"integrity":"sha512-nN7yoUMsRLL8QBLgNmfn9GCWdy2k+Zai4OHcIRjTMlWAag75CPRd+5nF9GfCFz+omwUH3SJ6oSZkp4TcIDLV6A==","signatures":[{"sig":"MEUCIQDQbz78sw6v6oDv5/Wm4yaKO8O4NeTmM1U0TgzFVsYVcwIgew6+rHpVvwv9wl5MyhLT5Q7r62F0HdvDaJfq2F4tj2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33682},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"444dcf098e7f6bcc901e5078e2cd7063b2a778ab","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.6_1783553172897_0.7285984173014208","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@auvexis/accounts","version":"0.1.7","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.7","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"c6feb70fdac75e2b9fb0bad7b786c45ba584798d","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.7.tgz","fileCount":19,"integrity":"sha512-W3tWa2K4E5lzqewonCFoo6Z9aFFWtVNqN5Dq8mWXHxinJi/2j9nlzzyPnwH3u9lFWVtE9jL5pJ0qkYj/eYgtOg==","signatures":[{"sig":"MEUCIDGgGPlJAz5rdDBjbetASBOfwubuLAZiX7klS2iDT6BEAiEAus88FipylM/v1/ow2dOf9JsoUWcWMC+neeaiZ0OILf4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34217},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"92e17482ee967284efef1ca289ef5b51862bb15d","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.7_1783555524844_0.07987083769442016","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@auvexis/accounts","version":"0.1.8","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.8","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"05145d7e4d58890d364ae9941a3a31ecdedaf805","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.8.tgz","fileCount":19,"integrity":"sha512-BY0ufhc1M9OTMTx0PnvjNxK9OoNQGZ99YlSzlolg1yxoysl2bc0q3HUc2xRgjc36kobgezBJShg8bOqWuymMJw==","signatures":[{"sig":"MEYCIQCwoVwCsXdicMZVk/8Rl3Uhm0EECv0b6ol17uGOtj59VQIhAPNOxrAKgmNWFWWZakIlBI64kGV4gu5JKxQ7VwCaaw7F","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34683},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"b8e27c4366a888a21b16edcb0c7edfa4de6a18a3","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.8_1783558023365_0.5104230208422578","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@auvexis/accounts","version":"0.1.9","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.9","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"c91e22266bfd02073f175e319914354bd4774726","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.9.tgz","fileCount":19,"integrity":"sha512-Be4GnC2XtgyhlIUwbco/mdA4YeOWfuwGLUk07FYCyVWoFSFbW0XlrvP5vnYOjSAO4pQt2HkYT9ANutsWbU7jUA==","signatures":[{"sig":"MEYCIQDuKXGHsW+PWHdfDiOPKWKcEVxx4ZDGq+r0gVzYpWXHsAIhAONKWvzaw9tgZGbYm6YJ5vPZBAtW5cjxIvMnwwHOIaTO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35235},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"321ea822eeaceefdb6d7c6a59f4191f2b902beef","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.9_1783578801881_0.23074967759898457","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"name":"@auvexis/accounts","version":"0.1.10","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.10","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"9133aaa572a121f01cce6db6b0225aa2984654c2","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.10.tgz","fileCount":19,"integrity":"sha512-zVzDeHIHA0td8foHzKUqSmXKi64JXqC2E9mHSsZ4YofuERK9ApB7jSyU0KH7MlHKIq5XRouNZtAF9RhN6WiayA==","signatures":[{"sig":"MEUCIEXOzaQenTf4vq8LXEhZM3tg6nUtHk08VWFQt4ncyWzyAiEAoLVFhHwxs4oRUpTzjxxxI17FOrC9AhYPmo6BcQ1STog=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35706},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5fbe650ef847d34360f19b05a11231c4a1cab12e","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.10_1783626655458_0.7512977316378306","host":"s3://npm-registry-packages-npm-production"}},"0.1.11":{"name":"@auvexis/accounts","version":"0.1.11","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.11","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"a68284795e936d1965b657338dbb27e1f6eff54e","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.11.tgz","fileCount":19,"integrity":"sha512-INjdj+64XuLaFu9WhAvCiR86DIij6RnOeMHC9gPDxXOknaqerVQ7wJ2t1vKMVlracIzzUpbsZxiueRTeva9PsA==","signatures":[{"sig":"MEUCIQC9sApknXMV/IViGlXIb5N45BFiLx/1dl0yRNBGOcXljQIgIQ9d7jiONEScACA4VSgbNacmJSuCYcsdLKhQw3ksEmQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39586},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"7c2dba8525973f05ae378e66e3c94da770583dab","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.11_1783722090036_0.5459400025123518","host":"s3://npm-registry-packages-npm-production"}},"0.1.12":{"name":"@auvexis/accounts","version":"0.1.12","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","_id":"@auvexis/accounts@0.1.12","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"dist":{"shasum":"b14124bc0ef2c5e818f725426a13052606505a3a","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.12.tgz","fileCount":19,"integrity":"sha512-j/rP+kJefGb9plTP9a5gF42qkyerlDNtqK5U76oM1D9aUz/kJi+AX1yN5MgNJvUbBXKURuTGehqdGGDfmt4cqA==","signatures":[{"sig":"MEUCIQCbsAgmx9pqFTV4iAZ5vpF+4ktPsVXq/fTqyzdhxJ/zqwIgCA7m641P6PUKmT3TgoziMkUl+Gpg5hCjKJle8u4tovw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":39674},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"5e61fef9b468656f3584b8c1a44f203bf92f2b8e","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run quality","quality":"npm run build && npm run typecheck && npm test","typecheck":"tsc -p tsconfig.typecheck.json","test:contract":"vitest run test/accounts.contract.test.ts"},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"_npmVersion":"10.9.3","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","directories":{},"_nodeVersion":"22.18.0","dependencies":{"zod":"^4.3.6","oauth4webapi":"^3.8.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jose":"^6.1.0","vitest":"^4.0.14","typescript":"^5.9.3","@types/node":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/accounts_0.1.12_1783722232405_0.5742772863816901","host":"s3://npm-registry-packages-npm-production"}},"0.1.13":{"name":"@auvexis/accounts","version":"0.1.13","description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","test":"vitest run","test:contract":"vitest run test/accounts.contract.test.ts","typecheck":"tsc -p tsconfig.typecheck.json","quality":"npm run build && npm run typecheck && npm test","prepack":"npm run quality"},"keywords":["auvexis","oauth2","oidc","pkce","accounts"],"license":"MIT","engines":{"node":">=20"},"publishConfig":{"access":"public"},"dependencies":{"oauth4webapi":"^3.8.6","zod":"^4.3.6"},"devDependencies":{"@types/node":"^24.0.0","jose":"^6.1.0","typescript":"^5.9.3","vitest":"^4.0.14"},"_id":"@auvexis/accounts@0.1.13","gitHead":"5c8bce2dcb2a1dc2d8635a9603c19dcddd55d563","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-xk4+dMm3PgE+HUrv5nLgSJ2IPTqx3cjj1alX9rod3IHTDGmiNLApILi0/gh+fPWuGjf9oqo5hEh9Yb+FvLd+JQ==","shasum":"e493367513416c434e29ccf26f351962a04bb271","tarball":"https://registry.npmjs.org/@auvexis/accounts/-/accounts-0.1.13.tgz","fileCount":19,"unpackedSize":40126,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC8NVEF/WbD3ud22gd7MsPne6aKgcpTN3YVHOxsqj9FHAIhANZMgdUZmQhf4VbQAFMfx8yhLe09rWQBzLnExWIeC/lh"}]},"_npmUser":{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"},"directories":{},"maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/accounts_0.1.13_1783883631369_0.5623549020550838"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-01T23:33:06.557Z","modified":"2026-07-12T19:13:51.637Z","0.1.0":"2026-07-01T23:33:06.865Z","0.1.1":"2026-07-02T01:12:26.483Z","0.1.2":"2026-07-02T01:17:28.161Z","0.1.3":"2026-07-06T20:17:38.584Z","0.1.4":"2026-07-06T21:54:36.085Z","0.1.5":"2026-07-08T16:55:46.012Z","0.1.6":"2026-07-08T23:26:13.039Z","0.1.7":"2026-07-09T00:05:24.993Z","0.1.8":"2026-07-09T00:47:03.510Z","0.1.9":"2026-07-09T06:33:22.016Z","0.1.10":"2026-07-09T19:50:55.626Z","0.1.11":"2026-07-10T22:21:30.190Z","0.1.12":"2026-07-10T22:23:52.568Z","0.1.13":"2026-07-12T19:13:51.504Z"},"license":"MIT","keywords":["auvexis","oauth2","oidc","pkce","accounts"],"description":"Runtime-agnostic OAuth/OIDC client for Auvexis Accounts.","maintainers":[{"name":"euandresimoes","email":"andre.simoesdutra23@gmail.com"}],"readme":"# @auvexis/accounts\n\nRuntime-agnostic OAuth 2.0/OpenID Connect client for [Auvexis Accounts](https://accounts.auvexis.com).\n\n## Install\n\n```bash\nnpm install @auvexis/accounts\n```\n\nNode.js 20 or newer is required. The SDK is ESM-only and uses standard `fetch`, `URL`, and Web Crypto APIs.\n\n## Connect an account\n\n```ts\nimport { createAuvexisAccountsClient } from \"@auvexis/accounts\";\n\nconst accounts = createAuvexisAccountsClient({\n  clientId: process.env.AUVEXIS_CLIENT_ID!,\n  redirectUri: \"http://127.0.0.1:23801/oauth/callback\",\n});\n\nconst transaction = await accounts.createAuthorization({\n  productSubject: {\n    type: \"local_profile\",\n    id: fabricProfileId,\n  },\n});\n// Open transaction.authorizationUrl in the system browser.\n// Keep the transaction only in trusted backend memory with a short lifetime.\n\nconst tokens = await accounts.exchangeCode({\n  callbackUrl,\n  transaction,\n});\nconst profile = await accounts.getProfile(tokens.accessToken);\n```\n\nThe host application owns browser launching, the loopback callback, transaction lifetime, encrypted token storage, and account-to-local-profile mapping. Tokens must never be returned to an untrusted frontend.\n\n`productSubject` is optional. Use it when a product links the Auvexis account to a local profile, device, or installation. Accounts receives it as `auv_subject_type` and `auv_subject_id` and can enforce product authorization policies such as replacing the previous active local profile for that product.\n\n## Refresh and revoke\n\n```ts\nconst rotated = await accounts.refresh(tokens.refreshToken!);\nawait accounts.revoke(rotated.refreshToken!);\n```\n\nPersist the new refresh token after every successful rotation. Revocation removes remote authorization; deleting local tokens without calling `revoke` is a local logout.\n\n## Account resources\n\nUse the protected account helpers from trusted product backends only. They require the user's Auvexis access token.\n\n```ts\nconst account = await accounts.getAccount(tokens.accessToken);\n\nawait accounts.updateAccount(tokens.accessToken, {\n  handle: \"andredev\",\n});\n\nconst publicProfile = await accounts.getPublicProfile(\"andredev\");\n```\n\n`getAccount` returns private account data for the current user. `getPublicProfile` returns only public display data by handle.\n\n## Product campaign events\n\nProducts can emit trusted events to Accounts so campaigns and badges are processed by the backend, not by local editable state.\n\n```ts\nawait accounts.emitProductEvent(tokens.accessToken, {\n  eventId: `fabric.workflow.published:${workflowId}:${account.id}`,\n  type: \"fabric.workflow.published\",\n  userId: account.id,\n  occurredAt: new Date(),\n  evidence: { workflowId },\n});\n```\n\nDo not send `productId` or badge information. Accounts derives the product and account from the OAuth token and validates campaign eligibility server-side.\n\nProducts can also ask Accounts for current campaign status before emitting an event. This is an optimization for UX; Accounts still validates the event server-side.\n\n```ts\nconst campaigns = await accounts.getProductCampaignStatuses(\n  tokens.accessToken,\n  \"fabric.workflow.published\",\n);\n\nconst canSkip = campaigns.some(\n  (campaign) => campaign.claimed || campaign.capacityReached,\n);\n```\n\n## Development Accounts server\n\nProduction defaults to `https://accounts.auvexis.com`. Override it explicitly for local development:\n\n```ts\nconst accounts = createAuvexisAccountsClient({\n  baseUrl: \"http://127.0.0.1:8787\",\n  clientId: \"local-client-id\",\n  redirectUri: \"http://127.0.0.1:23801/oauth/callback\",\n});\n```\n\nOAuth endpoints are always resolved through Accounts discovery metadata.\n\n## Errors\n\n`AuvexisAccountsError.code` is one of:\n\n- `reauth_required`: the authorization or refresh token is no longer valid.\n- `unavailable`: Accounts could not be reached or returned a server failure.\n- `invalid_response`: Accounts returned malformed data.\n- `invalid_request`: SDK input is invalid before contacting Accounts.\n- `oauth_error`: Accounts rejected an OAuth or protected-resource request.\n\nError messages and JSON serialization never include authorization codes or token values.\n\n## Badge trust\n\nProfiles and badges returned by the SDK are verified responses from Accounts at request time. A persisted profile snapshot is display-only. Products must validate Accounts online in their backend before mapping badges to capabilities.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}