If I understand correctly, then this.host.allowInteractions moved to options.host.hostCapabilities.allowInteractions in the Power BI API. You need to update the code to make it compatible with newest version of API. There might be other changes needed as well.