@orangecheck/agent-core 2.5.0 → 2.5.1

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/dist/index.mjs CHANGED
@@ -512,7 +512,7 @@ async function verifyDelegation(input) {
512
512
  if (!input.skipRevocationCheck && !input.revocations) {
513
513
  return err(
514
514
  "E_MALFORMED",
515
- "verifyDelegation requires `revocations` (fetch kind-30085 by #delegation) or an explicit skipRevocationCheck:true to state that revocation is not being checked"
515
+ 'verifyDelegation requires `revocations` (query kind 30085 with "#t": [delegation id], SPEC \xA79.4) or an explicit skipRevocationCheck:true to state that revocation is not being checked'
516
516
  );
517
517
  }
518
518
  if (input.revocations) {
@@ -640,7 +640,7 @@ async function verifyAction(input) {
640
640
  if (!input.skipRevocationCheck && !input.revocations) {
641
641
  return err(
642
642
  "E_MALFORMED",
643
- "verifyAction requires `revocations` (fetch kind-30085 by #delegation for every link in the chain) or an explicit skipRevocationCheck:true"
643
+ 'verifyAction requires `revocations` (query kind 30085 with "#t": [id of every link in the chain], SPEC \xA79.4) or an explicit skipRevocationCheck:true'
644
644
  );
645
645
  }
646
646
  let actionAnchor;
@@ -1104,7 +1104,7 @@ async function verifyFederationDelegation(input) {
1104
1104
  if (!input.skipRevocationCheck && !input.revocations) {
1105
1105
  return fail(
1106
1106
  "E_MALFORMED",
1107
- "verifyFederationDelegation requires `revocations` (fetch kind-30085 by #delegation) or an explicit skipRevocationCheck:true to state that revocation is not being checked"
1107
+ 'verifyFederationDelegation requires `revocations` (query kind 30085 with "#t": [delegation id], SPEC \xA79.4) or an explicit skipRevocationCheck:true to state that revocation is not being checked'
1108
1108
  );
1109
1109
  }
1110
1110
  for (const rev of input.revocations ?? []) {