Stir the shredded carrots and raisins (if using) together with the maple syrup and refrigerate for one hour.
Heat the oven to 325°F. Grease two 9" cake pans with coconut oil and dust with coconut flour, line the bottoms with circles of parchment paper cut to fit and set aside. If using a Bundt pan, grease and flour as described and set aside.
Combine the coconut flour, cinnamon, nutmeg, salt and baking soda.
Crack the eggs into a large mixing bowl and whisk.
Add the pumpkin puree, vanilla and coconut oil and beat until well combined.
Fold in the dry ingredient mixture until just combined.
Fold in the maple syrup/carrot mixture until evenly combined.
Bake 35-40 minutes in cake pans, or 1 hr and 20-30 minutes in Bundt pan.