Lots of good advice on here already.
If I was you, I would try to hope for the best but (mentally) prepare for the worst, just in case, but in a practical way, without getting upset/panicking.
It's good to have had some warning/a 'heads up', so you won't look too shocked if it actually DOES happen? (But it might not happen.)
If there's a meeting/convo, (sort of thing), prior to you being told about ur contract status, I would smile, be pleasant/confident/professional. If they sound to be on the fence re your future, I would act positive & then see if there was still any 'wriggle room' to staying on, or any other openings with same company where you could slot in if they say they are terminating you.
No need to look desperate or beg, but you could say something like "Oh that's a shame as I REALLY LIKED WORKING HERE & thought I was doing a good job, but I am sure I will find something else if you are not able to keep me on ..." sort of thing. (Keeping it serious, but light. And keeping ur dignity.) Then have a cry privately in the loo later if u really have to.
Remember to ask for reference from them, with which to move on to better things!
Everyone goes thru bad patches in their career, & many have to work with redundancy threats hanging over them. You just have to stay calm, tough it out & keep going. And things will eventually get back on track if u refuse to be put down.
Listen to any (good) advice offered re what you are doing wrong or not doing right and/or why they think you didnt fit in. While rejecting any unfair/mean criticism.
Often if's just bad luck/unfavourable circs/horrible colleagues or bosses & not your fault at all? So, I think have to develop a thick skin if u weren't born with one, for times like this.
Really hope they keep you on though, as you seem ike you want to stay there! (Let us know what happens?)
< disclaimer: I am a 'trailing', non-working spouse & havent worked myself for about 25yrs, so I might be talking rubbbish. But when younger, I did work for some yrs in a large multi-national. And then on some short contracts. But I feel for u OP! >