diff options
author | Maximilian Krambach <[email protected]> | 2018-04-24 17:29:32 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-04-24 17:29:32 +0000 |
commit | e2aa8066a9b3ce694169ad9fcc26cae486a804af (patch) | |
tree | 38ee5d3a1b7ff50e33829e3a992ec58db0e6fb71 /lang/js/src/index.js | |
parent | js: change in initialization ancd connection handling (diff) | |
download | gpgme-e2aa8066a9b3ce694169ad9fcc26cae486a804af.tar.gz gpgme-e2aa8066a9b3ce694169ad9fcc26cae486a804af.zip |
js: Key object adjustments after discussion
--
* src/aKey.js changed fingerprint to setter (to avoid overwrites)
* src/gpgmejs_openpgpjs.js
- Added a class GPGME_Key_openpgpmode, which allows for renaming and
deviation from GPGME.
- renamed classes *_openPGPCompatibility to *_openpgpmode. They are
not fully compatible, but only offer a subset of properties. Also,
the name seems less clunky
Diffstat (limited to '')
-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 0e2beda4..0cb2301c 100644 --- a/lang/js/src/index.js +++ b/lang/js/src/index.js @@ -19,7 +19,7 @@ */ import { GpgME } from "./gpgmejs"; -import { GpgME_openPGPCompatibility } from "./gpgmejs_openpgpjs"; +import { GpgME_openpgpmode } from "./gpgmejs_openpgpjs"; import { Connection } from "./Connection"; /** @@ -40,7 +40,7 @@ function init( config = { let gpgme = null; if (config.api_style && config.api_style === 'gpgme_openpgpjs'){ resolve( - new GpgME_openPGPCompatibility(connection)); + new GpgME_openpgpmode(connection)); } else { resolve(new GpgME(connection)); } |