Function: recoverOrg()¶
Defined in: rine-ts-sdk/src/recover.ts:50
Rebuild the org and its agents from the recovery phrase.
Nothing is written until the server has confirmed the org and every agent was checked, and a failed closed-group reseat leaves the owner directory without an org, so running it again is not refused.
Parameters¶
| Parameter | Type |
|---|---|
opts |
RecoverOptions |
Returns¶
Promise\<RecoveryReport>
Throws¶
The owner directory is unsafe or holds an org, or no org matches the phrase.
Throws¶
The token request names clock skew.