UXP host object not populated

Hi! I noticed in the documentation for XD it mentions require("uxp").host. However, that object only seems to populate in the Photoshop version of UXP. Not both of them like you would expect. Is it supposed to be like that? Thanks!

Just an update. I heard back that this is currently a known bug and will be fixed. For right now, as a work around, if you need to detect if a plugin is being ran from PS or XD, you can just check for the existence of the host object