From a21c72ad69228a43af2658d5668cbba66874eee8 Mon Sep 17 00:00:00 2001 From: Nick Patrick Date: Mon, 31 Jul 2023 14:16:32 -0400 Subject: [PATCH] expose trackVerified() (#107) * expose trackVerified() * update verify call * fix location parsing * add desktop app error * remove config fallback * address feedback * include port in desktop app check --- demo/views/layouts/main.hbs | 1 + demo/views/track-verified.hbs | 138 ++++++++++++++++++++++++++++++++++ package-lock.json | 4 +- src/api/verify.ts | 76 +++++++++++++++++++ src/errors.ts | 8 ++ src/http.ts | 13 +++- src/index.ts | 5 ++ 7 files changed, 240 insertions(+), 5 deletions(-) create mode 100644 demo/views/track-verified.hbs create mode 100644 src/api/verify.ts diff --git a/demo/views/layouts/main.hbs b/demo/views/layouts/main.hbs index f0ff1a46..6ed0c0df 100644 --- a/demo/views/layouts/main.hbs +++ b/demo/views/layouts/main.hbs @@ -64,6 +64,7 @@