diff options
author | Maximilian Krambach <[email protected]> | 2018-07-10 12:32:26 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-07-10 12:32:26 +0000 |
commit | 4015f5b4983c8a4590aa71776880d8bc42c7918d (patch) | |
tree | 2a4b6bd7a5e791a46cfca9143559ff8e8b20234e /lang/js/src/index.js | |
parent | js: fix verify result reporting (diff) | |
download | gpgme-4015f5b4983c8a4590aa71776880d8bc42c7918d.tar.gz gpgme-4015f5b4983c8a4590aa71776880d8bc42c7918d.zip |
js: documentation
--
* Fixed errors:
- src/Message.js post(): Set chunksize to defined default value instead
of hardcoded
- src/Keys.js: added getHasSecret() to refreshKey operation.
* Reviewed and updated the documentation
* non-documentation changes which do not affect functionality:
- src/Errors: disabled a console.warn that is only useful for debugging
- helpers.js: renamed "string" to "value" in isFingerprint and isLongId
to avoid confusion
- src/Keyring: prepare_sync, search are both explicitly set to false by
default
Diffstat (limited to 'lang/js/src/index.js')
-rw-r--r-- | lang/js/src/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/js/src/index.js b/lang/js/src/index.js index 6db28733..dc613fc7 100644 --- a/lang/js/src/index.js +++ b/lang/js/src/index.js @@ -27,8 +27,8 @@ import { gpgme_error } from './Errors'; import { Connection } from './Connection'; /** - * Tests nativeMessaging once and returns a GpgME object if successful. - * @returns {GpgME | Error} + * Initializes gpgme.js by testing the nativeMessaging connection once. + * @returns {Promise<GpgME> | GPGME_Error} * * @async */ |