FOR THE CAKE: – 2 & 1/2 cups (300g) all-purpose flour – 1 & 1/2 teaspoons baking powder – 1/2 teaspoon baking soda – 1/2 teaspoon salt – 1/2 cup (113g) unsalted butter, softened – 1 cup (200g) firmly packed light brown sugar – 1/2 cup (100g) granulated sugar – 1 cup (255g) peanut butter – 2 teaspoons vanilla extract – 3 large egg – 1 cup (237ml) milk FOR THE GLAZE: – 4 ounces (113g) cream cheese, at room temperature – 3 tablespoons peanut butter – 1 cup (110g) confectioners’ sugar, sifted – 2-4 tablespoons milk – 2 tablespoons chopped peanuts, for garnish