@inf-monkeys-tech/monkeys 1.1.20 → 1.1.21

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/esm/index.mjs CHANGED
@@ -24046,10 +24046,10 @@ var compilePageRuntimeBundleInternal = (input, legacy) => {
24046
24046
  const target = (input.targetRegistry ?? []).find(
24047
24047
  (candidate) => page.entryTransitions.some((entry) => sameStableRef(entry.targetRef, candidate.stableTargetRef)) && [candidate.targetRevisionRef, candidate.releaseRevisionRef].some((ref2) => ref2 && sameRevisionRef(ref2, reference))
24048
24048
  );
24049
- if (release.target.surface !== "studio" || reference.visibility !== "tenant" || reference.ownerRepo !== "monkeys-server" || !["page", "page-release"].includes(reference.kind) || reference.tenantScope?.tenantRef.id !== "0" || reference.tenantScope?.teamRef?.id !== "0" || !target || target.surface !== "studio" || target.targetRevisionRef.kind !== "page" || !target.releaseRevisionRef || target.releaseRevisionRef.kind !== "page-release" || scopeKey(target.targetRevisionRef.tenantScope) !== scopeKey(reference.tenantScope) || scopeKey(target.releaseRevisionRef.tenantScope) !== scopeKey(reference.tenantScope)) throw new DeclarativeControlCompilationError(
24049
+ if (release.target.surface !== "studio" || reference.visibility !== "tenant" || reference.ownerRepo !== "monkeys-server" || !["page", "page-release"].includes(reference.kind) || reference.tenantScope?.tenantRef.id !== "0" || reference.tenantScope?.teamRef?.id !== "0" || !target || target.surface !== "studio" || target.targetRevisionRef.kind !== "page" || scopeKey(target.targetRevisionRef.tenantScope) !== scopeKey(reference.tenantScope) || target.releaseRevisionRef && (target.releaseRevisionRef.kind !== "page-release" || !target.releaseRevisionRef.tenantScope || scopeKey(target.releaseRevisionRef.tenantScope) !== scopeKey(reference.tenantScope))) throw new DeclarativeControlCompilationError(
24050
24050
  "CROSS_TENANT_REFERENCE",
24051
24051
  `verifiedSharedPageReferences[${index}]`,
24052
- "Shared Studio Page references must pin an authenticated catalog target and its Release in the shared scope."
24052
+ "Shared Studio Page references must pin an authenticated catalog route target in the shared scope."
24053
24053
  );
24054
24054
  return revisionRefKey(reference);
24055
24055
  });