01 - In a small saucepan, combine apricot preserves, pineapple juice, vinegar, brown sugar, ketchup, soy sauce, and salt.
02 - Place over medium heat and whisk until smooth and heated through, about 3-4 minutes.
03 - In a small bowl, whisk cornstarch with cold water to make a slurry.
04 - Pour the slurry into the saucepan while stirring constantly.
05 - Bring the mixture to a gentle boil, whisking frequently, until the sauce thickens and becomes glossy (about 2-3 minutes).
06 - If using, stir in garlic powder and onion powder for extra depth.
07 - Remove from heat and let cool slightly before serving.
08 - Store leftovers in an airtight container in the refrigerator for up to one week.