From 0eacb0babaf1d0aca9771662bcba6aef3f795eaa Mon Sep 17 00:00:00 2001 From: Pawel Zelawski Date: Thu, 10 Apr 2025 16:11:37 +0200 Subject: docs: update terminology in documentation - Update documentation to use "Digi-ID" instead of "DigiID" in user-facing text - Maintain internal code using 'DigiID' for consistency with original implementation The changes improve documentation clarity while maintaining full functionality. --- examples/verify-callback.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/verify-callback.ts (limited to 'examples/verify-callback.ts') diff --git a/examples/verify-callback.ts b/examples/verify-callback.ts new file mode 100644 index 0000000..a1df685 --- /dev/null +++ b/examples/verify-callback.ts @@ -0,0 +1,12 @@ +/** + * Example: Verifying a Digi-ID Callback + * + * This example demonstrates how to verify a callback from a Digi-ID compatible wallet. + * The callback contains a signature that needs to be verified against the original challenge. + */ + +// Import directly from src for running locally before publishing +// In a real project, you'd import from 'digiid-ts' after installing +import { verifyDigiIDCallback, DigiIDError } from '../src/index'; + +// ... existing code ... \ No newline at end of file -- cgit v1.2.3