From 8092ceaf10dd5951d0b5011fc8d5a05b49335a6e Mon Sep 17 00:00:00 2001 From: Pawel Zelawski Date: Wed, 9 Apr 2025 19:12:23 +0200 Subject: feat: Implement DigiID URI generation and define core types - Create initial source directory structure (src/). - Define core interfaces (DigiIDUriOptions, DigiIDCallbackData, etc.) and DigiIDError class in src/types.ts. - Set up main export file src/index.ts. - Implement the generateDigiIDUri function in src/digiid.ts for creating DigiID authentication URIs according to the specification. - Include helper function for generating secure nonces using Node crypto. - Add TSDoc comments for clarity and maintainability. --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/index.ts (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..11ea761 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,2 @@ +export * from './types'; +export * from './digiid'; // We'll add functions here later -- cgit v1.2.3