feat(library): currentIndex Set Public