add missing swr api. build with old swr