add minified .then api function to CurlApi
recompile dist versions