I am getting this warning in the console and could not able to clearly understand the documentation.
warnings.js:16 Using the Sanity client without specifying an API version is deprecated. See https://docs.sanity.io/help/js-client-api-version
I would like it to always have the latest API version. Here is how my connection looks like
import santiyClient from "@sanity/client";
export default santiyClient({
projectId: "myProjectID",
dataset: "production",
useCdn: true,
});