MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / createDraft

Method createDraft

src/client-API/client-api.js:617–619  ·  view source on GitHub ↗

* Encrypt and sign the content of the editor with the default key of the user. * To be used to save drafts. To restore drafts use the options.armoredDraft parameter of the createEditorContainer method. * @returns {Promise. } * @throws {Error} error.code = 'ENCRYPT_IN_PRO

()

Source from the content-addressed store, hash-verified

615 * error.code = 'ENCRYPT_QUOTA_SIZE'
616 */
617 createDraft() {
618 return send('editor-create-draft', {editorId: this.editorId});
619 }
620}
621
622const callbacks = Object.create(null);

Callers

nothing calls this directly

Calls 1

sendFunction · 0.70

Tested by

no test coverage detected