{"_id":"@agenticprimitives/privacy-credentials","_rev":"7-fcc653d1277bc3442b4630771498390c","name":"@agenticprimitives/privacy-credentials","dist-tags":{"latest":"0.0.0-alpha.7"},"versions":{"0.0.0-alpha.1":{"name":"@agenticprimitives/privacy-credentials","version":"0.0.0-alpha.1","keywords":["agentic","primitives","privacy","sd-jwt","selective-disclosure","pseudonym"],"license":"MIT","_id":"@agenticprimitives/privacy-credentials@0.0.0-alpha.1","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/privacy-credentials","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"e57bb13803d48a94397057ab3b5e1e0d59a6ba88","tarball":"https://registry.npmjs.org/@agenticprimitives/privacy-credentials/-/privacy-credentials-0.0.0-alpha.1.tgz","fileCount":27,"integrity":"sha512-ATBV6+ZXToLL8iEkHeRPdaF/J9TCA6CJ87Occ7krP1i/1mVQOCALE9gG5OYSoJ6SGMWv2ylQywmM36MKCuCMaA==","signatures":[{"sig":"MEUCIQD+AsOMi12wExnEnLtZSWpUKid91se5cHiuwjWPjAaJxAIgSt0w0Na6stFRr5j3wkNbkLBDKGULS8fMsJGzOaqSHLc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53772},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-privacy-credentials-0.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"},"_npmUser":{"name":"richcanvas","email":"richardpedersen3@gmail.com"},"_resolved":"/tmp/75459f5252bf87c5f40961a8455a6962/agenticprimitives-privacy-credentials-0.0.0-alpha.1.tgz","_integrity":"sha512-ATBV6+ZXToLL8iEkHeRPdaF/J9TCA6CJ87Occ7krP1i/1mVQOCALE9gG5OYSoJ6SGMWv2ylQywmM36MKCuCMaA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/privacy-credentials"},"_npmVersion":"11.16.0","description":"Privacy presentation layer (spec 305 / G-6): selectively-disclosed SD-JWT VC presentations, pairwise relationship pseudonyms, spec-304 issuer-key facet verification. One suite per request, never a fallback ladder.","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0"},"_npmOperationalInternal":{"tmp":"tmp/privacy-credentials_0.0.0-alpha.1_1784044315475_0.613289351052531","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.2":{"name":"@agenticprimitives/privacy-credentials","version":"0.0.0-alpha.2","keywords":["agentic","primitives","privacy","sd-jwt","selective-disclosure","pseudonym"],"license":"MIT","_id":"@agenticprimitives/privacy-credentials@0.0.0-alpha.2","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/privacy-credentials","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"349ab989959c21b7967cc5c6a45a29a8f3605810","tarball":"https://registry.npmjs.org/@agenticprimitives/privacy-credentials/-/privacy-credentials-0.0.0-alpha.2.tgz","fileCount":27,"integrity":"sha512-y0V/3AUo91iGS886535iV6s2xpAX0mO3qVX6R9zsx/qbS/Xmq6U0l7FrAsgTx9UWgigEDDF+pVvIJR//KkS6mA==","signatures":[{"sig":"MEQCIBhmjyYw66CRHVE4AeqZfZkMkI8enmPAdmJf+c2b36SwAiBXdpwGsLei8D+O8idm+XbyDTVzAk3uWorBj25TtGQGDA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53118},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-privacy-credentials-0.0.0-alpha.2.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"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0c1bfce5-6d52-4274-aafb-3a42c3ca9739"}},"_resolved":"/tmp/afc16ab6f6fd50d2e3c6bfa67eddec16/agenticprimitives-privacy-credentials-0.0.0-alpha.2.tgz","_integrity":"sha512-y0V/3AUo91iGS886535iV6s2xpAX0mO3qVX6R9zsx/qbS/Xmq6U0l7FrAsgTx9UWgigEDDF+pVvIJR//KkS6mA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/privacy-credentials"},"_npmVersion":"11.16.0","description":"Privacy presentation layer (spec 305 / G-6): selectively-disclosed SD-JWT VC presentations, pairwise relationship pseudonyms, spec-304 issuer-key facet verification. One suite per request, never a fallback ladder.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0","@agenticprimitives/types":"1.0.0-alpha.21"},"peerDependencies":{"@agenticprimitives/types":"1.0.0-alpha.21"},"_npmOperationalInternal":{"tmp":"tmp/privacy-credentials_0.0.0-alpha.2_1785727530288_0.5383066015427462","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.3":{"name":"@agenticprimitives/privacy-credentials","version":"0.0.0-alpha.3","keywords":["agentic","primitives","privacy","sd-jwt","selective-disclosure","pseudonym"],"license":"MIT","_id":"@agenticprimitives/privacy-credentials@0.0.0-alpha.3","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/privacy-credentials","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"9d35922f90bb1bc35f1a9cb64a76f3ec2ba28d45","tarball":"https://registry.npmjs.org/@agenticprimitives/privacy-credentials/-/privacy-credentials-0.0.0-alpha.3.tgz","fileCount":27,"integrity":"sha512-mggjkeeXntzmf1ftrhiEXlPUM2fkNsQJLc5dVSx5ankekeWk68IKyf/qjoxS/8whsPSZo2hiQATfFXVi0h5hHA==","signatures":[{"sig":"MEUCIQDuala2nEXwfDWktoe0dFfuMFNvZfKjC7hk4QUel6igxwIgcUM8UePKyK5d+Y9TQrNlFkPS3SfYpNy5mX7gxFv/0IA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53118},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-privacy-credentials-0.0.0-alpha.3.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"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0c1bfce5-6d52-4274-aafb-3a42c3ca9739"}},"_resolved":"/tmp/73cd37c21cfa48cdd551769c58f69764/agenticprimitives-privacy-credentials-0.0.0-alpha.3.tgz","_integrity":"sha512-mggjkeeXntzmf1ftrhiEXlPUM2fkNsQJLc5dVSx5ankekeWk68IKyf/qjoxS/8whsPSZo2hiQATfFXVi0h5hHA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/privacy-credentials"},"_npmVersion":"11.17.0","description":"Privacy presentation layer (spec 305 / G-6): selectively-disclosed SD-JWT VC presentations, pairwise relationship pseudonyms, spec-304 issuer-key facet verification. One suite per request, never a fallback ladder.","directories":{},"_nodeVersion":"24.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0","@agenticprimitives/types":"1.0.0-alpha.22"},"peerDependencies":{"@agenticprimitives/types":"1.0.0-alpha.22"},"_npmOperationalInternal":{"tmp":"tmp/privacy-credentials_0.0.0-alpha.3_1787775719118_0.12625239637814634","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.4":{"name":"@agenticprimitives/privacy-credentials","version":"0.0.0-alpha.4","keywords":["agentic","primitives","privacy","sd-jwt","selective-disclosure","pseudonym"],"license":"MIT","_id":"@agenticprimitives/privacy-credentials@0.0.0-alpha.4","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/privacy-credentials","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"546e5ce59bc64782fa9f5e3e40822a1e387b4b58","tarball":"https://registry.npmjs.org/@agenticprimitives/privacy-credentials/-/privacy-credentials-0.0.0-alpha.4.tgz","fileCount":27,"integrity":"sha512-HwVARv55cwyJWEGRSeY6SrH6yGTnNWkJXtna4/D61HXG/ZxBYl+Hxjbd34lvbt4fiVLAONbq/yW6lryQGTvEcA==","signatures":[{"sig":"MEUCIBkuGWNjKXwbbM3K1QPlRFWQzlKTlTDSitvVVDeKE4IjAiEA8h5EeE6bJ3ZtXXkNXXKHrr93QpNZZ8yyvYS4ByGvvlw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53118},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-privacy-credentials-0.0.0-alpha.4.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"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0c1bfce5-6d52-4274-aafb-3a42c3ca9739"}},"_resolved":"/tmp/32dfc433f746173f4db394cfd41354e1/agenticprimitives-privacy-credentials-0.0.0-alpha.4.tgz","_integrity":"sha512-HwVARv55cwyJWEGRSeY6SrH6yGTnNWkJXtna4/D61HXG/ZxBYl+Hxjbd34lvbt4fiVLAONbq/yW6lryQGTvEcA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/privacy-credentials"},"_npmVersion":"11.19.0","description":"Privacy presentation layer (spec 305 / G-6): selectively-disclosed SD-JWT VC presentations, pairwise relationship pseudonyms, spec-304 issuer-key facet verification. One suite per request, never a fallback ladder.","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0","@agenticprimitives/types":"1.0.0-alpha.23"},"peerDependencies":{"@agenticprimitives/types":"1.0.0-alpha.23"},"_npmOperationalInternal":{"tmp":"tmp/privacy-credentials_0.0.0-alpha.4_1789164139172_0.6064346848813633","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.5":{"name":"@agenticprimitives/privacy-credentials","version":"0.0.0-alpha.5","keywords":["agentic","primitives","privacy","sd-jwt","selective-disclosure","pseudonym"],"license":"MIT","_id":"@agenticprimitives/privacy-credentials@0.0.0-alpha.5","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/privacy-credentials","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"890259d8e3865106000ade0e35fb1ac2ae7f3f27","tarball":"https://registry.npmjs.org/@agenticprimitives/privacy-credentials/-/privacy-credentials-0.0.0-alpha.5.tgz","fileCount":27,"integrity":"sha512-Oxi03k4N2QdLC5ewDEtpUtee91eS59Leuc5n0f0XtOp6IzIsxnp1wqbYRAdf64x7MT817oC0iKpyjdzWlwstRA==","signatures":[{"sig":"MEUCICc0ClV7DNDCw9yl9El/X0NGSZL0rFW6G4UBt3svMmy6AiEA8ON8BsT113CwpNFVyRbukJtfOam2H3FviFnySsvzbic=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53118},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-privacy-credentials-0.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"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0c1bfce5-6d52-4274-aafb-3a42c3ca9739"}},"_resolved":"/tmp/bbe274f4575b54a6fe197302186a1e0f/agenticprimitives-privacy-credentials-0.0.0-alpha.5.tgz","_integrity":"sha512-Oxi03k4N2QdLC5ewDEtpUtee91eS59Leuc5n0f0XtOp6IzIsxnp1wqbYRAdf64x7MT817oC0iKpyjdzWlwstRA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/privacy-credentials"},"_npmVersion":"11.19.0","description":"Privacy presentation layer (spec 305 / G-6): selectively-disclosed SD-JWT VC presentations, pairwise relationship pseudonyms, spec-304 issuer-key facet verification. One suite per request, never a fallback ladder.","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0","@agenticprimitives/types":"1.0.0-alpha.24"},"peerDependencies":{"@agenticprimitives/types":"1.0.0-alpha.24"},"_npmOperationalInternal":{"tmp":"tmp/privacy-credentials_0.0.0-alpha.5_1789230556823_0.9351234576959644","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.6":{"name":"@agenticprimitives/privacy-credentials","version":"0.0.0-alpha.6","keywords":["agentic","primitives","privacy","sd-jwt","selective-disclosure","pseudonym"],"license":"MIT","_id":"@agenticprimitives/privacy-credentials@0.0.0-alpha.6","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"homepage":"https://github.com/agentictrustlabs/agenticprimitives/tree/master/packages/privacy-credentials","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"238b6a990f322a73daf6e0872449068b2baa397b","tarball":"https://registry.npmjs.org/@agenticprimitives/privacy-credentials/-/privacy-credentials-0.0.0-alpha.6.tgz","fileCount":27,"integrity":"sha512-y5jeiP06NRZKHZYd4X+oyaCgRLTT8G4FYrJEycIA+RU4jFXwhkLf9PiLfU0imPwx7RY/rdnas2ZObsYY11qEuw==","signatures":[{"sig":"MEUCIE4aqw9xw3ZF2eHhk4M3AvMjnjIrN3/8Qb6G1cHMIxPIAiEA4t0/WkJPmeRm8m6OwolJJqrgAEIRY3D/LD5b6DJY9l4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCH1eMZOJfICKk1iYtn1VHFZZGo+JraICOke9tgpAh9fgCIQDRO79wnRnYyWkH+JCi9Q8aDI8YY9aHg5WR6zCKLc95Lw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53118},"main":"./dist/index.js","type":"module","_from":"file:agenticprimitives-privacy-credentials-0.0.0-alpha.6.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"},"_npmUser":{"name":"richcanvas","email":"richardpedersen3@gmail.com"},"_resolved":"/tmp/b58cfc8de6436be4fbd5a09d6933d136/agenticprimitives-privacy-credentials-0.0.0-alpha.6.tgz","_integrity":"sha512-y5jeiP06NRZKHZYd4X+oyaCgRLTT8G4FYrJEycIA+RU4jFXwhkLf9PiLfU0imPwx7RY/rdnas2ZObsYY11qEuw==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/privacy-credentials"},"_npmVersion":"11.16.0","description":"Privacy presentation layer (spec 305 / G-6): selectively-disclosed SD-JWT VC presentations, pairwise relationship pseudonyms, spec-304 issuer-key facet verification. One suite per request, never a fallback ladder.","directories":{},"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0","@agenticprimitives/types":"1.0.0-alpha.25"},"peerDependencies":{"@agenticprimitives/types":"1.0.0-alpha.25"},"_npmOperationalInternal":{"tmp":"tmp/privacy-credentials_0.0.0-alpha.6_1789502020587_0.19101536597281932","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-alpha.7":{"_id":"@agenticprimitives/privacy-credentials@0.0.0-alpha.7","bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"dist":{"shasum":"9c7c3ee76f74521c882c15972ad7da3da67010f2","tarball":"https://registry.npmjs.org/@agenticprimitives/privacy-credentials/-/privacy-credentials-0.0.0-alpha.7.tgz","fileCount":27,"integrity":"sha512-N6Oe5U+ZgVT7fsG647uqJHO7y3aMTzqVHWtNn+MbtvNuCd52q/WPs8gPuIwprU5rIhz68GypdRhSVOmHCqtlvA==","signatures":[{"sig":"MEQCIHrs6w6Yx86e5f9CeSM2vq/VLEvc/0/pg/e3ycef4wqgAiAuMgjGeGlRsr0vZkqac4hguCC3iaKfkqJrIDS2Sv5fRg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCnvYyyQhC6nRV4AVNNipTlbbfinJCp6eh00kbE0smzggIgEmVagUp9FEUjhlbIcJ/Zj/u3wzTRVZwgecacLDpuZdo="}],"unpackedSize":53605},"main":"./dist/index.js","name":"@agenticprimitives/privacy-credentials","type":"module","_from":"file:agenticprimitives-privacy-credentials-0.0.0-alpha.7.tgz","types":"./dist/index.d.ts","author":{"url":"https://agenticprimitives.dev","name":"Agentic Trust Labs"},"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"},"version":"0.0.0-alpha.7","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:0c1bfce5-6d52-4274-aafb-3a42c3ca9739"}},"homepage":"https://agenticprimitives.dev","keywords":["agentic","primitives","privacy","sd-jwt","selective-disclosure","pseudonym","agentic-primitives","agenticprimitives","ai-agents","agent-authority","agentic-trust"],"_resolved":"/tmp/ce8d76d492c284e1ed671d44e596b129/agenticprimitives-privacy-credentials-0.0.0-alpha.7.tgz","_integrity":"sha512-N6Oe5U+ZgVT7fsG647uqJHO7y3aMTzqVHWtNn+MbtvNuCd52q/WPs8gPuIwprU5rIhz68GypdRhSVOmHCqtlvA==","repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/privacy-credentials"},"_npmVersion":"11.19.0","description":"Privacy presentation layer (spec 305 / G-6): selectively-disclosed SD-JWT VC presentations, pairwise relationship pseudonyms, spec-304 issuer-key facet verification. One suite per request, never a fallback ladder.","directories":{},"maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.8","@types/node":"^22.7.0","@agenticprimitives/types":"1.0.0-alpha.26"},"peerDependencies":{"@agenticprimitives/types":"1.0.0-alpha.26"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/privacy-credentials_0.0.0-alpha.7_1789814973903_0.7828745879940684"}}},"time":{"created":"2026-07-14T15:51:55.286Z","modified":"2026-09-19T10:49:34.199Z","0.0.0-alpha.1":"2026-07-14T15:51:55.642Z","0.0.0-alpha.2":"2026-08-03T03:25:30.418Z","0.0.0-alpha.3":"2026-08-26T20:21:59.246Z","0.0.0-alpha.4":"2026-09-11T22:02:19.304Z","0.0.0-alpha.5":"2026-09-12T16:29:16.975Z","0.0.0-alpha.6":"2026-09-15T19:53:40.668Z","0.0.0-alpha.7":"2026-09-19T10:49:33.988Z"},"bugs":{"url":"https://github.com/agentictrustlabs/agenticprimitives/issues"},"license":"MIT","homepage":"https://agenticprimitives.dev","keywords":["agentic","primitives","privacy","sd-jwt","selective-disclosure","pseudonym","agentic-primitives","agenticprimitives","ai-agents","agent-authority","agentic-trust"],"repository":{"url":"git+https://github.com/agentictrustlabs/agenticprimitives.git","type":"git","directory":"packages/privacy-credentials"},"description":"Privacy presentation layer (spec 305 / G-6): selectively-disclosed SD-JWT VC presentations, pairwise relationship pseudonyms, spec-304 issuer-key facet verification. One suite per request, never a fallback ladder.","maintainers":[{"name":"richcanvas","email":"richardpedersen3@gmail.com"}],"readme":"# @agenticprimitives/privacy-credentials\n\n> Part of **[Agentic Primitives](https://agenticprimitives.dev)** — the open-source trust substrate for agentic applications: identity that can sign, authority checked at act time, evidence the owner carries. [Developer kit](https://github.com/agentictrustlabs/agentic-primitives) · [All packages](https://agenticprimitives.dev/developers)\n\n**The privacy presentation layer** — turns vault-held credentials into selectively-disclosed,\npairwise-pseudonymous presentations a verifier can check without learning more than the\ntransaction requires.\n\nSpec: [`specs/305-privacy-credentials.md`](../../specs/305-privacy-credentials.md) · Issuer keys:\n[`specs/304-issuer-key-facets.md`](../../specs/304-issuer-key-facets.md) · Doctrine: the ADR-0010\namendment (\"the Smart Agent address is the accountability root, not the default presentation\nidentifier\") and the [alignment audit](../../docs/architecture/acting-on-behalf-alignment-audit.md)\n§6.2 (eIDAS 2.0 Art 5a makes selective disclosure + unlinkability EU market-access requirements).\n\n## What it does\n\n```ts\nimport {\n  issueSdJwt, presentSdJwt, verifyPresentation,\n  generateHolderSecret, pairwiseHandle,\n  createIssuerKeyResolver,\n} from '@agenticprimitives/privacy-credentials';\n\n// ISSUER (an org SA with a spec-304 facet key; sign = injected KMS ES256):\nconst credential = await issueSdJwt({\n  issuer: orgCaip10, keyId: 'issuer-key:sd-jwt:2026-07', vct: 'ap:procurement-delegate',\n  sdClaims: { authorizedRole: 'procurement.delegate', counterpartyClass: 'approved.vendor' },\n  holderPublicKeyJwk, sign: kmsEs256Signer,\n});\n// → into the holder's vault.\n\n// HOLDER (presents to ONE verifier, revealing ONE claim):\nconst handle = await pairwiseHandle(holderSecret, 'vendor.example'); // stable HERE, unlinkable elsewhere\nconst payload = await presentSdJwt({\n  sdJwt: credential, discloseClaims: ['authorizedRole'],\n  audience: request.audience, nonce: request.nonce, holderSign,\n});\n\n// VERIFIER (no AP runtime needed — chain checks injected):\nconst resolveIssuerKey = createIssuerKeyResolver(lookupSignedFacet, {\n  verifySaSignature,   // UniversalSignatureValidator read\n  checkAttestation,    // AttestationRegistry liveness read\n});\nconst res = await verifyPresentation(\n  { type: 'PrivatePresentationV1', suite: 'sd-jwt', relationshipHandle: handle, payload },\n  request,\n  { resolveIssuerKey },\n);\n// res.claims === { authorizedRole: 'procurement.delegate' } — and nothing else.\n```\n\nThe verifier learns: the claim it asked for, that a custody-governed Smart Agent issued it (via\nthe spec-304 facet binding), and that the presenter holds the credential (key binding bound to\nthis audience + nonce). It does **not** learn the holder's SA, the other claims, or anything that\nlinks this presentation to the same holder's presentations elsewhere.\n\n## Design rules\n\n- **One suite per proof request** (ADR-0013): `sd-jwt` today; `bbs-bls12381-g2`, `anoncreds-v1`,\n  `zk-predicate` are reserved enum slots that reject, never a fallback ladder.\n- **Predicates reject on sd-jwt** — the suite can't prove `amount <= limit`; refusing beats\n  silently revealing the field. Predicate proofs arrive with the W2+ suites.\n- **Issuer facet first**: a revoked or unresolvable spec-304 facet fails the whole presentation.\n- Dependency-free (WebCrypto only — Node ≥ 20 and workerd); chain reads and KMS signing are\n  injected ports.\n\n## Status\n\n`w1-sdjwt-pseudonyms` — port types, pairwise pseudonyms, the self-contained SD-JWT VC suite,\nspec-304 facet verification, 11-test suite (unlinkability, forgery, replay, revoked-facet,\nclaim-exactness). W2: demo wiring + BBS decision + decoy digests + credential status lists.\n","readmeFilename":"README.md","author":{"url":"https://agenticprimitives.dev","name":"Agentic Trust Labs"}}