Skip to content

Commit d2de12f

Browse files
author
AJ ONeal
committed
fix(types): make various options optional
1 parent 07c1cb1 commit d2de12f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dashhd.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ if ("object" === typeof module) {
795795
/**
796796
* @callback HDFromSeed
797797
* @param {Uint8Array} seedBytes
798-
* @param {HDFromSeedOptions} opts
798+
* @param {HDFromSeedOptions} [opts]
799799
* @returns {Promise<HDWallet>}
800800
*/
801801

@@ -814,7 +814,7 @@ if ("object" === typeof module) {
814814
/**
815815
* @callback HDToAddr
816816
* @param {Uint8Array} pubBytes
817-
* @param {HDToAddressOpts} opts
817+
* @param {HDToAddressOpts} [opts]
818818
* @returns {Promise<String>}
819819
*/
820820

@@ -834,13 +834,13 @@ if ("object" === typeof module) {
834834
/**
835835
* @callback HDToWif
836836
* @param {Uint8Array} privBytes
837-
* @param {HDToAddressOpts} opts
837+
* @param {HDToAddressOpts} [opts]
838838
* @returns {Promise<String>}
839839
*/
840840

841841
/**
842842
* @typedef HDToAddressOpts
843-
* @prop {String} version
843+
* @prop {String} [version]
844844
*/
845845

846846
/**

0 commit comments

Comments
 (0)