Function: normalizeRecoveryCode()
function normalizeRecoveryCode(code: string): string;
Defined in: vault-core/src/keys.ts:74 (opens in a new tab)
The form of a recovery code that is wrapped and unwrapped under: uppercase, separators dropped, and O folded to 0 and I or L to 1, so a typo still opens.
ParametersLink to this section
| Parameter | Type |
|---|---|
code | string |
ReturnsLink to this section
string