]> git.codecow.com Git - libnemo.git/commitdiff
Type definition file fixes.
authorChris Duncan <chris@zoso.dev>
Fri, 8 Aug 2025 02:20:13 +0000 (19:20 -0700)
committerChris Duncan <chris@zoso.dev>
Fri, 8 Aug 2025 02:20:13 +0000 (19:20 -0700)
src/types.d.ts

index 499ea1db7468e59e6474824b7d49edc82ee6ad48..33b38cd2a252ea0f435c02d4f29f7f2e05e10a64 100644 (file)
@@ -422,6 +422,7 @@ export type KeyPair = {
 * saved under one nickname.
 */
 export declare class Rolodex {
+       #private
        /**
        * Adds an address to the rolodex under a specific nickname.
        *
@@ -514,6 +515,7 @@ type SweepResult = {
        address: string
        message: string
 }
+
 /**
 * Converts a decimal amount of nano from one unit divider to another.
 *
@@ -536,7 +538,7 @@ export declare function sign (key: Key, ...input: string[]): Promise<string>
 * 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 {Wallet|Ledger} wallet - Wallet from which to sweep funds
+* @param {(Wallet|Ledger)} wallet - Wallet from which to sweep funds
 * @param {string} recipient - Destination address for all swept funds
 * @param {number} from - Starting account index to sweep
 * @param {number} to - Ending account index to sweep