[0.3.5] - Add api.trigger to manually trigger events