According to the union, the deal includes new provisions to increase wages and make libraries safer.