From 5dda70156711060b0876846b4d6667ed4a924160 Mon Sep 17 00:00:00 2001 From: dalechyn Date: Thu, 26 Sep 2024 02:23:41 +0300 Subject: [PATCH] nit: drop unused util --- .../auth-client/src/utils/parseNonPartialSiweMessage.ts | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 packages/auth-client/src/utils/parseNonPartialSiweMessage.ts diff --git a/packages/auth-client/src/utils/parseNonPartialSiweMessage.ts b/packages/auth-client/src/utils/parseNonPartialSiweMessage.ts deleted file mode 100644 index 603c2ad..0000000 --- a/packages/auth-client/src/utils/parseNonPartialSiweMessage.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { parseSiweMessage, validateSiweMessage, type SiweMessage } from "viem/siwe"; - -export function parseNonPartialSiweMessage(message: string) { - const parsedSiweMessage = parseSiweMessage(message); - // if (!validateSiweMessage({ message: parsedSiweMessage })) throw new Error("Invalid SIWE message"); - return parsedSiweMessage as SiweMessage; -}