]> git.codecow.com Git - libnemo.git/commitdiff
Update type definition for wallet.
authorChris Duncan <chris@zoso.dev>
Sat, 2 Aug 2025 09:40:39 +0000 (02:40 -0700)
committerChris Duncan <chris@zoso.dev>
Sat, 2 Aug 2025 09:40:39 +0000 (02:40 -0700)
src/types.d.ts

index 55fae0510a7dccb88546d9b5b244db1db0323199..3c16b10a2ef0b837b5381817275d92069b6a5827 100644 (file)
@@ -603,6 +603,12 @@ export declare class Wallet {
        */
        static create (type: 'BIP-44' | 'BLAKE2b', password: string, mnemonicSalt?: string): Promise<Wallet>
        /**
+       * Retrieves all wallet IDs from the database.
+       *
+       * @returns Array of hexadecimal-formatted wallet IDs
+       */
+       static export (): Promise<NamedData[]>
+       /**
        * Imports an existing HD wallet by using an entropy value generated using a
        * cryptographically strong pseudorandom number generator.NamedD
        *