Home GnuPG
Diffusion GPGME 94ee0988d4ea

js: change the write access for js class methods

Description

js: change the write access for js class methods

  • src/ [Connection, Error, Key, Keyring, MEssage, Signature, gpgmejs]: Functions and values that are not meant to be overwritten are now moved into their constructors, thus eliminating the possibility of overwrites after initialization.
  • Key: The mode of use (synchronous cached, or async promises) ivs now determined at initialization of that Key. The property Key.isAsync reflects this state.
  • unittests: fixed old Key syntax for testing.
  • Message.js isComplete is now a method and not a getter anymore.
  • Added some startup tests.

Details

Provenance
mkrambachAuthored on Jul 27 2018, 8:36 PM
Parents
rMb18b96fb3647: js: clean up test extension
Branches
Unknown
Tags
Unknown
Reverted By
rM1954d27be86b: js: revert changes to class read/write restriction