This is not a situation that should be addressed by asking or answering the question of what makes a Mass invalid.
What you experienced was, in fact, not a Mass at all but a Communion Service presided by a Deacon. After the Gospel and, if present, the homily and/or prayers of the faithful, the offertory is omitted as is the preface and Eucharistic Prayer and the rite continues with the Our Father and subsequent prayers, with the distribution of Communion from the Blessed Sacrament reserved in the tabernacle, followed by the post communion prayer, blessing and dismissal.
These Communion Services are completely legitimate in circumstances when a priest is unavailable; it is a provision made by the bishop of the diocese for the pastoral care of those who would be adversely affected by the inability to provide Mass.
The promises made by Jesus to Saint Margaret Mary Alacoque concern reception of Holy Communion on First Friday…the promise does not specify that the Communion must be received at Mass.