{"_id":"@agenticprimitives/connect-client","_rev":"10-c220d9d7679710e0309a2bb43f7355df","name":"@agenticprimitives/connect-client","dist-tags":{"latest":"1.0.0-alpha.14"},"versions":{"1.0.0-alpha.1":{"name":"@agenticprimitives/connect-client","version":"1.0.0-alpha.1","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"license":"MIT","_id":"@agenticprimitives/connect-client@1.0.0-alpha.1","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"4ca06f8a1332277a6affb6344f39fbf09377bbb4","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.1.tgz","fileCount":20,"integrity":"sha512-v071gfB8XHoKrhHd5eDWMIFn3K7xAye5HkRtt4BBJtL7QNAy1Q/4zvwGXjb5oWD7I8kzUt21qYHxH6DGpKwyIw==","signatures":[{"sig":"MEYCIQCUI3HhmRLS8yC0frOGm+Ikj3pqDAxsS7i9QPkE/o6nhwIhAJITlmMXYxjk5jUkNUMjXAgdylTdenUGUqeDidy6yhlA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61354},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"_npmUser":{"name":"richcanvas","email":"richardpedersen3@gmail.com"},"_resolved":"/tmp/631052bdb4f3ae438026859fdc0e041c/agenticprimitives-connect-client-1.0.0-alpha.1.tgz","_integrity":"sha512-v071gfB8XHoKrhHd5eDWMIFn3K7xAye5HkRtt4BBJtL7QNAy1Q/4zvwGXjb5oWD7I8kzUt21qYHxH6DGpKwyIw==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.16.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.13","@agenticprimitives/fedcm-rp":"1.0.0-alpha.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/connect-client_1.0.0-alpha.1_1782902648327_0.35523051781059944","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.5":{"name":"@agenticprimitives/connect-client","version":"1.0.0-alpha.5","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"license":"MIT","_id":"@agenticprimitives/connect-client@1.0.0-alpha.5","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"70d41a7bc909c5c7c4c9990cd36676144c6615ef","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.5.tgz","fileCount":24,"integrity":"sha512-8zj4GQhTIjxPlfxD/0iKV6BQVicLZWgEJtgwkXOSKHVbzkKERSvBwEMj78g/SpBK+BIbHoEOaRM6pJBg1ZXJyA==","signatures":[{"sig":"MEYCIQDZaBQrpJYT2T+zqniZ7dIM9X5pNz5e3pKxbzKDRwLVrQIhAOrDbdqLs1d8R+daiw2OHOXC7w/X65aW5gOTGQtftrS3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66344},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.5.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"_npmUser":{"name":"richcanvas","email":"richardpedersen3@gmail.com"},"_resolved":"/tmp/48041cd2bec8f64bae3083504ba75125/agenticprimitives-connect-client-1.0.0-alpha.5.tgz","_integrity":"sha512-8zj4GQhTIjxPlfxD/0iKV6BQVicLZWgEJtgwkXOSKHVbzkKERSvBwEMj78g/SpBK+BIbHoEOaRM6pJBg1ZXJyA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.16.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.17","@agenticprimitives/fedcm-rp":"1.0.0-alpha.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/connect-client_1.0.0-alpha.5_1784044281376_0.3034959489134228","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.7":{"name":"@agenticprimitives/connect-client","version":"1.0.0-alpha.7","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"license":"MIT","_id":"@agenticprimitives/connect-client@1.0.0-alpha.7","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"c9b6736cc0fde8eb7c184480611f2d38e13e2533","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.7.tgz","fileCount":24,"integrity":"sha512-PfwlNr07faVFzZxfU4KhqhrcwzMVcZower592R0ClzPEl9isTSACv1Kv/SIxT5zvPLAYk+PScu2whQoBzrJNew==","signatures":[{"sig":"MEQCICA7aQq51zMmfqCPXY6gbBIhlM5Iy+9WKj5VqJugQnTIAiAVn0sH9PLLywEzpSV5/ukVLJOzFJJAChtbsc2wkVzlxw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66549},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.7.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"_npmUser":{"name":"richcanvas","email":"richardpedersen3@gmail.com"},"_resolved":"/tmp/0e77d5bdffab6a0e70eca474bc9f7017/agenticprimitives-connect-client-1.0.0-alpha.7.tgz","_integrity":"sha512-PfwlNr07faVFzZxfU4KhqhrcwzMVcZower592R0ClzPEl9isTSACv1Kv/SIxT5zvPLAYk+PScu2whQoBzrJNew==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.16.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.19","@agenticprimitives/fedcm-rp":"1.0.0-alpha.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/connect-client_1.0.0-alpha.7_1784685160363_0.5057369110188745","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.8":{"name":"@agenticprimitives/connect-client","version":"1.0.0-alpha.8","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"license":"MIT","_id":"@agenticprimitives/connect-client@1.0.0-alpha.8","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"b60100988a650feaca5c3ba8b972c51256d5b01d","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.8.tgz","fileCount":24,"integrity":"sha512-rYHxdzfPrhOg1yO59YBCtmX24KmmpUoeIpehKLJe59J3KzRaRfNj3Wzb2TVESk1AxIaKbh590opPwRgkxMMzkw==","signatures":[{"sig":"MEQCIGYrwOhq3Cdbrj+f4EiZZN4cBrme2tRGJOYlk921WDf1AiAlFJckcN6qRsEbrD3Ery/gg8wKP+wJajoqVM+ZrkLdUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66549},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.8.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:609d7ee5-5b36-443d-9488-72c4c1ad6bd7"}},"_resolved":"/tmp/d3573fa596e4d96631b653e20abc727d/agenticprimitives-connect-client-1.0.0-alpha.8.tgz","_integrity":"sha512-rYHxdzfPrhOg1yO59YBCtmX24KmmpUoeIpehKLJe59J3KzRaRfNj3Wzb2TVESk1AxIaKbh590opPwRgkxMMzkw==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.16.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.20","@agenticprimitives/fedcm-rp":"1.0.0-alpha.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/connect-client_1.0.0-alpha.8_1784817569972_0.5199998636045751","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.9":{"name":"@agenticprimitives/connect-client","version":"1.0.0-alpha.9","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"license":"MIT","_id":"@agenticprimitives/connect-client@1.0.0-alpha.9","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"b559c1cb12131eef6421d83551c637a1f50f7b69","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.9.tgz","fileCount":24,"integrity":"sha512-uSRsirCoBtW5SZznQEruMiLI92NdYLB2ShNRClKZt+csRRtTvDrQEdiSsnBSq/6iwEZZsAnD0z6TLbrs3bxSQQ==","signatures":[{"sig":"MEUCIDqjS6ae8VBUutdW+axHUcL6TBAU1090DzWE2V//ql14AiEA/iZqQICEwqp0YeNLL3h5zwH1rlRUw1mRnMV9/kC9K8s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66549},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.9.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:609d7ee5-5b36-443d-9488-72c4c1ad6bd7"}},"_resolved":"/tmp/2eeb3c0c09404d9e2dcbec0a33c7a6cc/agenticprimitives-connect-client-1.0.0-alpha.9.tgz","_integrity":"sha512-uSRsirCoBtW5SZznQEruMiLI92NdYLB2ShNRClKZt+csRRtTvDrQEdiSsnBSq/6iwEZZsAnD0z6TLbrs3bxSQQ==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.16.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.21","@agenticprimitives/fedcm-rp":"1.0.0-alpha.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/connect-client_1.0.0-alpha.9_1785727499060_0.9232376828170443","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.10":{"name":"@agenticprimitives/connect-client","version":"1.0.0-alpha.10","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"license":"MIT","_id":"@agenticprimitives/connect-client@1.0.0-alpha.10","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"24adb18d7bda7be829e5acd42687181fecb9b0b5","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.10.tgz","fileCount":28,"integrity":"sha512-wlHAyyOhcei024sskLUATwJr7hDNLSGFvuMAeooXJWvHfpvzvFCMsF2fkmnTP8tS5mtsUxn4ii7xR/RM33PqTg==","signatures":[{"sig":"MEUCIQC1IgiRlUU9+DWV4N9LTpk0LNPy9IppLCnkIZs3w4W1GQIgdfFbHKn6LlXcN01snDNkpRPW4mW43ufv4wCoFeiCF58=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":77743},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.10.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:609d7ee5-5b36-443d-9488-72c4c1ad6bd7"}},"_resolved":"/tmp/6e33c6a860e1e87f09d3b917c2e63b37/agenticprimitives-connect-client-1.0.0-alpha.10.tgz","_integrity":"sha512-wlHAyyOhcei024sskLUATwJr7hDNLSGFvuMAeooXJWvHfpvzvFCMsF2fkmnTP8tS5mtsUxn4ii7xR/RM33PqTg==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.16.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.21","@agenticprimitives/fedcm-rp":"1.0.0-alpha.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/connect-client_1.0.0-alpha.10_1785806730108_0.07376573382107976","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.11":{"name":"@agenticprimitives/connect-client","version":"1.0.0-alpha.11","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"license":"MIT","_id":"@agenticprimitives/connect-client@1.0.0-alpha.11","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"7c47c5cb6171a620603bb70c6b3ae420f39c2fb1","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.11.tgz","fileCount":28,"integrity":"sha512-NK/PnW1lfDZM78dLLv29jKOda+Z6awl4HcI2LFdhp+357v0NaGy1oN2T0AHlnPo+lC/jEmyjY1xNeyZbV9rtdw==","signatures":[{"sig":"MEUCIQCbqtdu0PxTAWNvMLc4KNE4LKHVqJAXXo191zYWzHOmngIgYz9Ss1srmKFX8HyO6zei6nc+eEZTV4hSZhmj68swlyY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79101},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.11.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:609d7ee5-5b36-443d-9488-72c4c1ad6bd7"}},"_resolved":"/tmp/4eef529a1f61771d5bae2ae8f0f3af80/agenticprimitives-connect-client-1.0.0-alpha.11.tgz","_integrity":"sha512-NK/PnW1lfDZM78dLLv29jKOda+Z6awl4HcI2LFdhp+357v0NaGy1oN2T0AHlnPo+lC/jEmyjY1xNeyZbV9rtdw==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.17.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.21","@agenticprimitives/fedcm-rp":"1.0.0-alpha.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/connect-client_1.0.0-alpha.11_1787767899627_0.56385606834226","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.12":{"name":"@agenticprimitives/connect-client","version":"1.0.0-alpha.12","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"license":"MIT","_id":"@agenticprimitives/connect-client@1.0.0-alpha.12","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"70916b9c6d70126abf82864838b38dd5641698e1","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.12.tgz","fileCount":28,"integrity":"sha512-e53jf0dkVBXrarYJEJOvUuo1dukDAhiAh0QjVnrP6n0SIyy8xzumIESDZaqwuHMHaYGQDTPkw5z3OKjB25kfnA==","signatures":[{"sig":"MEUCIDzm/UkUw1ourU7BpbUzd7LASnYC/rDX7jXc502nw7alAiEAjK1p8qIvYu8bS5xzoMuagT26k3Uq+ZM2YxP5rq5+u3E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79101},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.12.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:609d7ee5-5b36-443d-9488-72c4c1ad6bd7"}},"_resolved":"/tmp/dbd3958541ecd9bceed14fd60cc83e24/agenticprimitives-connect-client-1.0.0-alpha.12.tgz","_integrity":"sha512-e53jf0dkVBXrarYJEJOvUuo1dukDAhiAh0QjVnrP6n0SIyy8xzumIESDZaqwuHMHaYGQDTPkw5z3OKjB25kfnA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.17.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.22","@agenticprimitives/fedcm-rp":"1.0.0-alpha.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/connect-client_1.0.0-alpha.12_1787775690248_0.46359217279359655","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.13":{"name":"@agenticprimitives/connect-client","version":"1.0.0-alpha.13","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"license":"MIT","_id":"@agenticprimitives/connect-client@1.0.0-alpha.13","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"117f19ebdbf012528962684cff53e96ac20fbab2","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.13.tgz","fileCount":28,"integrity":"sha512-FmuLtY1Qu9GLJTZwxJj1Noly9tpDPrsjX4i0RosszLRimv3E97EA9QclDV6liuEDbLMOFJ9XDadzVsjkcfmtBA==","signatures":[{"sig":"MEUCIHXqKHEzIJhZgldB1mekgDuDKZjMnwgYIpdrJKMmjKY/AiEAr2GyRbhdLD7BKjdbRfxdwEmOZWScxvljSms6hp/UA+c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGe6U4c5cekZW4fyABzwa7FHJIALA0qcK9BNm4S5UqGmAiEA3l8/aUqoVG22mZVny3wkPuACpkJflcAmgXt0iUDxbOk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79101},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.13.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:609d7ee5-5b36-443d-9488-72c4c1ad6bd7"}},"_resolved":"/tmp/f93551a6dd88859e63cf070c2bcbec74/agenticprimitives-connect-client-1.0.0-alpha.13.tgz","_integrity":"sha512-FmuLtY1Qu9GLJTZwxJj1Noly9tpDPrsjX4i0RosszLRimv3E97EA9QclDV6liuEDbLMOFJ9XDadzVsjkcfmtBA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.19.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.23","@agenticprimitives/fedcm-rp":"1.0.0-alpha.7"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/connect-client_1.0.0-alpha.13_1789164153180_0.3592917988885531","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-alpha.14":{"_id":"@agenticprimitives/connect-client@1.0.0-alpha.14","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"c0d4bae4f18ed0e619d8efc2a6e90426a01c08ad","tarball":"https://registry.npmjs.org/@agenticprimitives/connect-client/-/connect-client-1.0.0-alpha.14.tgz","fileCount":28,"integrity":"sha512-TFXB5Ktlbec752kCSmLdcpqjLyOvBvTWAU16NbKEwgchIuOLbMLzNCaR3I5g1eIrgA7F2gPHqt5PncnmM8+Uaw==","signatures":[{"sig":"MEUCIQDEkhU2DTG5WnTFYokpqkhy7kwNHvgzYHYKjjqDKha3XAIgVXtJCBR9GZ2C/OeCRm0Jq0NaDptLd4Mc8ycnI1GmZBI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCcw53KJgvTOplggLswrUdHga/jRxB+qzkEJ9JEyRqr/wIhAKas5lVIwnFNkxlA7piuylqosvskaR3nTUtAUW62Wcdn"}],"unpackedSize":79101},"main":"./dist/index.js","name":"@agenticprimitives/connect-client","type":"module","_from":"file:agenticprimitives-connect-client-1.0.0-alpha.14.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"license":"MIT","scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","clean":"rm -rf dist","test:unit":"vitest run test/unit --passWithNoTests","typecheck":"tsc -p tsconfig.json --noEmit","test:watch":"vitest","test:integration":"vitest run test/integration --passWithNoTests"},"version":"1.0.0-alpha.14","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:609d7ee5-5b36-443d-9488-72c4c1ad6bd7"}},"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"_resolved":"/tmp/bab65d8690237dc8e341e843f848e389/agenticprimitives-connect-client-1.0.0-alpha.14.tgz","_integrity":"sha512-TFXB5Ktlbec752kCSmLdcpqjLyOvBvTWAU16NbKEwgchIuOLbMLzNCaR3I5g1eIrgA7F2gPHqt5PncnmM8+Uaw==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"_npmVersion":"11.19.0","description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","directories":{},"maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"@agenticprimitives/types":"1.0.0-alpha.24","@agenticprimitives/fedcm-rp":"1.0.0-alpha.8"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/connect-client_1.0.0-alpha.14_1789230614664_0.9658775913313475"}}},"time":{"created":"2026-07-01T10:44:08.160Z","modified":"2026-09-12T16:30:14.922Z","1.0.0-alpha.1":"2026-07-01T10:44:08.462Z","1.0.0-alpha.5":"2026-07-14T15:51:21.547Z","1.0.0-alpha.7":"2026-07-22T01:52:40.497Z","1.0.0-alpha.8":"2026-07-23T14:39:30.128Z","1.0.0-alpha.9":"2026-08-03T03:24:59.203Z","1.0.0-alpha.10":"2026-08-04T01:25:30.262Z","1.0.0-alpha.11":"2026-08-26T18:11:39.773Z","1.0.0-alpha.12":"2026-08-26T20:21:30.387Z","1.0.0-alpha.13":"2026-09-11T22:02:33.277Z","1.0.0-alpha.14":"2026-09-12T16:30:14.744Z"},"bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"license":"MIT","homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/connect-client","keywords":["oidc","relying-party","connect","fedcm","sign-in","agentic"],"repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/connect-client"},"description":"Generic relying-party connect client: hand off to the central-auth Home (FedCM-first → OIDC redirect/popup), exchange the code for an SA-signed scoped delegation. The relying half of spec 230/259; no credential ever originates in the relying app.","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"readme":"# @agenticprimitives/connect-client\n\nThe **relying-party** half of Connect. A relying app makes no credential or OAuth request itself: it hands\noff to the user's central-auth **Home** (the IdP) — which runs the credential ceremony (wallet / Google /\nYouVersion / passkey) and custody — and gets back an SA-signed scoped delegation. Standard OIDC\n(`authorize → code → /token`) with a seamless **FedCM-first** front.\n\nSee [spec 295](../../specs/295-relying-connect-client.md), [spec 230 / 259](../../specs/259-relying-idp-responsibility-split.md),\n[ADR-0019](../../docs/architecture/decisions/0019-relying-site-authority-is-a-scoped-delegation.md),\n[ADR-0021](../../docs/architecture/decisions/0021-generic-packages-vs-white-label-apps.md),\n[ADR-0032](../../docs/architecture/decisions/0032-fedcm-delegation-via-substrate-grant-endpoint.md).\n\n## Why\n\nYouVersion/Google OAuth clients are **origin-pinned to the registered Home origin**. If a relying app\noriginates the OAuth itself (from its own origin), strict providers reject it. The fix — and the doctrine —\nis that the Home is the single credential/OAuth origin; relying apps only ever exchange a returned code. This\npackage is that relying-side protocol, extracted once instead of copied per app.\n\n## Usage\n\n```ts\nimport { createConnectClient, connectViaFedcm, connectViaPopup, connectViaRedirect } from '@agenticprimitives/connect-client';\n\n// The app injects its domain.ts — NO hostnames live in this package (ADR-0021).\nconst connect = createConnectClient({\n  clientId: 'demo-web',\n  delegate: '0x…',                       // the relying-site backend account the Home scopes its grant to\n  redirectUri: () => window.location.origin + '/',\n  resolveAuthOrigin: (name) => resolveHomeOrigin(name),   // app: name → <home> | apex\n  isAllowedIssuerOrigin: (o) => isAllowedHome(o),         // app: issuer allowlist\n});\n\n// FedCM-first, then popup, then redirect (the seamless launcher):\ntry {\n  const r = await connectViaFedcm(await resolveHomeOrigin(''), 'demo-web', onProgress);\n  // r.idToken + r.delegation — done, no /token round-trip\n} catch {\n  const p = await connectViaPopup(connect, name, 'demo-web-connect-relay', onProgress, signal);\n  if (p.status === 'blocked') {\n    const { url, stash } = await connectViaRedirect(connect, name);\n    sessionStorage.setItem('connect', JSON.stringify(stash));\n    window.location.href = url;                            // returns ?code&state\n  } else if (p.status === 'success') {\n    const tok = await connect.exchangeCode(p.authOrigin, p.code, p.codeVerifier);\n    await connect.verifyIdToken(p.authOrigin, tok.idToken, p.stash.nonce);\n  }\n}\n```\n\nOn `?code&state` return (the redirect path), read the stash, `exchangeCode`, then `verifyIdToken`.\n\n## Boundary\n\nRelying side only. The broker/Home side is `@agenticprimitives/connect`; credential ceremonies live at the\nHome (`connect-auth`). This package imports only `@agenticprimitives/types` + `@agenticprimitives/fedcm-rp`,\nis WebCrypto-only, and contains no hostnames.\n","readmeFilename":"README.md"}