Bumping this thread.
@Nick_Wesselman I am also seeing the same problem as @basilkhan where the same cartTransform query returns an empty array. In my case the cart transform function is actually installed and working in the store, but the query still returns nothing.
I’m testing on a development store, if that matters.