NSW Premier Chris Minns has vowed to "throw the book" at those behind antisemitic attacks.