File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ class SecureConfig extends IConfig {
372372
373373 this . content = await this . config . read ( this . id + '.content' )
374374
375- const contentMsg = new dataparty_crypto . Message ( )
375+ const contentMsg = new dataparty_crypto . Message ( { } )
376376 contentMsg . fromJSON ( this . content )
377377
378378 //! Verify message
@@ -468,7 +468,7 @@ class SecureConfig extends IConfig {
468468
469469 this . updateTimeout ( )
470470
471- const decryptedContent = new dataparty_crypto . Message ( )
471+ const decryptedContent = new dataparty_crypto . Message ( { } )
472472 decryptedContent . fromJSON ( this . content )
473473 await decryptedContent . decrypt ( this . identity )
474474
Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ class IParty {
311311 async decrypt ( reply , expectedSender , expectClearTextReply = false ) {
312312 // if reply has ciphertext & sig attempt to decrypt
313313 if ( reply . enc && reply . sig ) {
314- const msg = new dataparty_crypto . Message ( )
314+ const msg = new dataparty_crypto . Message ( { } )
315315 msg . fromJSON ( reply )
316316
317317 const replyContent = await msg . decrypt ( this . _identity )
You can’t perform that action at this time.
0 commit comments