@ixo/editor 5.20.1 → 5.20.2

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.
@@ -897,7 +897,8 @@ registerAction({
897
897
  const submission = await service.submitBid({
898
898
  collectionId,
899
899
  role: chainRole,
900
- surveyAnswers
900
+ surveyAnswers,
901
+ entityDid: deedDid || void 0
901
902
  });
902
903
  const bidId = String(submission?.claimId || submission?.bidId || submission?.id || "");
903
904
  if (!bidId) {
@@ -1004,7 +1005,8 @@ registerAction({
1004
1005
  await service.approveBid({
1005
1006
  bidId,
1006
1007
  collectionId,
1007
- did: applicantDid
1008
+ did: applicantDid,
1009
+ entityDid: deedDid
1008
1010
  });
1009
1011
  } else {
1010
1012
  const reason = String(inputs.reason || "").trim();
@@ -1015,7 +1017,8 @@ registerAction({
1015
1017
  bidId,
1016
1018
  collectionId,
1017
1019
  did: deedDid,
1018
- reason
1020
+ reason,
1021
+ entityDid: deedDid
1019
1022
  });
1020
1023
  }
1021
1024
  return {
@@ -1219,6 +1222,7 @@ registerAction({
1219
1222
  const result = await service.submitClaim({
1220
1223
  surveyData: surveyAnswers,
1221
1224
  deedDid,
1225
+ entityDid: deedDid,
1222
1226
  collectionId,
1223
1227
  adminAddress,
1224
1228
  pin
@@ -1463,7 +1467,7 @@ registerAction({
1463
1467
  try {
1464
1468
  const getClaimData = handlers?.getClaimData;
1465
1469
  if (typeof getClaimData === "function") {
1466
- const claimData = await getClaimData(collectionId, claimId);
1470
+ const claimData = await getClaimData(collectionId, claimId, { entityDid: deedDid });
1467
1471
  const candidate = claimData?.credentialSubject ?? claimData?.surveyAnswers ?? claimData;
1468
1472
  if (candidate && typeof candidate === "object" && !Array.isArray(candidate)) {
1469
1473
  surveyAnswers = candidate;
@@ -10215,4 +10219,4 @@ export {
10215
10219
  executeQueuedFlowAgentCoreCommands,
10216
10220
  FlowAgentService
10217
10221
  };
10218
- //# sourceMappingURL=chunk-6N5JNDZ3.mjs.map
10222
+ //# sourceMappingURL=chunk-HETRTQWL.mjs.map