feat(transport) support standalone and umd