I noticed that createSharedLink:shortUrl was deprecated, but I didn't see a proper way to get a short URL using createSharedLinkWithSettings:settings. Settings doesn't include a shortUrl flag.
For now, I can survive with the long URL, but it would be nice to have the short URL like I was able to get in the Obj-C v1.