My supervisor said they are working on my offer
Nothing is guaranteed until you have a written and signed piece of paper.

(this advice applies to all parts of life!)

Your chances are possibly really good to get it now but there can always be something unexpected (clauses one of the parties does not agree to, financial implications, something wrong in the paperwork, change of mood, etc).