Upgraded gateway npm dependency to ~1.0.0.