diff --git a/functions-templates/javascript/sanity-create/package.json b/functions-templates/javascript/sanity-create/package.json index 21b951bae00..e961223558f 100644 --- a/functions-templates/javascript/sanity-create/package.json +++ b/functions-templates/javascript/sanity-create/package.json @@ -15,6 +15,6 @@ "author": "Sanity.io", "license": "MIT", "dependencies": { - "@sanity/client": "^0.147.3" + "@sanity/client": "^6.0.0" } } diff --git a/functions-templates/javascript/sanity-groq/package.json b/functions-templates/javascript/sanity-groq/package.json index c62c2e1bc27..d59656ca24f 100644 --- a/functions-templates/javascript/sanity-groq/package.json +++ b/functions-templates/javascript/sanity-groq/package.json @@ -16,6 +16,6 @@ "author": "Sanity.io", "license": "MIT", "dependencies": { - "@sanity/client": "^0.147.3" + "@sanity/client": "^6.0.0" } }