How to wait for the Meteor.users collection gets ready in a library?

Are you sure you need a universal publication? Can’t you do a standard publication and a standard subscribe? This would allow you to check the ready state.

Also, you should avoid using the profile field of Meteor.users (see here).