fix(server): remove boss.connect() and expose boss object directly
boss.connect()
and boss.disconnect()
are no longer valid functions. This makes connect
simply invoke start
.
API is kept the same to avoid breaking changes.
Also added the boss
object (that was created with new PgBoss
) to exports.