@sanity/client
Advanced tools
Comparing version 6.15.15-canary.0 to 6.15.15
/// <reference types="node" /> | ||
import type {ContentSourceMap as ContentSourceMap_2} from '@sanity/client' | ||
import type {ContentSourceMapDocuments as ContentSourceMapDocuments_2} from '@sanity/client' | ||
import type {SanityDocument as SanityDocument_2} from '@sanity/client' | ||
/** | ||
@@ -34,5 +30,5 @@ * Used to tag types that is set to `any` as a temporary measure, but should be replaced with proper typings in the future | ||
context: { | ||
cachedDocument: Partial<SanityDocument_2> | ||
cachedDocument: Partial<SanityDocument> | ||
previousValue: T | ||
sourceDocument: ContentSourceMapDocuments_2[number] | ||
sourceDocument: ContentSourceMapDocuments[number] | ||
sourcePath: ContentSourceMapParsedPath | ||
@@ -240,3 +236,3 @@ }, | ||
studioUrl: StudioUrl | ResolveStudioUrl | ||
resultSourceMap: ContentSourceMap_2 | ||
resultSourceMap: ContentSourceMap | ||
resultPath: ContentSourceMapParsedPath | ||
@@ -271,3 +267,3 @@ } | ||
export declare type ResolveStudioUrl = ( | ||
sourceDocument: ContentSourceMapDocuments_2[number], | ||
sourceDocument: ContentSourceMapDocuments[number], | ||
) => StudioUrl | ||
@@ -274,0 +270,0 @@ |
{ | ||
"name": "@sanity/client", | ||
"version": "6.15.15-canary.0", | ||
"version": "6.15.15", | ||
"description": "Client for retrieving, creating and patching data from Sanity.io", | ||
@@ -35,2 +35,6 @@ "keywords": [ | ||
}, | ||
"react-native": { | ||
"import": "./dist/index.browser.js", | ||
"require": "./dist/index.browser.cjs" | ||
}, | ||
"react-server": "./dist/index.browser.js", | ||
@@ -59,2 +63,6 @@ "bun": "./dist/index.browser.js", | ||
}, | ||
"react-native": { | ||
"import": "./dist/index.browser.js", | ||
"require": "./dist/index.browser.cjs" | ||
}, | ||
"react-server": "./dist/stega.browser.js", | ||
@@ -127,3 +135,3 @@ "bun": "./dist/stega.browser.js", | ||
"@sanity/eventsource": "^5.0.0", | ||
"get-it": "^8.4.23", | ||
"get-it": "^8.4.24", | ||
"rxjs": "^7.0.0" | ||
@@ -130,0 +138,0 @@ }, |
@@ -1,3 +0,2 @@ | ||
import type {ContentSourceMap, ContentSourceMapDocuments, SanityDocument} from '@sanity/client' | ||
import type {ContentSourceMap, ContentSourceMapDocuments, SanityDocument} from '../types' | ||
import {Path} from './studioPath' | ||
@@ -4,0 +3,0 @@ |
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 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 not supported yet
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 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 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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
2516631
29468
Updatedget-it@^8.4.24