*edit:* ~~I guess a cleaner option in general would be: ``` const peerId = await create({ bits: 256, keyType: 'ed25519' }) const privateKey = Object.assign({}, peerId) ```~~ -> I guess a cleaner option in general would be: ``` const peerId = await PeerId.create({ bits: 256, keyType: 'ed25519' }) const privateKey = Object.assign({}, peerId) ```