]> git.codecow.com Git - libnemo.git/commitdiff
Formatting. main next/fta
authorChris Duncan <chris@codecow.com>
Wed, 1 Jul 2026 07:32:56 +0000 (00:32 -0700)
committerChris Duncan <chris@codecow.com>
Wed, 1 Jul 2026 07:32:56 +0000 (00:32 -0700)
src/lib/tools.ts

index d88a34f1857e502190e23af3d0751b64f6ab5373..52e1a9c2a633e8dccd45682e86d86220d72864f0 100644 (file)
@@ -112,7 +112,7 @@ export class Tools {
         * Signs an arbitrary string with a secret key using nano25519. The input data
         * is encoded as UTF-8 and can be up to 32 KiB in total.
         *
-        * @param {(string | ArrayBuffer | Bytes)} secretKey - 64-byte secret key
+        * @param {(string|ArrayBuffer|Bytes)} secretKey - 64-byte secret key
         * @param {string} input - Data to be signed
         * @returns {string} 64-byte hexadecimal signature
         */
@@ -138,7 +138,7 @@ export class Tools {
         * Collects the funds from a specified range of accounts in a wallet and sends
         * them all to a single recipient address. Hardware wallets are unsupported.
         *
-        * @param {(Rpc | string | URL)} rpc - RPC node information required to refresh accounts, calculate PoW, and process blocks
+        * @param {(Rpc|string|URL)} rpc - RPC node information required to refresh accounts, calculate PoW, and process blocks
         * @param {Wallet} wallet - Wallet from which to sweep funds
         * @param {string} recipient - Destination address for all swept funds
         * @param {number} [from=0] - Starting account index to sweep
@@ -195,8 +195,8 @@ export class Tools {
        /**
         * Verifies the signature of an arbitrary string using a public key.
         *
-        * @param {(string | ArrayBuffer | Bytes)} publicKey - 32-byte hexadecimal public key
-        * @param {(string | ArrayBuffer | Bytes)} signature - 128-character hexadcimal signature
+        * @param {(string|ArrayBuffer|Bytes)} publicKey - 32-byte hexadecimal public key
+        * @param {(string|ArrayBuffer|Bytes)} signature - 128-character hexadcimal signature
         * @param {string} input - Data to be verified
         * @returns {boolean} True if the data was signed by the public key's matching private key
         */