sanity 5.1.1-next.5 → 5.1.1-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_chunks-es/package.js +1 -1
- package/lib/_chunks-es/version.js +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +14 -14
|
@@ -7,7 +7,7 @@ try {
|
|
|
7
7
|
try {
|
|
8
8
|
buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time
|
|
9
9
|
// and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc.
|
|
10
|
-
"5.1.1-next.
|
|
10
|
+
"5.1.1-next.6+dd33f5b975";
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
const SANITY_VERSION = buildVersion || `${version}-dev`;
|
package/lib/index.js
CHANGED
|
@@ -53443,7 +53443,7 @@ const bundleDocumentsCache = /* @__PURE__ */ Object.create(null), getActiveRelea
|
|
|
53443
53443
|
validation: [],
|
|
53444
53444
|
revision: document2._rev,
|
|
53445
53445
|
hasError: !1
|
|
53446
|
-
}) : from(schedulerYield(() => Promise.resolve())).pipe(switchMap(() => validateDocumentWithReferences(ctx, of(document2), !
|
|
53446
|
+
}) : from(schedulerYield(() => Promise.resolve())).pipe(switchMap(() => validateDocumentWithReferences(ctx, of(document2), !1).pipe(map((validationStatus) => ({
|
|
53447
53447
|
...validationStatus,
|
|
53448
53448
|
hasError: validationStatus.validation.some((marker) => isValidationErrorMarker(marker))
|
|
53449
53449
|
}))))), processDocument = (id2) => {
|