Skip to content

Documentation / js-sdk-core / throwIfInvalidRecoveryUpgradePath

Function: throwIfInvalidRecoveryUpgradePath()

throwIfInvalidRecoveryUpgradePath(__namedParameters): boolean

Ensure that the recovery upgrade path is valid.

Parameters

__namedParameters: Object

__namedParameters.currentRecoveryMethod: EmbeddedWalletRecoveryOptions

__namedParameters.upgradeToRecoveryMethod: IEmbeddedWalletRecoveryOptions

Returns

boolean