Throne of Glass and ACOTAR characters, at some point, existed in the same world
In the Sarah J. Maas universe, time travel is possible. when Aelin saw Prythian and Lunathian, she went forward in time. Despite it being an unpopular opinion, there's a bunch of evidence for this - for example, the Harp singing "we shall open doors and pathways, we shall move through space and EONS together" [eons meaning a 'very long period of time'].