API Reference / @evolu/common / Evolu/Internal / createSharedOwner
Function: createSharedOwner()
function createSharedOwner(deps): SharedOwner;
Defined in: packages/common/src/Evolu/Owner.ts:182
Creates a fresh SharedOwner for sharing data with write access. Takes
no arguments as both mnemonic
and rotatable writeKey
are newly generated;
when shared, recipients use the provided mnemonic
and writeKey
directly
as a SharedOwner without needing to recreate it.
Parameters
Parameter | Type |
---|---|
deps | CreateRandomBytesDep & CreateMnemonicDep |