@@ -41,13 +41,13 @@ export interface Base58CheckAsync {
4141 /**
4242 * Decode a base58check string to bytes asynchronously
4343 *
44- * @param str - The base58check encoded string
44+ * @param string - The base58check encoded string
4545 * @param format - Output format (default: 'uint8')
4646 * @returns A Promise that resolves to the decoded bytes
4747 */
48- decode ( str : string , format ?: 'uint8' ) : Promise < Uint8ArrayBuffer > ;
49- decode ( str : string , format : 'buffer' ) : Promise < Buffer > ;
50- decode ( str : string , format ?: OutputFormat ) : Promise < Uint8ArrayBuffer | Buffer > ;
48+ decode ( string : string , format ?: 'uint8' ) : Promise < Uint8ArrayBuffer > ;
49+ decode ( string : string , format : 'buffer' ) : Promise < Buffer > ;
50+ decode ( string : string , format ?: OutputFormat ) : Promise < Uint8ArrayBuffer | Buffer > ;
5151}
5252
5353/**
@@ -65,13 +65,13 @@ export interface Base58CheckSync extends Base58CheckAsync {
6565 /**
6666 * Decode a base58check string to bytes synchronously
6767 *
68- * @param str - The base58check encoded string
68+ * @param string - The base58check encoded string
6969 * @param format - Output format (default: 'uint8')
7070 * @returns The decoded bytes
7171 */
72- decodeSync ( str : string , format ?: 'uint8' ) : Uint8ArrayBuffer ;
73- decodeSync ( str : string , format : 'buffer' ) : Buffer ;
74- decodeSync ( str : string , format ?: OutputFormat ) : Uint8ArrayBuffer | Buffer ;
72+ decodeSync ( string : string , format ?: 'uint8' ) : Uint8ArrayBuffer ;
73+ decodeSync ( string : string , format : 'buffer' ) : Buffer ;
74+ decodeSync ( string : string , format ?: OutputFormat ) : Uint8ArrayBuffer | Buffer ;
7575}
7676
7777/**
@@ -99,13 +99,13 @@ export function toBase58check(arr: Uint8ArrayBuffer): Promise<string>;
9999 *
100100 * Validates the checksum using double SHA-256
101101 *
102- * @param str - The base58check encoded string
102+ * @param string - The base58check encoded string
103103 * @param format - Output format (default: 'uint8')
104104 * @returns A Promise that resolves to the decoded bytes
105105 */
106- export function fromBase58check ( str : string , format ?: 'uint8' ) : Promise < Uint8ArrayBuffer > ;
107- export function fromBase58check ( str : string , format : 'buffer' ) : Promise < Buffer > ;
108- export function fromBase58check ( str : string , format ?: OutputFormat ) : Promise < Uint8ArrayBuffer | Buffer > ;
106+ export function fromBase58check ( string : string , format ?: 'uint8' ) : Promise < Uint8ArrayBuffer > ;
107+ export function fromBase58check ( string : string , format : 'buffer' ) : Promise < Buffer > ;
108+ export function fromBase58check ( string : string , format ?: OutputFormat ) : Promise < Uint8ArrayBuffer | Buffer > ;
109109
110110/**
111111 * Encode bytes to base58check string synchronously
@@ -122,10 +122,10 @@ export function toBase58checkSync(arr: Uint8ArrayBuffer): string;
122122 *
123123 * Validates the checksum using double SHA-256
124124 *
125- * @param str - The base58check encoded string
125+ * @param string - The base58check encoded string
126126 * @param format - Output format (default: 'uint8')
127127 * @returns The decoded bytes
128128 */
129- export function fromBase58checkSync ( str : string , format ?: 'uint8' ) : Uint8ArrayBuffer ;
130- export function fromBase58checkSync ( str : string , format : 'buffer' ) : Buffer ;
131- export function fromBase58checkSync ( str : string , format ?: OutputFormat ) : Uint8ArrayBuffer | Buffer ;
129+ export function fromBase58checkSync ( string : string , format ?: 'uint8' ) : Uint8ArrayBuffer ;
130+ export function fromBase58checkSync ( string : string , format : 'buffer' ) : Buffer ;
131+ export function fromBase58checkSync ( string : string , format ?: OutputFormat ) : Uint8ArrayBuffer | Buffer ;
0 commit comments