Preheat the oven to 375°F. Line 2 baking sheets with parchment paper.
In a large mixing bowl with a paddle attachment, beat cream cheese, sugar, 1 egg, vanilla and salt until smooth, about 30 seconds.
In a small bowl, whisk the remaining egg with ½ tablespoon of water to make an egg wash.
Cut each puff pastry into 9 squares. Fold each square in half to form a triangle and cut ½ -inch from the edges along the open sides, leaving the top corner attached.
Brush on the egg wash all over the puff pastry squares. And fold over the cut corners onto the opposite side. Brush on more egg wash over the edges.
Arrange the pastries on the prepared baking sheets.
Divide the cream cheese mixture into the center of each pastry square, about 2 tablespoons per danish.
Bake for 18-20 minutes or until nice and golden. Cool slightly.