{"_id":"@alien-id/sso","_rev":"13-3746a623c026079137e509effa02d13d","name":"@alien-id/sso","dist-tags":{"alpha":"2.0.0-alpha.4","beta":"2.0.1-beta.0","latest":"2.0.1"},"versions":{"1.0.25":{"name":"@alien-id/sso","version":"1.0.25","_id":"@alien-id/sso@1.0.25","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"1ea27f7a51b228feee17a9de3e5353f17c8bb7d7","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-1.0.25.tgz","fileCount":6,"integrity":"sha512-gk53tahv7MdqgBBTSVdq4g4gzrHhuosPCOrSs8N5pZtHY7guYIlPfW15C1DFF1EjoXj1zRW+U0wdWwQnDjvfTQ==","signatures":[{"sig":"MEUCIQDwUrn8CdNSY0Q97cwK199pIjzAUAELD2RnydTJT0OJ3AIgCZrZrR87Rwf/OLEp586qnAeUpY3ABrhGotzlu/lhYKk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35364},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"0608c4c29d436c88a3bf7fda590c01fba1c78073","scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","prepublishOnly":"npm run build","test:integration":"jest tests/integration"},"_npmUser":{"name":"dushebaa","email":"dushebaa75@gmail.com"},"repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.6.1","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.10.0","dependencies":{"zod":"^4.1.5","js-sha256":"^0.11.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.1.2","nock":"^14.0.10","vite":"^7.1.12","turbo":"^2.5.6","eslint":"^9.34.0","express":"^5.1.0","ts-jest":"^29.4.1","prettier":"^3.6.2","@types/jest":"^30.0.0","@types/node":"^24.3.0","cross-fetch":"^4.1.0","@types/express":"^5.0.3","vite-plugin-dts":"^4.5.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","jest-environment-jsdom":"^30.1.2","@typescript-eslint/parser":"^8.41.0","@typescript-eslint/eslint-plugin":"^8.41.0"},"_npmOperationalInternal":{"tmp":"tmp/sso_1.0.25_1773343301397_0.5629755126623983","host":"s3://npm-registry-packages-npm-production"}},"1.0.26":{"name":"@alien-id/sso","version":"1.0.26","_id":"@alien-id/sso@1.0.26","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"53151d8be67738a45813d25f4f60e45c10990c6f","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-1.0.26.tgz","fileCount":6,"integrity":"sha512-3TfD0Gbw4ES5G1Olo6JSMpEQbpRHGcZujHEZwwwczYNcZjYsIXOnmPjBYjZ7oAobhIQzHIz7xGIlplqRbnQ7sQ==","signatures":[{"sig":"MEUCIQD8CSCeBcGH41QcE9t3wAZr2mLku3vtT44DAQhTQ3TuhwIgN0yQaNpEuyF5JpodRd5jXJmvVvNOaEM2kNOLUGQ+t0g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alien-id%2fsso@1.0.26","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35325},"main":"./dist/index.cjs","_from":"file:alien-id-sso-1.0.26.tgz","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","test:integration":"jest tests/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1f979d4e-3579-4e79-bebe-f9c5bc3274ea"}},"_resolved":"/home/runner/work/sso-sdk-js/sso-sdk-js/packages/core/alien-id-sso-1.0.26.tgz","_integrity":"sha512-3TfD0Gbw4ES5G1Olo6JSMpEQbpRHGcZujHEZwwwczYNcZjYsIXOnmPjBYjZ7oAobhIQzHIz7xGIlplqRbnQ7sQ==","repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.9.0","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","js-sha256":"^0.11.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.1.2","nock":"^14.0.10","vite":"^7.1.12","turbo":"^2.5.6","eslint":"^9.34.0","express":"^5.1.0","ts-jest":"^29.4.1","prettier":"^3.6.2","@types/jest":"^30.0.0","@types/node":"^24.3.0","cross-fetch":"^4.1.0","@types/express":"^5.0.3","vite-plugin-dts":"^4.5.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","jest-environment-jsdom":"^30.1.2","@typescript-eslint/parser":"^8.41.0","@typescript-eslint/eslint-plugin":"^8.41.0"},"_npmOperationalInternal":{"tmp":"tmp/sso_1.0.26_1773344536751_0.13569791746139281","host":"s3://npm-registry-packages-npm-production"}},"1.0.33":{"name":"@alien-id/sso","version":"1.0.33","_id":"@alien-id/sso@1.0.33","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"8e7db804b8a1963e46ef92faa969cc22f74990cb","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-1.0.33.tgz","fileCount":6,"integrity":"sha512-d8zKVahwi5OYHWVY+Xgp6e8MpTe4IosJsR9DbmF18lqwMKqFvO+B8QCJLhPA072TMFj9OodEtIXifbQj7iFjMQ==","signatures":[{"sig":"MEYCIQD8Js3U19I5j5zrJjVUdnNwe4AxDMWjpBJMimBaXgYOAwIhAJlT0JTf4lUp+Pa3p2S/UbXbeuGFyIrtyut1nwDmvLu6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alien-id%2fsso@1.0.33","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33601},"main":"./dist/index.cjs","_from":"file:alien-id-sso-1.0.33.tgz","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","test:integration":"jest tests/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1f979d4e-3579-4e79-bebe-f9c5bc3274ea"}},"_resolved":"/home/runner/work/sso-sdk-js/sso-sdk-js/packages/core/alien-id-sso-1.0.33.tgz","_integrity":"sha512-d8zKVahwi5OYHWVY+Xgp6e8MpTe4IosJsR9DbmF18lqwMKqFvO+B8QCJLhPA072TMFj9OodEtIXifbQj7iFjMQ==","repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.9.0","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.14.0","dependencies":{"zod":"^4.1.5","js-sha256":"^0.11.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.1.2","nock":"^14.0.10","vite":"^7.1.12","turbo":"^2.5.6","eslint":"^9.34.0","express":"^5.1.0","ts-jest":"^29.4.1","prettier":"^3.6.2","@types/jest":"^30.0.0","@types/node":"^24.3.0","cross-fetch":"^4.1.0","@types/express":"^5.0.3","vite-plugin-dts":"^4.5.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","jest-environment-jsdom":"^30.1.2","@typescript-eslint/parser":"^8.41.0","@typescript-eslint/eslint-plugin":"^8.41.0"},"_npmOperationalInternal":{"tmp":"tmp/sso_1.0.33_1773402736303_0.2617440408080913","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.1":{"name":"@alien-id/sso","version":"2.0.0-alpha.1","_id":"@alien-id/sso@2.0.0-alpha.1","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"941a6d752a91db175bbb32cdf26f2fd449dca476","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-2.0.0-alpha.1.tgz","fileCount":6,"integrity":"sha512-G8msedkQGFi855RnDeRmVB7bq6lK9Sm9++mwwhfcMnSa5nRNh454kpp1PzF1y53OsEm3DweB0mSeR3yPwthCCQ==","signatures":[{"sig":"MEYCIQDSNYQe4XLV4FzM1GhTc3ahrcz8jyN7dUOwGTVgauuP+wIhANRPj7YVlqtQv9bXGD3agwxdIN7DE+M+YOmFFbsqFPdX","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alien-id%2fsso@2.0.0-alpha.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79745},"main":"./dist/index.cjs","_from":"file:alien-id-sso-2.0.0-alpha.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","test:integration":"jest tests/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1f979d4e-3579-4e79-bebe-f9c5bc3274ea"}},"_resolved":"/home/runner/work/sso-sdk-js/sso-sdk-js/packages/core/alien-id-sso-2.0.0-alpha.1.tgz","_integrity":"sha512-G8msedkQGFi855RnDeRmVB7bq6lK9Sm9++mwwhfcMnSa5nRNh454kpp1PzF1y53OsEm3DweB0mSeR3yPwthCCQ==","repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.11.0","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^30.1.2","nock":"^14.0.10","vite":"^7.1.12","turbo":"^2.5.6","eslint":"^9.34.0","express":"^5.1.0","ts-jest":"^29.4.1","prettier":"^3.6.2","@types/jest":"^30.0.0","@types/node":"^24.3.0","cross-fetch":"^4.1.0","@types/express":"^5.0.3","vite-plugin-dts":"^4.5.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","jest-environment-jsdom":"^30.1.2","@typescript-eslint/parser":"^8.41.0","@typescript-eslint/eslint-plugin":"^8.41.0"},"_npmOperationalInternal":{"tmp":"tmp/sso_2.0.0-alpha.1_1778528848281_0.5640010287928572","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.2":{"name":"@alien-id/sso","version":"2.0.0-alpha.2","_id":"@alien-id/sso@2.0.0-alpha.2","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"43aad368acf370878e8892d276439d25a168ed96","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-2.0.0-alpha.2.tgz","fileCount":6,"integrity":"sha512-Anw2hpFL/w4q12TuYrgrVhDRv6G0lPwZs4BTMybyUiZyesWJaz9s4b6tNebZHdSohmr3annd/5Ylho71tdrZvw==","signatures":[{"sig":"MEUCIGlmH5fR0oaS4oo4Gp5gIfyDbjUNKh/SIBz9/8FxuE/OAiEAykBSk5sOrBD9Ssphll6wJkmYkIPCkqY41hKL8iOGTPc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alien-id%2fsso@2.0.0-alpha.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79745},"main":"./dist/index.cjs","_from":"file:alien-id-sso-2.0.0-alpha.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","test:integration":"jest tests/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1f979d4e-3579-4e79-bebe-f9c5bc3274ea"}},"_resolved":"/home/runner/work/sso-sdk-js/sso-sdk-js/packages/core/alien-id-sso-2.0.0-alpha.2.tgz","_integrity":"sha512-Anw2hpFL/w4q12TuYrgrVhDRv6G0lPwZs4BTMybyUiZyesWJaz9s4b6tNebZHdSohmr3annd/5Ylho71tdrZvw==","repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.11.0","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^30.1.2","nock":"^14.0.10","vite":"^7.1.12","turbo":"^2.5.6","eslint":"^9.34.0","express":"^5.1.0","ts-jest":"^29.4.1","prettier":"^3.6.2","@types/jest":"^30.0.0","@types/node":"^24.3.0","cross-fetch":"^4.1.0","@types/express":"^5.0.3","vite-plugin-dts":"^4.5.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","jest-environment-jsdom":"^30.1.2","@typescript-eslint/parser":"^8.41.0","@typescript-eslint/eslint-plugin":"^8.41.0"},"_npmOperationalInternal":{"tmp":"tmp/sso_2.0.0-alpha.2_1778529420790_0.9755941352758741","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.3":{"name":"@alien-id/sso","version":"2.0.0-alpha.3","_id":"@alien-id/sso@2.0.0-alpha.3","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"7b80ab500db6e42ec69527ca4470b373c9a745b5","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-2.0.0-alpha.3.tgz","fileCount":6,"integrity":"sha512-OcgClsMmR/bUtC8Em8+CvJ36D3ibaWuQtaG7iyxTQciey5FZyaMGzGY9KyXuxxd213nPFFWK/gzEYInhFMHoow==","signatures":[{"sig":"MEYCIQDRTJFBIa67LbCllTseYrqPKEVb2NYhUn2K7JGY1bveZgIhAKN/MILMv5xT280kVWSYzkn6bZTQbL2Dght8hgYEE5jq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alien-id%2fsso@2.0.0-alpha.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":79892},"main":"./dist/index.cjs","_from":"file:alien-id-sso-2.0.0-alpha.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","test:integration":"jest tests/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1f979d4e-3579-4e79-bebe-f9c5bc3274ea"}},"_resolved":"/home/runner/work/sso-sdk-js/sso-sdk-js/packages/core/alien-id-sso-2.0.0-alpha.3.tgz","_integrity":"sha512-OcgClsMmR/bUtC8Em8+CvJ36D3ibaWuQtaG7iyxTQciey5FZyaMGzGY9KyXuxxd213nPFFWK/gzEYInhFMHoow==","repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.11.0","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^30.1.2","nock":"^14.0.10","vite":"^7.1.12","turbo":"^2.5.6","eslint":"^9.34.0","express":"^5.1.0","ts-jest":"^29.4.1","prettier":"^3.6.2","@types/jest":"^30.0.0","@types/node":"^24.3.0","cross-fetch":"^4.1.0","@types/express":"^5.0.3","vite-plugin-dts":"^4.5.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","jest-environment-jsdom":"^30.1.2","@typescript-eslint/parser":"^8.41.0","@typescript-eslint/eslint-plugin":"^8.41.0"},"_npmOperationalInternal":{"tmp":"tmp/sso_2.0.0-alpha.3_1778531837146_0.18674263544358305","host":"s3://npm-registry-packages-npm-production"}},"2.0.0-alpha.4":{"name":"@alien-id/sso","version":"2.0.0-alpha.4","_id":"@alien-id/sso@2.0.0-alpha.4","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"cfe08d37a86fe18ca8624e10bee970afdeb5b113","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-2.0.0-alpha.4.tgz","fileCount":6,"integrity":"sha512-YBt0rP1rlrvbTlw6YiiOscpG5z/RpnJCXB4n/os4FZxIykAiq5akF6La5aYkQ37YUV2VuJ07MG7Gi3zlDZmCtw==","signatures":[{"sig":"MEUCIQCp8inPm5HXss8Bz+gkye85dCN4eJVzyOIXL0BaId/mSAIgfVKNDhX0ezc6QWEjwdpLEZrO9yA6+S4YHNfDSFJhERk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alien-id%2fsso@2.0.0-alpha.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":80640},"main":"./dist/index.cjs","_from":"file:alien-id-sso-2.0.0-alpha.4.tgz","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","test:integration":"jest tests/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1f979d4e-3579-4e79-bebe-f9c5bc3274ea"}},"_resolved":"/home/runner/work/sso-sdk-js/sso-sdk-js/packages/core/alien-id-sso-2.0.0-alpha.4.tgz","_integrity":"sha512-YBt0rP1rlrvbTlw6YiiOscpG5z/RpnJCXB4n/os4FZxIykAiq5akF6La5aYkQ37YUV2VuJ07MG7Gi3zlDZmCtw==","repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.11.0","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^30.1.2","nock":"^14.0.10","vite":"^7.1.12","turbo":"^2.5.6","eslint":"^9.34.0","express":"^5.1.0","ts-jest":"^29.4.1","prettier":"^3.6.2","@types/jest":"^30.0.0","@types/node":"^24.3.0","cross-fetch":"^4.1.0","@types/express":"^5.0.3","vite-plugin-dts":"^4.5.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","jest-environment-jsdom":"^30.1.2","@typescript-eslint/parser":"^8.41.0","@typescript-eslint/eslint-plugin":"^8.41.0"},"_npmOperationalInternal":{"tmp":"tmp/sso_2.0.0-alpha.4_1778534362665_0.1475552087379013","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@alien-id/sso","version":"2.0.0","_id":"@alien-id/sso@2.0.0","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"86b76ee52383efa8be96939fa708d05eb6215640","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-2.0.0.tgz","fileCount":6,"integrity":"sha512-PjN5vHVVkqayKkGZ50geB3IJ3edEAocYsN11en2LlufJuarvy3SufgzOnymxEpadLFoNrdw4q77tlP/HMrjYBw==","signatures":[{"sig":"MEUCIH5UREajAhAOAZUHCoWJI2kFKcGLhE5+S0blloYyKUq/AiEAnp9f01zyVxIMijTPLtTZm3z3G2O8hdabSrBoDsSjfXk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alien-id%2fsso@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":80632},"main":"./dist/index.cjs","_from":"file:alien-id-sso-2.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","test:integration":"jest tests/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:1f979d4e-3579-4e79-bebe-f9c5bc3274ea"}},"_resolved":"/home/runner/work/sso-sdk-js/sso-sdk-js/packages/core/alien-id-sso-2.0.0.tgz","_integrity":"sha512-PjN5vHVVkqayKkGZ50geB3IJ3edEAocYsN11en2LlufJuarvy3SufgzOnymxEpadLFoNrdw4q77tlP/HMrjYBw==","repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.11.0","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.14.1","dependencies":{"zod":"^4.1.5"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.1.2","nock":"^14.0.10","vite":"^7.1.12","turbo":"^2.5.6","eslint":"^9.34.0","express":"^5.1.0","ts-jest":"^29.4.1","prettier":"^3.6.2","@types/jest":"^30.0.0","@types/node":"^24.3.0","cross-fetch":"^4.1.0","@types/express":"^5.0.3","vite-plugin-dts":"^4.5.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","jest-environment-jsdom":"^30.1.2","@typescript-eslint/parser":"^8.41.0","@typescript-eslint/eslint-plugin":"^8.41.0"},"_npmOperationalInternal":{"tmp":"tmp/sso_2.0.0_1778580331259_0.3632092277296015","host":"s3://npm-registry-packages-npm-production"}},"2.0.1-beta.0":{"name":"@alien-id/sso","version":"2.0.1-beta.0","_id":"@alien-id/sso@2.0.1-beta.0","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"781e4c05aa169780459a2af9335d6520e4714c2a","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-2.0.1-beta.0.tgz","fileCount":15,"integrity":"sha512-6LxSauw/tN29Z761d7ILU44yLGx98bokIjgEgdQZuzJoFoZx3ZMhtUqbY7uNwyTyUsKj/0VxPH1JY/TgJlUbaA==","signatures":[{"sig":"MEUCIQDUhOSLIrAx9uZmcg2ehBAgh6FDb34DLrV09t3O0rTUqgIgenmaDp09i7bAuwnd/P9SyuWC0+uOtdq4PjlXw8o8wZE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alien-id%2fsso@2.0.1-beta.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":85718},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"d8469c000bc14f909ec09b25708e310e1b181f62","scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","test:integration":"jest tests/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9ae1ce26-cfe3-4486-a7ef-8d4792fc6ba2"}},"repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.13.0","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.1.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"30.4.2","nock":"14.0.15","vite":"8.0.16","turbo":"2.9.18","eslint":"10.5.0","express":"5.2.1","ts-jest":"29.4.11","prettier":"3.8.4","@types/jest":"30.0.0","@types/node":"24.13.2","cross-fetch":"4.1.0","@types/express":"5.0.6","vite-plugin-dts":"5.0.2","eslint-config-prettier":"10.1.8","eslint-plugin-prettier":"5.5.6","jest-environment-jsdom":"30.4.1","@typescript-eslint/parser":"8.61.1","@typescript-eslint/eslint-plugin":"8.61.1"},"_npmOperationalInternal":{"tmp":"tmp/sso_2.0.1-beta.0_1782376044932_0.44470395735977264","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@alien-id/sso","version":"2.0.1","_id":"@alien-id/sso@2.0.1","maintainers":[{"name":"truehazker-eti","email":"egor@eti.co"},{"name":"sampekmoy","email":"sampekmoy@gmail.com"},{"name":"alexanikin","email":"a@eti.co"},{"name":"dushebaa","email":"dushebaa75@gmail.com"}],"homepage":"https://github.com/alien-id/sso-sdk-js#readme","bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"dist":{"shasum":"68c0435d99c86af60dd98fe41c1567a3f8f48e08","tarball":"https://registry.npmjs.org/@alien-id/sso/-/sso-2.0.1.tgz","fileCount":15,"integrity":"sha512-n649g9IcwDfAqAhOpjKUipze40QYmhPSnzBsXgJk0vT8fKyssypbw1NPRBHUo+PdThXaHsGsFeik9Woy1og8bg==","signatures":[{"sig":"MEQCICGda1XUqkS88DYbtqD0gkOpaF+mnKgd1vO9Dt5JpOYVAiBINpMKMc/2qD4JHr3OPrRGqQ9xJiMSnSfhRFjP87wLRg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alien-id%2fsso@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":85711},"main":"./dist/index.cjs","types":"./dist/index.d.ts","module":"./dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.cjs"}},"gitHead":"70af3d163e9bb8a9724a80c0c3c708729be2b0e4","scripts":{"dev":"vite build --watch","test":"jest","build":"vite build","release":"npm publish --access public","test:unit":"jest tests/unit","test:watch":"jest --watch","test:integration":"jest tests/integration"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9ae1ce26-cfe3-4486-a7ef-8d4792fc6ba2"}},"repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"_npmVersion":"11.13.0","description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"^4.1.5"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"jest":"30.4.2","nock":"14.0.15","vite":"8.0.16","turbo":"2.9.18","eslint":"10.5.0","express":"5.2.1","ts-jest":"29.4.11","prettier":"3.8.4","@types/jest":"30.0.0","@types/node":"24.13.2","cross-fetch":"4.1.0","@types/express":"5.0.6","vite-plugin-dts":"5.0.2","eslint-config-prettier":"10.1.8","eslint-plugin-prettier":"5.5.6","jest-environment-jsdom":"30.4.1","@typescript-eslint/parser":"8.61.1","@typescript-eslint/eslint-plugin":"8.61.1"},"_npmOperationalInternal":{"tmp":"tmp/sso_2.0.1_1782388149701_0.9199929476051449","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-03-12T19:21:41.317Z","modified":"2026-06-30T11:16:29.261Z","1.0.23":"2026-03-12T18:42:15.533Z","1.0.25":"2026-03-12T19:21:41.537Z","1.0.26":"2026-03-12T19:42:16.936Z","1.0.33":"2026-03-13T11:52:16.445Z","2.0.0-alpha.1":"2026-05-11T19:47:28.441Z","2.0.0-alpha.2":"2026-05-11T19:57:00.934Z","2.0.0-alpha.3":"2026-05-11T20:37:17.363Z","2.0.0-alpha.4":"2026-05-11T21:19:22.855Z","2.0.0":"2026-05-12T10:05:31.402Z","2.0.1-beta.0":"2026-06-25T08:27:25.075Z","2.0.1":"2026-06-25T11:49:09.835Z"},"bugs":{"url":"https://github.com/alien-id/sso-sdk-js/issues"},"homepage":"https://github.com/alien-id/sso-sdk-js#readme","repository":{"url":"git+https://github.com/alien-id/sso-sdk-js.git","type":"git"},"description":"Core TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.","maintainers":[{"email":"egor@eti.co","name":"truehazker-eti"},{"email":"sampekmoy@gmail.com","name":"sampekmoy"},{"email":"a@eti.co","name":"alexanikin"}],"readme":"# @alien-id/sso\n\nCore TypeScript client for [Alien SSO](https://alien.org) authentication. Provides OIDC-compatible authentication with blockchain and TEE backing.\n\n## ⚠️ Alpha Version Notice\n\n**This is an early alpha version.** The SDK is under active development and may contain bugs or undergo breaking changes. Use with caution in production environments.\n\n## Installation\n\n```bash\nnpm install @alien-id/sso\n```\n\n## Features\n\n- ✅ **TypeScript-first** with full type safety\n- ✅ **Runtime validation** via Zod schemas\n- ✅ **PKCE support** for secure authorization\n- ✅ **Dual exports**: ESM and CJS\n- ✅ **Zero UI dependencies** - use in any JavaScript environment\n- ✅ **Storage management** for tokens and session data\n\n## Documentation\n\n📚 **Full documentation at [dev.alien.org/docs](https://dev.alien.org/docs)**\n\n- **[Integration Guide](https://dev.alien.org/docs/sso-guide/core-integration)** - Complete integration walkthrough\n- **[API Reference](https://dev.alien.org/docs/sso-api-reference/api-reference-core)** - Detailed API documentation\n- **[What is Alien Session?](https://dev.alien.org/docs/what-is-alien-session)** - Session architecture explained\n- **[Demo App](https://dev.alien.org/docs/sso-demo-app)** - Example application\n\n### React Integration\n\nIf you're using React, check out [@alien-id/sso-react](https://www.npmjs.com/package/@alien-id/sso-react) for hooks and pre-built components:\n\n```bash\nnpm install @alien-id/sso-react\n```\n\n## Authentication Flow\n\n1. **Generate deeplink** → Display QR code or redirect\n2. **User authenticates** in Alien mobile app\n3. **Poll for completion** → Get authorization code\n4. **Exchange code** → Receive access token\n5. **Verify token** → Validate with server (optional)\n\n## Server-side ID token verification\n\nFor backends and edge runtimes that receive an `id_token` from a logged-in\nuser, this package ships a minimal, standards-strict OIDC verifier that\nruns on Web Crypto (no Node-only dependencies — works in Node 18+, browsers,\nCloudflare Workers, Vercel Edge, Deno). For *agent* authentication (where\nthe caller is a non-human agent on behalf of a human owner), use\n[`@alien-id/sso-agent-id`](https://www.npmjs.com/package/@alien-id/sso-agent-id)\ninstead.\n\n```typescript\nimport { verifyIdToken, JwksCache } from '@alien-id/sso';\n\nconst jwks = new JwksCache('https://sso.alien-api.com/oauth/jwks');\n\nasync function authenticate(idToken: string) {\n  const result = await verifyIdToken(idToken, {\n    jwks: await jwks.get(),\n    expectedIssuer: 'https://sso.alien-api.com',\n    expectedAudience: process.env.ALIEN_PROVIDER_ADDRESS!, // your OAuth client_id\n    expectedNonce: storedNonce, // only if the auth request sent a nonce\n  });\n  if (!result) return null;   // rejected — failure mode is intentionally opaque\n  return result.payload;      // { sub, iss, aud, exp, ... }\n}\n```\n\n`verifyIdToken` returns the parsed payload on success and `null` on any\nfailure. The opaqueness is deliberate — an authentication boundary should\nnot leak which check failed (no oracle), and there is no actionable recovery\nfor any specific failure mode beyond \"reject\".\n\n### What gets checked\n\nThe JWKS is fetched from the SSO's `/oauth/jwks` endpoint, which is\nadvertised by `/.well-known/openid-configuration` per OIDC Discovery /\nRFC 8414. `verifyIdToken` then enforces, in order:\n\n- Strict RFC 4648 §5 base64url alphabet on every JWT segment (no permissive\n  decoding that could smuggle non-canonical bytes)\n- Header: `typ` is absent / `JWT` / `application/jwt` (case-insensitive per\n  RFC 6838 §4.2); `alg=RS256` only; non-empty `crit` is rejected (RFC 7515\n  §4.1.11, RFC 8725 §3.7)\n- RS256 signature under a JWKS key matching `kid`, `kty=RSA`,\n  `use=sig`-or-absent, pinned `alg`-or-absent (RFC 7515 §10.7), with RSA\n  modulus ≥ 2048 bits (RFC 7518 §3.3 / RFC 8725 §3.5)\n- `iss == expectedIssuer`; `sub` present and non-empty string\n- `aud` contains `expectedAudience`; every `aud` entry is in the trust set\n  (defaults to `{expectedAudience}`); `azp` rules enforced for\n  multi-audience tokens (OIDC §3.1.3.7.3 / .7.6 / .7.7)\n- `exp > now - clockSkewSec`; `nbf` (if present) ≤ `now + clockSkewSec`;\n  `iat` (if present) is a `NumericDate` (RFC 7519 §4.1.4-6)\n- `nonce == expectedNonce` when supplied (OIDC §3.1.3.7 step 11)\n\n28 unit tests cover the matrix; run `npm test -- tests/unit/verify.test.ts`.\n\n### API\n\n| Export | Purpose |\n| --- | --- |\n| `verifyIdToken(token, opts)` | Verify a JWS id_token; returns `{ payload }` on success or `null` on any failure |\n| `JwksCache(url, opts?)` | TTL-cached JWKS fetcher (default TTL 24 h) — call `.get()` per verification |\n| `fetchJwks(url)` | One-shot JWKS fetcher (useful for tests / custom caching) |\n| `parseJwt(token)` | Strict JWS structural parser (used internally; exported for tooling) |\n\n| `VerifyIdTokenOptions` | Type | Description |\n| --- | --- | --- |\n| `jwks` | `JWKS` | Pre-fetched JWKS, typically from `JwksCache.get()` |\n| `expectedIssuer` | `string` | Required. Typically `https://sso.alien-api.com` |\n| `expectedAudience` | `string` | Required. Your OAuth `client_id` |\n| `expectedNonce` | `string` | Required iff the auth request sent a `nonce` |\n| `clockSkewSec` | `number` | Default `30` |\n| `trustedAudiences` | `readonly string[]` | Additional `aud` values to trust (default `[expectedAudience]`) |\n\n### What this is *not*\n\n- **Not an opaque-token introspector.** This verifies *id_tokens* (signed\n  JWS); it does not call `/oauth/introspect` for opaque access tokens.\n- **Not an agent verifier.** When the request comes from an autonomous\n  agent acting on behalf of a user, the caller signs each request and\n  proves they hold the key the id_token was bound to. Use\n  `@alien-id/sso-agent-id` for that flow — it walks the full agent →\n  binding → id_token chain.\n\n## Storage\n\nThe SDK uses browser storage for session management:\n\n- **localStorage**: `alien-sso_access_token` - Access token\n- **sessionStorage**: `alien-sso_code_verifier` - PKCE code verifier\n\n## Getting a Provider Address\n\nRegister your application at the [Developer Portal](https://dev.alien.org/dashboard) to get your provider credentials.\n\n## TypeScript Support\n\nIncludes full TypeScript declarations with Zod runtime validation:\n\n```typescript\nimport type {\n  AlienSsoClientConfig,\n  AuthorizeResponse,\n  PollResponse,\n  ExchangeCodeResponse,\n  TokenInfo\n} from '@alien-id/sso';\n```\n\n## Browser Support\n\n- Modern browsers with ES2020+ support\n- Chrome, Firefox, Safari, Edge (latest versions)\n\n## License\n\nMIT\n\n## Links\n\n- [Documentation](https://dev.alien.org/docs)\n- [GitHub Repository](https://github.com/alien-id/sso-sdk-js)\n- [NPM Package](https://www.npmjs.com/package/@alien-id/sso)\n","readmeFilename":"README.md"}