aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js
diff options
context:
space:
mode:
authorMaximilian Krambach <[email protected]>2018-08-27 11:24:18 +0000
committerMaximilian Krambach <[email protected]>2018-08-27 11:25:58 +0000
commit8aa61fd3a270c167bf85cdd3f4148c48f5ae9ff7 (patch)
tree87e39e47c4c60f01ad8376cb7da4d1d47a9438df /lang/js
parentjs: make non-payload data more encoding-tolerant (diff)
downloadgpgme-8aa61fd3a270c167bf85cdd3f4148c48f5ae9ff7.tar.gz
gpgme-8aa61fd3a270c167bf85cdd3f4148c48f5ae9ff7.zip
js: small documentation update
--
Diffstat (limited to 'lang/js')
-rw-r--r--lang/js/src/gpgmejs.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/js/src/gpgmejs.js b/lang/js/src/gpgmejs.js
index 592b0a13..08f80fc2 100644
--- a/lang/js/src/gpgmejs.js
+++ b/lang/js/src/gpgmejs.js
@@ -33,9 +33,11 @@ import { createSignature } from './Signature';
* @property {String|Uint8Array} data The decrypted data
* @property {String} format Indicating how the data was converted after being
* received from gpgme.
+ * 'ascii': Data was ascii-encoded and no further processed
* 'string': Data was decoded into an utf-8 string,
* 'base64': Data was not processed and is a base64 string
* 'uint8': data was turned into a Uint8Array
+ *
* @property {Boolean} is_mime (optional) the data claims to be a MIME
* object.
* @property {String} file_name (optional) the original file name
@@ -82,7 +84,6 @@ import { createSignature } from './Signature';
* @property {Boolean} data: The verified data
* @property {Boolean} is_mime (optional) the data claims to be a MIME
* object.
- * @property {String} file_name (optional) the original file name
* @property {signatureDetails} signatures Verification details for
* signatures
*/