aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/src/Keyring.js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-07-04 11:38:54 +0000
committerMaximilian Krambach <[email protected]>2018-07-04 11:38:54 +0000
commit1919fa41b6da4dfd4f69e776caa6e6b1883eb208 (patch)
tree1650ffd04145a4c4f6246d3cda2557ce2bc5f53c /lang/js/src/Keyring.js
parentjs: add Key lookup (diff)
downloadgpgme-1919fa41b6da4dfd4f69e776caa6e6b1883eb208.tar.gz
gpgme-1919fa41b6da4dfd4f69e776caa6e6b1883eb208.zip
js: Add jsdoc, update webpack-cli dependency
-- * package.json: - the old webpack-cli version depended on two packages with vulnerabilities, set to minimum version 3.0.8 to fix this (nodesecurity.io/advisories/157, nodesecurity.io/advisories/612) - added License identifier * README: Updated documentation * jsdoc.conf: Added a configuration file for jsdoc * some minor documentation changes, indentations
Diffstat (limited to 'lang/js/src/Keyring.js')
-rw-r--r--lang/js/src/Keyring.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/js/src/Keyring.js b/lang/js/src/Keyring.js
index 0d7643f0..358757b0 100644
--- a/lang/js/src/Keyring.js
+++ b/lang/js/src/Keyring.js
@@ -110,10 +110,10 @@ export class GPGME_Keyring {
* contains a secret key.
* @returns {Promise<GPGME_Key>}
*
- * @async
+ *
* TODO: getHasSecret always returns false at this moment, so this fucntion
* still does not fully work as intended.
- *
+ * * @async
*/
getDefaultKey() {
let me = this;
@@ -283,7 +283,7 @@ export class GPGME_Keyring {
* @param {Date} expires (optional) Expiration date. If not set, expiration
* will be set to 'never'
*
- * @returns{Promise<Key>}
+ * @return {Promise<Key>}
*/
generateKey(userId, algo = 'default', expires){
if (