summaryrefslogtreecommitdiffhomepage
path: root/packages/server/src/helpers/decodeClientDataJSON.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2021-08-18 16:54:09 -0700
committerMatthew Miller <matthew@millerti.me>2021-08-22 20:43:12 -0700
commitf9d12193ae1a7a6a27ea6ac36520f192e45f4d58 (patch)
tree70b7b0bac31acb9cb75cce2cb034123878a4977b /packages/server/src/helpers/decodeClientDataJSON.ts
parenta0b7725c7432e3dd04dea76f1e74f163c8d1ee61 (diff)
Gather together all existing helpers and types
Diffstat (limited to 'packages/server/src/helpers/decodeClientDataJSON.ts')
-rw-r--r--packages/server/src/helpers/decodeClientDataJSON.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/helpers/decodeClientDataJSON.ts b/packages/server/src/helpers/decodeClientDataJSON.ts
index a3b7881..40ce0c0 100644
--- a/packages/server/src/helpers/decodeClientDataJSON.ts
+++ b/packages/server/src/helpers/decodeClientDataJSON.ts
@@ -10,7 +10,7 @@ export default function decodeClientDataJSON(data: string): ClientDataJSON {
return clientData;
}
-type ClientDataJSON = {
+export type ClientDataJSON = {
type: string;
challenge: string;
origin: string;