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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/client.ts +0 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "better-near-auth",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Sign in with NEAR (SIWN) plugin for Better Auth",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",
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
  }