• Migrate token.

    Parameters

    • token: TokenDocument

      Token to migrate

    Returns Promise<null | TokenDocument>

    • Promise to updated document,. or null if no update was done.