@inf-monkeys-tech/monkeys 1.1.8 → 1.1.9

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.
@@ -17905,13 +17905,17 @@ var requireDependencies = (snapshot, required) => {
17905
17905
  }
17906
17906
  }
17907
17907
  };
17908
- var assertDependencyScopes = (snapshot, scope) => snapshot.forEach(
17909
- (dependency, index) => assertTenantCompatible(
17910
- dependency.revisionRef,
17908
+ var assertDependencyScopes = (snapshot, scope, allowedForeignReferences = /* @__PURE__ */ new Set()) => snapshot.forEach((dependency, index) => {
17909
+ const reference = dependency.revisionRef;
17910
+ const foreign = reference.visibility === "tenant" && scopeKey(reference.tenantScope) !== scopeKey(scope);
17911
+ if (foreign && allowedForeignReferences.has(revisionRefKey(reference)))
17912
+ return;
17913
+ assertTenantCompatible(
17914
+ reference,
17911
17915
  scope,
17912
17916
  `dependencySnapshot[${index}].revisionRef`
17913
- )
17914
- );
17917
+ );
17918
+ });
17915
17919
  var requireReleaseReady = (release) => {
17916
17920
  if (release.operation === "deactivate") {
17917
17921
  throw new DeclarativeControlCompilationError(
@@ -20006,7 +20010,11 @@ var compileNavigationRuntimeBundle = (input) => {
20006
20010
  release.dependencySnapshot,
20007
20011
  navigationDependencies(navigation, release, compilerRevisionRef)
20008
20012
  );
20009
- assertDependencyScopes(release.dependencySnapshot, scope);
20013
+ assertDependencyScopes(
20014
+ release.dependencySnapshot,
20015
+ scope,
20016
+ verifiedKernelPageReferenceKeys
20017
+ );
20010
20018
  const targetRegistry = input.targetRegistry.map((registration, index) => {
20011
20019
  const common = {
20012
20020
  stableTargetRef: StableRefSchema.parse(registration.stableTargetRef),