The Dhampir Trait (P17 of VRGTR) Says:
Your fanged bite....add your Constitution modifier....deals 1d4 Piercing damage..... You regain hit points equal to the piercing damage dealt by the bite.
The Eldritch Invocation Gift of the Ever-living Ones (P57 XGTE) Says:
Whenever you regain hit points while your familiar is within a 100 feet of you, treat any dice rolled to determine the hit points you regain as having rolled their maximum value for you.
My question is: How does this affect the damage dice inflicted by the bite? Are they maximized? Or is the damage rolled and then the maximum possible roll is then taken for healing?