File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 27
27
28
28
/**
29
29
* @typedef {DashKeys }
30
- * @prop {Decode } decode
30
+ * @prop {DecodeBase58Check } decode
31
31
* @prop {EncodeKeyUint8Array } encodeKey
32
+ * @prop {AddressToPubKeyHash } addrToPkh
33
+ * @prop {PubKeyHashToAddress } pkhToAddr
34
+ * @prop {PrivateKeyToWif } privKeyToWif
35
+ * @prop {PrivateKeyToAddress } privKeyToAddr
36
+ * @prop {PublicKeyToAddress } pubkeyToAddr
37
+ * @prop {PublicKeyToPubKeyHash } pubkeyToPkh
38
+ * @prop {WifToAddress } wifToAddr
39
+ * @prop {WifToPrivateKey } wifToPrivKey
32
40
* @prop {DashKeysUtils } utils
33
41
*/
34
42
@@ -963,7 +971,7 @@ var DashKeys = ("object" === typeof module && exports) || {};
963
971
return shaRipeBytes ;
964
972
} ;
965
973
966
- /** @type {Decode } */
974
+ /** @type {DecodeBase58Check } */
967
975
_DashKeys . decode = async function ( keyB58c , opts ) {
968
976
let parts = await dash58check . decode ( keyB58c ) ;
969
977
let check = await dash58check . checksum ( parts ) ;
@@ -1243,7 +1251,7 @@ if ("object" === typeof module) {
1243
1251
*/
1244
1252
1245
1253
/**
1246
- * @callback Decode
1254
+ * @callback DecodeBase58Check
1247
1255
* @param {String } keyB58c - addr, wif, or xkey (xprv, xpub)
1248
1256
* @param {DecodeOpts } opts
1249
1257
* @returns {Promise<Base58CheckParts> }
You can’t perform that action at this time.
0 commit comments