jolocom/jolocom-lib

Don't mutate input objects

Opened this issue · 1 comments

Description

The library sometimes mutates input objects, for example in identityWallet.create.signedCredential, the claim object gets an id field added to it (which contains the DID)

Part of #355

BREAKING CHANGE: some code might depend on the behavior??

TODO

  • look for other instances
  • PR

NOTE: this is an old report and needs to be reconfirmed