`waitForApp` just needs the client so if you move this onto apps, it could just take an origin and a callback