The quake damaged dozens of single-storey houses and taller buildings and was felt in a wider area, including in Bali, where no damage or casualties were reported.