@ixo/editor 6.2.1 → 6.4.0

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.
@@ -10,7 +10,7 @@ import {
10
10
  replaceBlockInFragment,
11
11
  swapBlocksInFragment,
12
12
  writeCompiledBlocksToFragment
13
- } from "./chunk-GUKGNTGT.js";
13
+ } from "./chunk-ABOIPKAB.js";
14
14
 
15
15
  // src/core/lib/flowCompiler/authoring.ts
16
16
  import * as Y from "yjs";
@@ -257,4 +257,4 @@ export {
257
257
  resetStepRuntime,
258
258
  setFormAnswers
259
259
  };
260
- //# sourceMappingURL=chunk-5JGB36AV.js.map
260
+ //# sourceMappingURL=chunk-6KR4QTZB.js.map
@@ -9593,11 +9593,23 @@ var VERSION_MANIFEST = {
9593
9593
  }
9594
9594
  };
9595
9595
  var LATEST_VERSION = "1.0.0";
9596
+ var tempUcanEnforcementDisabled = true;
9597
+ function isTempUcanEnforcementDisabled() {
9598
+ return tempUcanEnforcementDisabled;
9599
+ }
9600
+ function setTempUcanEnforcementDisabled(disabled) {
9601
+ tempUcanEnforcementDisabled = disabled;
9602
+ }
9596
9603
  var MIGRATION_PATH = ["0.3", "1.0.0"];
9597
9604
  function getVersionPolicy(version) {
9598
- const policy = VERSION_MANIFEST[version];
9599
- if (!policy) {
9600
- return VERSION_MANIFEST[LATEST_VERSION];
9605
+ const policy = VERSION_MANIFEST[version] ?? VERSION_MANIFEST[LATEST_VERSION];
9606
+ if (tempUcanEnforcementDisabled && policy.ucanRequired) {
9607
+ return {
9608
+ ...policy,
9609
+ ucanRequired: false,
9610
+ delegationRootRequired: false,
9611
+ ui: { ...policy.ui, requirePinForExecution: false }
9612
+ };
9601
9613
  }
9602
9614
  return policy;
9603
9615
  }
@@ -13595,6 +13607,8 @@ export {
13595
13607
  replayFailedListenerRun,
13596
13608
  VERSION_MANIFEST,
13597
13609
  LATEST_VERSION,
13610
+ isTempUcanEnforcementDisabled,
13611
+ setTempUcanEnforcementDisabled,
13598
13612
  getVersionPolicy,
13599
13613
  isVersionAtLeast,
13600
13614
  reconcilePendingInvocations,
@@ -13669,4 +13683,4 @@ export {
13669
13683
  executeQueuedFlowAgentCoreCommands,
13670
13684
  FlowAgentService
13671
13685
  };
13672
- //# sourceMappingURL=chunk-GUKGNTGT.js.map
13686
+ //# sourceMappingURL=chunk-ABOIPKAB.js.map