@sanity/client
Advanced tools
Comparing version 6.24.0 to 6.24.1
{ | ||
"name": "@sanity/client", | ||
"version": "6.24.0", | ||
"version": "6.24.1", | ||
"description": "Client for retrieving, creating and patching data from Sanity.io", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -34,3 +34,5 @@ import {generateHelpUrl} from './generateHelpUrl' | ||
*/ | ||
export const validateApiPerspective = function validateApiPerspective(perspective: unknown) { | ||
export function validateApiPerspective( | ||
perspective: unknown, | ||
): asserts perspective is ClientPerspective { | ||
if (Array.isArray(perspective)) { | ||
@@ -37,0 +39,0 @@ for (const perspectiveValue of perspective) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2214924
25248