Javascript Renaming a File

Hello,
The javascript documentation for renaming a file says it should return an absolute path. However, I’m not getting a return value. Here is how I’m calling the function in javascript:
var newFileUrl = Backendless.Files.renameFile(rootPath, newFilename);
The file is successfully renamed. But after the call, newFileUrl is undefined. Am I calling this the right way?
Thank you for your help.

Phil,

We’re looking into it.

Regards,
Mark

Hi Phil,
I think you are using an old version of JS-SDK.
You can find the latest version here:

Please, let me know if everything is ok.

Regards,
Stanislav