From 0eb31d2672cb8cf708001f14ce09729600d4a42c Mon Sep 17 00:00:00 2001 From: Ryan Yang Date: Thu, 22 Jan 2026 10:53:49 -0800 Subject: [PATCH 1/2] fix jsdoc tag --- src/auth.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/auth.js b/src/auth.js index 5934a67d7..bdec51022 100644 --- a/src/auth.js +++ b/src/auth.js @@ -18,8 +18,7 @@ import { nativeToScVal } from './scval'; * if necessary (rather than blindly signing a hash) * * @returns { - * Promise | - * Promise<{signature: Uint8Array, publicKey: string} + * Promise * } the signature of the raw payload (which is the sha256 hash of the preimage * bytes, so `hash(preimage.toXDR())`) either naked, implying it is signed * by the key corresponding to the public key in the entry you pass to From ac1f21effdcb9a9018152e589ea0970dcd19c378 Mon Sep 17 00:00:00 2001 From: Ryan Yang Date: Thu, 22 Jan 2026 11:36:51 -0800 Subject: [PATCH 2/2] fix copilot comment --- src/auth.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/auth.js b/src/auth.js index bdec51022..335425afb 100644 --- a/src/auth.js +++ b/src/auth.js @@ -17,9 +17,8 @@ import { nativeToScVal } from './scval'; * whose hash you should sign, so that you can inspect the entire structure * if necessary (rather than blindly signing a hash) * - * @returns { - * Promise - * } the signature of the raw payload (which is the sha256 hash of the preimage + * @returns {Promise} + * the signature of the raw payload (which is the sha256 hash of the preimage * bytes, so `hash(preimage.toXDR())`) either naked, implying it is signed * by the key corresponding to the public key in the entry you pass to * {@link authorizeEntry} (decipherable from its