{"_id":"@canton-vc/kyc-provider","_rev":"3-266c9cc8882fe2d35249259ae3c49d07","name":"@canton-vc/kyc-provider","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@canton-vc/kyc-provider","version":"0.1.0","keywords":["canton","kyc","verifiable-credentials","adapter-pattern","interface"],"author":{"url":"https://github.com/Farukest","name":"Abdullah Faruk Özden","email":"abdullahfarukozden@gmail.com"},"license":"Apache-2.0","_id":"@canton-vc/kyc-provider@0.1.0","maintainers":[{"name":"0xflydev","email":"0xflydev@gmail.com"}],"homepage":"https://github.com/Farukest/canton-vc/tree/main/packages/kyc-provider#readme","bugs":{"url":"https://github.com/Farukest/canton-vc/issues"},"dist":{"shasum":"e346a97a227e91b43174dcf27ef001a38925f920","tarball":"https://registry.npmjs.org/@canton-vc/kyc-provider/-/kyc-provider-0.1.0.tgz","fileCount":4,"integrity":"sha512-a5dSQ+N37iA2MMf9ezQfqXyYA1uC8uX38TqzYenJj9w0eESdEtEph8lBTRVeGlv6bHAfW5ZBOc6ikFI0YN82RA==","signatures":[{"sig":"MEQCIHPZwAm2MrPzT+Ta315PVQ99jeUEUH77OIzBaOMerP6GAiBlEhrYxv4bcJNa4J4kGMpO9d85YGeYTjzTWlo0DA9Ihw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21465},"main":"./src/index.ts","type":"module","_from":"file:canton-vc-kyc-provider-0.1.0.tgz","types":"./src/index.ts","engines":{"node":">=18"},"exports":{".":{"types":"./src/index.ts","default":"./src/index.ts"}},"scripts":{"lint":"biome check src","test":"vitest run --passWithNoTests","clean":"rm -rf .turbo dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"0xflydev","email":"0xflydev@gmail.com"},"_resolved":"C:\\Users\\FARUKE~1\\AppData\\Local\\Temp\\5ec90246e4c9dc8abcdd679fdbdf0faa\\canton-vc-kyc-provider-0.1.0.tgz","_integrity":"sha512-a5dSQ+N37iA2MMf9ezQfqXyYA1uC8uX38TqzYenJj9w0eESdEtEph8lBTRVeGlv6bHAfW5ZBOc6ikFI0YN82RA==","repository":{"url":"git+https://github.com/Farukest/canton-vc.git","type":"git","directory":"packages/kyc-provider"},"_npmVersion":"11.6.2","description":"Generic KycProvider interface for canton-vc — vendor-agnostic contract for KYC sessions, decisions, and webhooks. Implemented by adapter packages (@canton-vc/adapter-didit, …) so issuers can swap providers without touching the credential pipeline.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"2.1.8","typescript":"5.6.3","@types/node":"22.10.2"},"_npmOperationalInternal":{"tmp":"tmp/kyc-provider_0.1.0_1779586276946_0.8369534061699304","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@canton-vc/kyc-provider","version":"0.2.0","keywords":["canton","kyc","verifiable-credentials","adapter-pattern","interface"],"author":{"url":"https://github.com/Farukest","name":"Abdullah Faruk Özden","email":"abdullahfarukozden@gmail.com"},"license":"Apache-2.0","_id":"@canton-vc/kyc-provider@0.2.0","maintainers":[{"name":"0xflydev","email":"0xflydev@gmail.com"}],"homepage":"https://github.com/Farukest/canton-vc/tree/main/packages/kyc-provider#readme","bugs":{"url":"https://github.com/Farukest/canton-vc/issues"},"dist":{"shasum":"f7447328f380200723d5bf22073ae92d685ee83f","tarball":"https://registry.npmjs.org/@canton-vc/kyc-provider/-/kyc-provider-0.2.0.tgz","fileCount":4,"integrity":"sha512-vQDvQxeIg0I9DMpqdtL/IXQM7lzzktEvCH0lXHCyR9Wpx+p+uS9G93UpkCdOK492RmoYicRo4kDEaqTJRJuM2A==","signatures":[{"sig":"MEYCIQCCHSx4++6zQnBumI6J5gcdHEu4xpD/tBIwm5Ylc81k9gIhALKZB6TNguCc3sKAUtZjdIGjtPyxpk9utOaB2LTLUQlT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21457},"main":"./src/index.ts","type":"module","_from":"file:canton-vc-kyc-provider-0.2.0.tgz","types":"./src/index.ts","engines":{"node":">=18"},"exports":{".":{"types":"./src/index.ts","default":"./src/index.ts"}},"scripts":{"lint":"biome check src","test":"vitest run --passWithNoTests","clean":"rm -rf .turbo dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"0xflydev","email":"0xflydev@gmail.com"},"_resolved":"C:\\Users\\FARUKE~1\\AppData\\Local\\Temp\\362a59e56f5d9b3fa56a69d19392e7b6\\canton-vc-kyc-provider-0.2.0.tgz","_integrity":"sha512-vQDvQxeIg0I9DMpqdtL/IXQM7lzzktEvCH0lXHCyR9Wpx+p+uS9G93UpkCdOK492RmoYicRo4kDEaqTJRJuM2A==","repository":{"url":"git+https://github.com/Farukest/canton-vc.git","type":"git","directory":"packages/kyc-provider"},"_npmVersion":"11.6.2","description":"Generic KycProvider interface for canton-vc — vendor-agnostic contract for KYC sessions, decisions, and webhooks. Implemented by adapter packages (@canton-vc/adapter-didit, …) so issuers can swap providers without touching the credential pipeline.","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"2.1.8","typescript":"5.6.3","@types/node":"22.10.2"},"_npmOperationalInternal":{"tmp":"tmp/kyc-provider_0.2.0_1779984343738_0.8900427647514628","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@canton-vc/kyc-provider","version":"0.3.0","description":"Generic KycProvider interface for canton-vc — vendor-agnostic contract for KYC sessions, decisions, and webhooks. Implemented by adapter packages (@canton-vc/adapter-didit, …) so issuers can swap providers without touching the credential pipeline.","license":"Apache-2.0","type":"module","main":"./src/index.ts","types":"./src/index.ts","exports":{".":{"types":"./src/index.ts","default":"./src/index.ts"}},"sideEffects":false,"engines":{"node":">=18"},"devDependencies":{"@types/node":"22.10.2","typescript":"5.6.3","vitest":"2.1.8"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/Farukest/canton-vc.git","directory":"packages/kyc-provider"},"keywords":["canton","kyc","verifiable-credentials","adapter-pattern","interface"],"author":{"name":"Abdullah Faruk Özden","email":"abdullahfarukozden@gmail.com","url":"https://github.com/Farukest"},"homepage":"https://github.com/Farukest/canton-vc/tree/main/packages/kyc-provider#readme","bugs":{"url":"https://github.com/Farukest/canton-vc/issues"},"scripts":{"lint":"biome check src","typecheck":"tsc --noEmit","test":"vitest run --passWithNoTests","clean":"rm -rf .turbo dist"},"_id":"@canton-vc/kyc-provider@0.3.0","_integrity":"sha512-lJ04A7awQPxuDxXhbuD8cQc52O6h4t/H/MkpkfhjhsRHYpbKeQbypg6oRSvKkZcjMx9yUl/j3nJ7EC26uPboPw==","_resolved":"C:\\Users\\FARUKE~1\\AppData\\Local\\Temp\\5160df55c2589f30a269a8afd2975b6f\\canton-vc-kyc-provider-0.3.0.tgz","_from":"file:canton-vc-kyc-provider-0.3.0.tgz","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-lJ04A7awQPxuDxXhbuD8cQc52O6h4t/H/MkpkfhjhsRHYpbKeQbypg6oRSvKkZcjMx9yUl/j3nJ7EC26uPboPw==","shasum":"5355806d08e2c4343ac5fb6fd56b5a2a74c7e217","tarball":"https://registry.npmjs.org/@canton-vc/kyc-provider/-/kyc-provider-0.3.0.tgz","fileCount":4,"unpackedSize":21457,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCeO16w6Tt0IbnZ9o2ECzO33CQwQvQQWDkemCIpfKhnQwIgKVlsM1vKjWyjByAY2y8Q2lAr2ZDg3RdqfaizB0zVG70="}]},"_npmUser":{"name":"0xflydev","email":"0xflydev@gmail.com"},"directories":{},"maintainers":[{"name":"0xflydev","email":"0xflydev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/kyc-provider_0.3.0_1780019773329_0.4237167994428199"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-24T01:31:16.788Z","modified":"2026-05-29T01:56:13.624Z","0.1.0":"2026-05-24T01:31:17.094Z","0.2.0":"2026-05-28T16:05:43.881Z","0.3.0":"2026-05-29T01:56:13.483Z"},"bugs":{"url":"https://github.com/Farukest/canton-vc/issues"},"author":{"name":"Abdullah Faruk Özden","email":"abdullahfarukozden@gmail.com","url":"https://github.com/Farukest"},"license":"Apache-2.0","homepage":"https://github.com/Farukest/canton-vc/tree/main/packages/kyc-provider#readme","keywords":["canton","kyc","verifiable-credentials","adapter-pattern","interface"],"repository":{"type":"git","url":"git+https://github.com/Farukest/canton-vc.git","directory":"packages/kyc-provider"},"description":"Generic KycProvider interface for canton-vc — vendor-agnostic contract for KYC sessions, decisions, and webhooks. Implemented by adapter packages (@canton-vc/adapter-didit, …) so issuers can swap providers without touching the credential pipeline.","maintainers":[{"name":"0xflydev","email":"0xflydev@gmail.com"}],"readme":"# @canton-vc/kyc-provider\n\nGeneric `KycProvider` interface for [canton-vc](https://github.com/Farukest/canton-vc) — the vendor-agnostic contract that issuer pipelines depend on, so the choice of KYC vendor stays a one-line constructor swap.\n\nImplemented by:\n- [`@canton-vc/adapter-didit`](https://www.npmjs.com/package/@canton-vc/adapter-didit)\n- [`@canton-vc/adapter-sumsub`](https://www.npmjs.com/package/@canton-vc/adapter-sumsub)\n- [`@canton-vc/adapter-persona`](https://www.npmjs.com/package/@canton-vc/adapter-persona)\n- [`@canton-vc/adapter-mock`](https://www.npmjs.com/package/@canton-vc/adapter-mock) (dev/test)\n\n```ts\nimport type { KycProvider, KycDecision, KycSession } from '@canton-vc/kyc-provider';\n\nconst kyc: KycProvider = new DiditAdapter({ /* config */ });\nconst session = await kyc.startSession({ userRef: 'user-123' });\nconst decision = await kyc.fetchDecision(session.sessionId);\n```\n\nSee the [canton-vc repository](https://github.com/Farukest/canton-vc) for the full integration story.\n\n## License\n\nApache 2.0 — see [LICENSE](https://github.com/Farukest/canton-vc/blob/main/LICENSE).\n","readmeFilename":"README.md"}