Make sure to make a backup first.
This video shows how to swap from the Official daisyUI Figma library v1 to v2, and how to fix component variants after swap.
daisyUI Figma Library v2 is based on daisyUI 5 which comes with a lot of design improvement, new variant and new features.
Swapping the Figma library to v2 and fixing component variants may take some time depending how big is your design file.