From 62b72718d1a3656340098b382638bf90a26a850a Mon Sep 17 00:00:00 2001 From: Tim Schauder Date: Tue, 30 Jul 2024 13:48:16 +0200 Subject: [PATCH] Add nonce to store and refactor types --- components/PresentationForm.vue | 24 ++++-- components/QrCode.vue | 7 +- models/PresentationRequest.ts | 81 ------------------- models/TransactionRequest.ts | 34 ++++++++ ...tionResponse.ts => TransactionResponse.ts} | 2 +- models/TransactionStore.ts | 5 ++ pages/provider.vue | 7 +- stores/SessionStore.ts | 21 +++-- 8 files changed, 77 insertions(+), 104 deletions(-) delete mode 100644 models/PresentationRequest.ts create mode 100644 models/TransactionRequest.ts rename models/{PresentationResponse.ts => TransactionResponse.ts} (67%) create mode 100644 models/TransactionStore.ts diff --git a/components/PresentationForm.vue b/components/PresentationForm.vue index c55ab4c..6f0a4dd 100644 --- a/components/PresentationForm.vue +++ b/components/PresentationForm.vue @@ -23,20 +23,27 @@ Hier ausweisen +
+

{{ errorMessage }}

+
\ No newline at end of file diff --git a/components/QrCode.vue b/components/QrCode.vue index 319482f..cc3bcff 100644 --- a/components/QrCode.vue +++ b/components/QrCode.vue @@ -1,5 +1,5 @@