Is the word and bold, a direct object or indirect object before my trip Bonnie wished me a safe flight. The word and bold is me. Is that direct object or indirect object?

In the sentence "Bonnie wished me a safe flight," the word "me" is the indirect object. An indirect object is the recipient of the direct object. In this case, the direct object is "a safe flight," and "me" is the recipient of this action.