better-near-auth 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/client.ts +0 -4
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -340,8 +340,6 @@ export const siwnClient = (config: SIWNClientConfig): SIWNClientPlugin => {
|
|
|
340
340
|
nonce: nonceBytes,
|
|
341
341
|
});
|
|
342
342
|
|
|
343
|
-
console.log("authToken: ", parseAuthToken(authToken));
|
|
344
|
-
|
|
345
343
|
// Verify the signature with the server
|
|
346
344
|
const verifyResponse: BetterFetchResponse<VerifyResponseT> = await $fetch("/near/verify", {
|
|
347
345
|
method: "POST",
|
|
@@ -355,8 +353,6 @@ export const siwnClient = (config: SIWNClientConfig): SIWNClientPlugin => {
|
|
|
355
353
|
throw new Error(verifyResponse.error.message || "Failed to verify signature");
|
|
356
354
|
}
|
|
357
355
|
|
|
358
|
-
console.log("hello", verifyResponse)
|
|
359
|
-
|
|
360
356
|
if (!verifyResponse?.data?.success) {
|
|
361
357
|
throw new Error("Authentication verification failed");
|
|
362
358
|
}
|