The “book” referred to in Revelations is only the Book of Revelations itself, not the whole Bible. The entire Bible would not be compiled into an agreed upon single volume for another 300 years; that is until Luther removed seven books from the Old Testament.
The Catholics say this but then they say Matthew was written in Aramaic which doesn't make sense as he was a tax collector knowing Greek and would have written in Greek as the majority of Jews were in the diaspora and not using Aramaic.
The only reason for this is to protect the dogma of Mary being eternally virgin.