@fedify/fedify 2.5.0-dev.2758 → 2.5.0-dev.2766

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.
Files changed (38) hide show
  1. package/dist/compat/mod.d.cts +1 -1
  2. package/dist/compat/mod.d.ts +1 -1
  3. package/dist/{context-CuLvR1Os.d.ts → context-CgIOZfHW.d.ts} +1 -1
  4. package/dist/{context-apq0IBg2.d.cts → context-ZtE85CT_.d.cts} +1 -1
  5. package/dist/federation/mod.cjs +2 -1
  6. package/dist/federation/mod.d.cts +4 -4
  7. package/dist/federation/mod.d.ts +4 -4
  8. package/dist/federation/mod.js +125 -54
  9. package/dist/{federation-yC0wXSla.cjs → federation-COgnjnjr.cjs} +132 -55
  10. package/dist/{http-C1F-sW0Z.cjs → http-BqrOCUOK.cjs} +1 -1
  11. package/dist/{http-bjnB3G93.js → http-CZfnujnl.js} +1 -1
  12. package/dist/kv-B0eIwj06.d.cts +238 -0
  13. package/dist/kv-B0eIwj06.d.ts +238 -0
  14. package/dist/{kv-cache-MVXUHOtN.cjs → kv-cache-DFpIzPHz.cjs} +1 -1
  15. package/dist/{kv-cache-KQ9dNdBF.js → kv-cache-DT7zGfKY.js} +1 -1
  16. package/dist/{middleware-DcZbCWUu.js → middleware-Dz8iJh0H.js} +3 -3
  17. package/dist/{mod-BkTi19dI.d.ts → mod-BD6xjFNY.d.ts} +1 -1
  18. package/dist/{mod-DB2NOzQF.d.cts → mod-Bl1EEZMj.d.cts} +1 -1
  19. package/dist/{mod-CMtF0VVy.d.ts → mod-SgCN1wPF.d.ts} +1 -1
  20. package/dist/{mod-D2Z9MiCm.d.cts → mod-rDDnkuR8.d.cts} +1 -1
  21. package/dist/mod.cjs +5 -4
  22. package/dist/mod.d.cts +6 -6
  23. package/dist/mod.d.ts +6 -6
  24. package/dist/mod.js +6 -6
  25. package/dist/otel/mod.d.cts +1 -1
  26. package/dist/otel/mod.d.ts +1 -1
  27. package/dist/{portable-collection-dSrn_Flq.js → portable-collection-BrBFw0DP.js} +1 -1
  28. package/dist/{portable-collection-DoWiXH0U.cjs → portable-collection-CJ6-QUgP.cjs} +1 -1
  29. package/dist/sig/mod.cjs +2 -2
  30. package/dist/sig/mod.js +2 -2
  31. package/dist/utils/mod.cjs +1 -1
  32. package/dist/utils/mod.d.cts +1 -1
  33. package/dist/utils/mod.d.ts +1 -1
  34. package/dist/utils/mod.js +1 -1
  35. package/package.json +6 -6
  36. package/skills/fedify/SKILL.md +71 -5
  37. package/dist/kv-B2mzK5tl.d.cts +0 -112
  38. package/dist/kv-B2mzK5tl.d.ts +0 -112
package/dist/mod.d.cts CHANGED
@@ -2,17 +2,17 @@
2
2
  import { a as InboundService, c as OutboundService, d as Software, f as Usage, i as parseNodeInfo, l as Protocol, n as ParseNodeInfoOptions, o as JsonValue, p as nodeInfoToJson, r as getNodeInfo, s as NodeInfo, t as GetNodeInfoOptions, u as Services } from "./client-3InDZbba.cjs";
3
3
  import { A as AcceptSignatureParameters, B as VerifyPortableObjectProofOptions, C as VerifyRequestDetailedResult, D as verifyRequest, E as signRequest, F as validateAcceptSignature, G as signObject, H as VerifyProofOptions, I as CreateProofOptions, J as verifyProof, K as verifyObject, L as SignObjectOptions, M as formatAcceptSignature, N as fulfillAcceptSignature, O as verifyRequestDetailed, P as parseAcceptSignature, R as VerifyObjectOptions, S as SignRequestOptions, T as VerifyRequestOptions, U as createProof, V as VerifyPortableObjectProofResult, W as hasProofLike, _ as InboxVerificationKey, a as KeyCache, b as HttpMessageSignaturesSpecDeterminer, c as fetchKeyDetailed, d as InboxProofPolicyFailureReason, f as InboxSignatureCheck, g as InboxVerificationFailureReason, h as InboxVerificationAttempt, i as FetchKeyResult, j as FulfillAcceptSignatureResult, k as AcceptSignatureMember, l as generateCryptoKeyPair, m as InboxSignatureIdentity, n as FetchKeyErrorResult, o as exportJwk, p as InboxSignatureFailureReason, q as verifyPortableObjectProof, r as FetchKeyOptions, s as fetchKey, t as FetchKeyDetailedResult, u as importJwk, w as VerifyRequestFailureReason, x as Rfc9421SignRequestOptions, y as HttpMessageSignaturesSpec, z as VerifyPortableObjectProofFailureReason } from "./key-D5fbQkKM.cjs";
4
4
  import { a as VerifySignatureOptions, c as detachSignature, d as verifyJsonLd, f as verifySignature, g as getKeyOwner, h as doesActorOwnKey, i as VerifyJsonLdOptions, l as hasSignatureLike, m as GetKeyOwnerOptions, o as attachSignature, p as DoesActorOwnKeyOptions, r as SignJsonLdOptions, s as createSignature, t as CreateSignatureOptions, u as signJsonLd } from "./ld-DEi9ERHf.cjs";
5
- import { $ as respondWithObjectIfAcceptable, $t as IsActorAuthenticatedOptions, A as InboxChallengePolicy, An as OutboundResponseBodyEvent, At as HashlinkMediaDispatcher, B as createFederation, Bt as OutboxListenerErrorHandler, C as FederationBenchmarkOptions, Cn as OutboundInboxRequest, Ct as AuthorizePredicate, D as FederationStartQueueOptions, Dn as OutboundPreparationResult, Dt as CustomCollectionCounter, E as FederationOptions, En as OutboundObservers, Et as CollectionDispatcher, F as PortableInboxForwardingOptions, Fn as OutboundWorkerPreparationDiagnostic, Ft as NodeInfoDispatcher, G as TaskHandler, Gt as UnverifiedActivityHandler, H as TaskDefinition, Ht as PortableActorIdMapper, I as Rfc6570Expression, In as OutboundWorkerReport, It as ObjectAuthorizePredicate, J as RetryContext, Jt as SendActivityError, K as TaskRegistry, Kt as UnverifiedActivityReason, L as FederationKvPrefixes, Ln as OutboundWorkerSchedule, Lt as ObjectDispatcher, M as MediaUploaderSetters, Mn as OutboundSourceMetadata, Mt as InboxErrorHandler, N as ObjectCallbackSetters, Nn as OutboundWorkerAction, Nt as InboxListener, O as IdempotencyKeyCallback, On as OutboundProvenance, Ot as CustomCollectionCursor, P as OutboxListenerSetters, Pn as OutboundWorkerChild, Pt as MediaUploaderCallback, Q as respondWithObject, Qt as InboxPrincipal, R as FederationOrigin, Rt as OutboxErrorHandler, S as Federation, Sn as OutboundHttpResponseMetadata, St as ActorKeyPairsDispatcher, T as FederationFetchOptions, Tn as OutboundLocalContext, Tt as CollectionCursor, U as TaskDefinitionOptions, Ut as PortableCollectionOwnerMapper, V as createFederationBuilder, Vt as OutboxPermanentFailureHandler, W as TaskEnqueueOptions, Wt as SharedInboxKeyDispatcher, X as createExponentialBackoffPolicy, Xt as Message, Y as RetryPolicy, Yt as SenderKeyPair, Z as RespondWithObjectOptions, Zt as InboxAuthenticationEvidence, _ as ActorCallbackSetters, _n as OutboundBroadcastEvent, _t as normalizeCircuitBreakerOptions, a as GetObjectOptions, an as InboxAuthentication, at as MessageQueueListenOptions, b as CustomCollectionCallbackSetters, bn as OutboundHeaderSnapshot, bt as ActorDispatcher, c as IsSignedByAudienceOptions, cn as InboxRequestFinishedHandler, ct as CircuitBreakerActivityDrop, d as ParseUriResult, dn as InboxListenerOptions, dt as CircuitBreakerFailurePolicy, en as isActorAuthenticated, et as InProcessMessageQueue, f as PortableRequest, fn as OutboundActivityReference, ft as CircuitBreakerKvState, g as SendActivityOptionsForCollection, gn as OutboundBodyCaptureSummary, gt as NormalizedCircuitBreakerOptions, h as SendActivityOptions, hn as OutboundAttemptResponse, ht as CircuitBreakerStateChange, i as GetActorOptions, in as ActivityTransformer, it as MessageQueueEnqueueOptions, j as InboxListenerSetters, jn as OutboundSenderPayload, jt as HashlinkMediaRequest, k as IdempotencyStrategy, kn as OutboundResponseBodyCapture, kt as CustomCollectionDispatcher, l as OutboxContext, ln as InboxRequestOutcome, lt as CircuitBreakerBeforeSendDecision, m as RouteActivityOptions, mn as OutboundAttemptReport, mt as CircuitBreakerState, n as Context, nn as buildCollectionSynchronizationHeader, nt as MessageQueue, o as GetSignedKeyOptions, on as InboxJsonValue, ot as ParallelMessageQueue, p as RequestContext, pn as OutboundAttemptFailure, pt as CircuitBreakerOptions, q as CreateExponentialBackoffPolicyOptions, qt as WebFingerLinksDispatcher, r as ForwardActivityOptions, rn as digest, rt as MessageQueueDepth, s as InboxContext, sn as InboxRequestCancellation, st as CircuitBreaker, t as ActorKeyPair, tn as PageItems, tt as InProcessMessageQueueOptions, u as ParseUriOptions, un as InboxRequestReport, ut as CircuitBreakerCreateOptions, v as CollectionCallbackSetters, vn as OutboundDeliveryEvent, vt as parseCircuitBreakerKvState, w as FederationBuilder, wn as OutboundJsonValue, wt as CollectionCounter, x as Federatable, xn as OutboundHttpExchangeReport, xt as ActorHandleMapper, y as ConstructorWithTypeId, yn as OutboundHeaderPolicy, yt as ActorAliasMapper, z as FederationQueueOptions, zt as OutboxListener } from "./context-apq0IBg2.cjs";
6
- import { a as MemoryKvStore, i as KvStoreSetOptions, n as KvStore, r as KvStoreListEntry, t as KvKey } from "./kv-B2mzK5tl.cjs";
5
+ import { $ as respondWithObjectIfAcceptable, $t as IsActorAuthenticatedOptions, A as InboxChallengePolicy, An as OutboundResponseBodyEvent, At as HashlinkMediaDispatcher, B as createFederation, Bt as OutboxListenerErrorHandler, C as FederationBenchmarkOptions, Cn as OutboundInboxRequest, Ct as AuthorizePredicate, D as FederationStartQueueOptions, Dn as OutboundPreparationResult, Dt as CustomCollectionCounter, E as FederationOptions, En as OutboundObservers, Et as CollectionDispatcher, F as PortableInboxForwardingOptions, Fn as OutboundWorkerPreparationDiagnostic, Ft as NodeInfoDispatcher, G as TaskHandler, Gt as UnverifiedActivityHandler, H as TaskDefinition, Ht as PortableActorIdMapper, I as Rfc6570Expression, In as OutboundWorkerReport, It as ObjectAuthorizePredicate, J as RetryContext, Jt as SendActivityError, K as TaskRegistry, Kt as UnverifiedActivityReason, L as FederationKvPrefixes, Ln as OutboundWorkerSchedule, Lt as ObjectDispatcher, M as MediaUploaderSetters, Mn as OutboundSourceMetadata, Mt as InboxErrorHandler, N as ObjectCallbackSetters, Nn as OutboundWorkerAction, Nt as InboxListener, O as IdempotencyKeyCallback, On as OutboundProvenance, Ot as CustomCollectionCursor, P as OutboxListenerSetters, Pn as OutboundWorkerChild, Pt as MediaUploaderCallback, Q as respondWithObject, Qt as InboxPrincipal, R as FederationOrigin, Rt as OutboxErrorHandler, S as Federation, Sn as OutboundHttpResponseMetadata, St as ActorKeyPairsDispatcher, T as FederationFetchOptions, Tn as OutboundLocalContext, Tt as CollectionCursor, U as TaskDefinitionOptions, Ut as PortableCollectionOwnerMapper, V as createFederationBuilder, Vt as OutboxPermanentFailureHandler, W as TaskEnqueueOptions, Wt as SharedInboxKeyDispatcher, X as createExponentialBackoffPolicy, Xt as Message, Y as RetryPolicy, Yt as SenderKeyPair, Z as RespondWithObjectOptions, Zt as InboxAuthenticationEvidence, _ as ActorCallbackSetters, _n as OutboundBroadcastEvent, _t as normalizeCircuitBreakerOptions, a as GetObjectOptions, an as InboxAuthentication, at as MessageQueueListenOptions, b as CustomCollectionCallbackSetters, bn as OutboundHeaderSnapshot, bt as ActorDispatcher, c as IsSignedByAudienceOptions, cn as InboxRequestFinishedHandler, ct as CircuitBreakerActivityDrop, d as ParseUriResult, dn as InboxListenerOptions, dt as CircuitBreakerFailurePolicy, en as isActorAuthenticated, et as InProcessMessageQueue, f as PortableRequest, fn as OutboundActivityReference, ft as CircuitBreakerKvState, g as SendActivityOptionsForCollection, gn as OutboundBodyCaptureSummary, gt as NormalizedCircuitBreakerOptions, h as SendActivityOptions, hn as OutboundAttemptResponse, ht as CircuitBreakerStateChange, i as GetActorOptions, in as ActivityTransformer, it as MessageQueueEnqueueOptions, j as InboxListenerSetters, jn as OutboundSenderPayload, jt as HashlinkMediaRequest, k as IdempotencyStrategy, kn as OutboundResponseBodyCapture, kt as CustomCollectionDispatcher, l as OutboxContext, ln as InboxRequestOutcome, lt as CircuitBreakerBeforeSendDecision, m as RouteActivityOptions, mn as OutboundAttemptReport, mt as CircuitBreakerState, n as Context, nn as buildCollectionSynchronizationHeader, nt as MessageQueue, o as GetSignedKeyOptions, on as InboxJsonValue, ot as ParallelMessageQueue, p as RequestContext, pn as OutboundAttemptFailure, pt as CircuitBreakerOptions, q as CreateExponentialBackoffPolicyOptions, qt as WebFingerLinksDispatcher, r as ForwardActivityOptions, rn as digest, rt as MessageQueueDepth, s as InboxContext, sn as InboxRequestCancellation, st as CircuitBreaker, t as ActorKeyPair, tn as PageItems, tt as InProcessMessageQueueOptions, u as ParseUriOptions, un as InboxRequestReport, ut as CircuitBreakerCreateOptions, v as CollectionCallbackSetters, vn as OutboundDeliveryEvent, vt as parseCircuitBreakerKvState, w as FederationBuilder, wn as OutboundJsonValue, wt as CollectionCounter, x as Federatable, xn as OutboundHttpExchangeReport, xt as ActorHandleMapper, y as ConstructorWithTypeId, yn as OutboundHeaderPolicy, yt as ActorAliasMapper, z as FederationQueueOptions, zt as OutboxListener } from "./context-ZtE85CT_.cjs";
6
+ import { a as KvStoreListEntry, c as MemoryKvStore, i as KvStoreCasEntry, l as isAtomicKvStore, n as KvKey, o as KvStoreSetEntry, r as KvStore, s as KvStoreSetOptions, t as AtomicKvStore } from "./kv-B0eIwj06.cjs";
7
7
  import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./compat/mod.cjs";
8
- import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "./mod-DB2NOzQF.cjs";
8
+ import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "./mod-Bl1EEZMj.cjs";
9
9
  import { i as verifyPortableObject, n as VerifyPortableObjectOptions, r as VerifyPortableObjectResult, t as VerifyPortableObjectFailureReason } from "./mod-BamwZjJx.cjs";
10
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./mod-D2Z9MiCm.cjs";
10
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./mod-rDDnkuR8.cjs";
11
11
  export * from "@fedify/vocab-runtime";
12
12
 
13
13
  //#region src/mod.d.ts
14
14
  declare namespace mod_d_exports {
15
- export { AcceptSignatureMember, AcceptSignatureParameters, ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, FulfillAcceptSignatureResult, GetActorOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundService, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, Rfc9421SignRequestOptions, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
15
+ export { AcceptSignatureMember, AcceptSignatureParameters, ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AtomicKvStore, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, FulfillAcceptSignatureResult, GetActorOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, JsonValue, KeyCache, KvKey, KvStore, KvStoreCasEntry, KvStoreListEntry, KvStoreSetEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundService, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, Rfc9421SignRequestOptions, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, isAtomicKvStore, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
16
16
  }
17
17
  //#endregion
18
- export { AcceptSignatureMember, AcceptSignatureParameters, ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, FulfillAcceptSignatureResult, GetActorOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundService, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, Rfc9421SignRequestOptions, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
18
+ export { AcceptSignatureMember, AcceptSignatureParameters, ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AtomicKvStore, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, FulfillAcceptSignatureResult, GetActorOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, JsonValue, KeyCache, KvKey, KvStore, KvStoreCasEntry, KvStoreListEntry, KvStoreSetEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundService, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, Rfc9421SignRequestOptions, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, isAtomicKvStore, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
package/dist/mod.d.ts CHANGED
@@ -2,17 +2,17 @@
2
2
  import { a as InboundService, c as OutboundService, d as Software, f as Usage, i as parseNodeInfo, l as Protocol, n as ParseNodeInfoOptions, o as JsonValue, p as nodeInfoToJson, r as getNodeInfo, s as NodeInfo, t as GetNodeInfoOptions, u as Services } from "./client-3InDZbba.js";
3
3
  import { A as AcceptSignatureParameters, B as VerifyPortableObjectProofOptions, C as VerifyRequestDetailedResult, D as verifyRequest, E as signRequest, F as validateAcceptSignature, G as signObject, H as VerifyProofOptions, I as CreateProofOptions, J as verifyProof, K as verifyObject, L as SignObjectOptions, M as formatAcceptSignature, N as fulfillAcceptSignature, O as verifyRequestDetailed, P as parseAcceptSignature, R as VerifyObjectOptions, S as SignRequestOptions, T as VerifyRequestOptions, U as createProof, V as VerifyPortableObjectProofResult, W as hasProofLike, _ as InboxVerificationKey, a as KeyCache, b as HttpMessageSignaturesSpecDeterminer, c as fetchKeyDetailed, d as InboxProofPolicyFailureReason, f as InboxSignatureCheck, g as InboxVerificationFailureReason, h as InboxVerificationAttempt, i as FetchKeyResult, j as FulfillAcceptSignatureResult, k as AcceptSignatureMember, l as generateCryptoKeyPair, m as InboxSignatureIdentity, n as FetchKeyErrorResult, o as exportJwk, p as InboxSignatureFailureReason, q as verifyPortableObjectProof, r as FetchKeyOptions, s as fetchKey, t as FetchKeyDetailedResult, u as importJwk, w as VerifyRequestFailureReason, x as Rfc9421SignRequestOptions, y as HttpMessageSignaturesSpec, z as VerifyPortableObjectProofFailureReason } from "./key-BZw-YiK5.js";
4
4
  import { a as VerifySignatureOptions, c as detachSignature, d as verifyJsonLd, f as verifySignature, g as getKeyOwner, h as doesActorOwnKey, i as VerifyJsonLdOptions, l as hasSignatureLike, m as GetKeyOwnerOptions, o as attachSignature, p as DoesActorOwnKeyOptions, r as SignJsonLdOptions, s as createSignature, t as CreateSignatureOptions, u as signJsonLd } from "./ld-DlC78ioJ.js";
5
- import { $ as respondWithObjectIfAcceptable, $t as IsActorAuthenticatedOptions, A as InboxChallengePolicy, An as OutboundResponseBodyEvent, At as HashlinkMediaDispatcher, B as createFederation, Bt as OutboxListenerErrorHandler, C as FederationBenchmarkOptions, Cn as OutboundInboxRequest, Ct as AuthorizePredicate, D as FederationStartQueueOptions, Dn as OutboundPreparationResult, Dt as CustomCollectionCounter, E as FederationOptions, En as OutboundObservers, Et as CollectionDispatcher, F as PortableInboxForwardingOptions, Fn as OutboundWorkerPreparationDiagnostic, Ft as NodeInfoDispatcher, G as TaskHandler, Gt as UnverifiedActivityHandler, H as TaskDefinition, Ht as PortableActorIdMapper, I as Rfc6570Expression, In as OutboundWorkerReport, It as ObjectAuthorizePredicate, J as RetryContext, Jt as SendActivityError, K as TaskRegistry, Kt as UnverifiedActivityReason, L as FederationKvPrefixes, Ln as OutboundWorkerSchedule, Lt as ObjectDispatcher, M as MediaUploaderSetters, Mn as OutboundSourceMetadata, Mt as InboxErrorHandler, N as ObjectCallbackSetters, Nn as OutboundWorkerAction, Nt as InboxListener, O as IdempotencyKeyCallback, On as OutboundProvenance, Ot as CustomCollectionCursor, P as OutboxListenerSetters, Pn as OutboundWorkerChild, Pt as MediaUploaderCallback, Q as respondWithObject, Qt as InboxPrincipal, R as FederationOrigin, Rt as OutboxErrorHandler, S as Federation, Sn as OutboundHttpResponseMetadata, St as ActorKeyPairsDispatcher, T as FederationFetchOptions, Tn as OutboundLocalContext, Tt as CollectionCursor, U as TaskDefinitionOptions, Ut as PortableCollectionOwnerMapper, V as createFederationBuilder, Vt as OutboxPermanentFailureHandler, W as TaskEnqueueOptions, Wt as SharedInboxKeyDispatcher, X as createExponentialBackoffPolicy, Xt as Message, Y as RetryPolicy, Yt as SenderKeyPair, Z as RespondWithObjectOptions, Zt as InboxAuthenticationEvidence, _ as ActorCallbackSetters, _n as OutboundBroadcastEvent, _t as normalizeCircuitBreakerOptions, a as GetObjectOptions, an as InboxAuthentication, at as MessageQueueListenOptions, b as CustomCollectionCallbackSetters, bn as OutboundHeaderSnapshot, bt as ActorDispatcher, c as IsSignedByAudienceOptions, cn as InboxRequestFinishedHandler, ct as CircuitBreakerActivityDrop, d as ParseUriResult, dn as InboxListenerOptions, dt as CircuitBreakerFailurePolicy, en as isActorAuthenticated, et as InProcessMessageQueue, f as PortableRequest, fn as OutboundActivityReference, ft as CircuitBreakerKvState, g as SendActivityOptionsForCollection, gn as OutboundBodyCaptureSummary, gt as NormalizedCircuitBreakerOptions, h as SendActivityOptions, hn as OutboundAttemptResponse, ht as CircuitBreakerStateChange, i as GetActorOptions, in as ActivityTransformer, it as MessageQueueEnqueueOptions, j as InboxListenerSetters, jn as OutboundSenderPayload, jt as HashlinkMediaRequest, k as IdempotencyStrategy, kn as OutboundResponseBodyCapture, kt as CustomCollectionDispatcher, l as OutboxContext, ln as InboxRequestOutcome, lt as CircuitBreakerBeforeSendDecision, m as RouteActivityOptions, mn as OutboundAttemptReport, mt as CircuitBreakerState, n as Context, nn as buildCollectionSynchronizationHeader, nt as MessageQueue, o as GetSignedKeyOptions, on as InboxJsonValue, ot as ParallelMessageQueue, p as RequestContext, pn as OutboundAttemptFailure, pt as CircuitBreakerOptions, q as CreateExponentialBackoffPolicyOptions, qt as WebFingerLinksDispatcher, r as ForwardActivityOptions, rn as digest, rt as MessageQueueDepth, s as InboxContext, sn as InboxRequestCancellation, st as CircuitBreaker, t as ActorKeyPair, tn as PageItems, tt as InProcessMessageQueueOptions, u as ParseUriOptions, un as InboxRequestReport, ut as CircuitBreakerCreateOptions, v as CollectionCallbackSetters, vn as OutboundDeliveryEvent, vt as parseCircuitBreakerKvState, w as FederationBuilder, wn as OutboundJsonValue, wt as CollectionCounter, x as Federatable, xn as OutboundHttpExchangeReport, xt as ActorHandleMapper, y as ConstructorWithTypeId, yn as OutboundHeaderPolicy, yt as ActorAliasMapper, z as FederationQueueOptions, zt as OutboxListener } from "./context-CuLvR1Os.js";
6
- import { a as MemoryKvStore, i as KvStoreSetOptions, n as KvStore, r as KvStoreListEntry, t as KvKey } from "./kv-B2mzK5tl.js";
5
+ import { $ as respondWithObjectIfAcceptable, $t as IsActorAuthenticatedOptions, A as InboxChallengePolicy, An as OutboundResponseBodyEvent, At as HashlinkMediaDispatcher, B as createFederation, Bt as OutboxListenerErrorHandler, C as FederationBenchmarkOptions, Cn as OutboundInboxRequest, Ct as AuthorizePredicate, D as FederationStartQueueOptions, Dn as OutboundPreparationResult, Dt as CustomCollectionCounter, E as FederationOptions, En as OutboundObservers, Et as CollectionDispatcher, F as PortableInboxForwardingOptions, Fn as OutboundWorkerPreparationDiagnostic, Ft as NodeInfoDispatcher, G as TaskHandler, Gt as UnverifiedActivityHandler, H as TaskDefinition, Ht as PortableActorIdMapper, I as Rfc6570Expression, In as OutboundWorkerReport, It as ObjectAuthorizePredicate, J as RetryContext, Jt as SendActivityError, K as TaskRegistry, Kt as UnverifiedActivityReason, L as FederationKvPrefixes, Ln as OutboundWorkerSchedule, Lt as ObjectDispatcher, M as MediaUploaderSetters, Mn as OutboundSourceMetadata, Mt as InboxErrorHandler, N as ObjectCallbackSetters, Nn as OutboundWorkerAction, Nt as InboxListener, O as IdempotencyKeyCallback, On as OutboundProvenance, Ot as CustomCollectionCursor, P as OutboxListenerSetters, Pn as OutboundWorkerChild, Pt as MediaUploaderCallback, Q as respondWithObject, Qt as InboxPrincipal, R as FederationOrigin, Rt as OutboxErrorHandler, S as Federation, Sn as OutboundHttpResponseMetadata, St as ActorKeyPairsDispatcher, T as FederationFetchOptions, Tn as OutboundLocalContext, Tt as CollectionCursor, U as TaskDefinitionOptions, Ut as PortableCollectionOwnerMapper, V as createFederationBuilder, Vt as OutboxPermanentFailureHandler, W as TaskEnqueueOptions, Wt as SharedInboxKeyDispatcher, X as createExponentialBackoffPolicy, Xt as Message, Y as RetryPolicy, Yt as SenderKeyPair, Z as RespondWithObjectOptions, Zt as InboxAuthenticationEvidence, _ as ActorCallbackSetters, _n as OutboundBroadcastEvent, _t as normalizeCircuitBreakerOptions, a as GetObjectOptions, an as InboxAuthentication, at as MessageQueueListenOptions, b as CustomCollectionCallbackSetters, bn as OutboundHeaderSnapshot, bt as ActorDispatcher, c as IsSignedByAudienceOptions, cn as InboxRequestFinishedHandler, ct as CircuitBreakerActivityDrop, d as ParseUriResult, dn as InboxListenerOptions, dt as CircuitBreakerFailurePolicy, en as isActorAuthenticated, et as InProcessMessageQueue, f as PortableRequest, fn as OutboundActivityReference, ft as CircuitBreakerKvState, g as SendActivityOptionsForCollection, gn as OutboundBodyCaptureSummary, gt as NormalizedCircuitBreakerOptions, h as SendActivityOptions, hn as OutboundAttemptResponse, ht as CircuitBreakerStateChange, i as GetActorOptions, in as ActivityTransformer, it as MessageQueueEnqueueOptions, j as InboxListenerSetters, jn as OutboundSenderPayload, jt as HashlinkMediaRequest, k as IdempotencyStrategy, kn as OutboundResponseBodyCapture, kt as CustomCollectionDispatcher, l as OutboxContext, ln as InboxRequestOutcome, lt as CircuitBreakerBeforeSendDecision, m as RouteActivityOptions, mn as OutboundAttemptReport, mt as CircuitBreakerState, n as Context, nn as buildCollectionSynchronizationHeader, nt as MessageQueue, o as GetSignedKeyOptions, on as InboxJsonValue, ot as ParallelMessageQueue, p as RequestContext, pn as OutboundAttemptFailure, pt as CircuitBreakerOptions, q as CreateExponentialBackoffPolicyOptions, qt as WebFingerLinksDispatcher, r as ForwardActivityOptions, rn as digest, rt as MessageQueueDepth, s as InboxContext, sn as InboxRequestCancellation, st as CircuitBreaker, t as ActorKeyPair, tn as PageItems, tt as InProcessMessageQueueOptions, u as ParseUriOptions, un as InboxRequestReport, ut as CircuitBreakerCreateOptions, v as CollectionCallbackSetters, vn as OutboundDeliveryEvent, vt as parseCircuitBreakerKvState, w as FederationBuilder, wn as OutboundJsonValue, wt as CollectionCounter, x as Federatable, xn as OutboundHttpExchangeReport, xt as ActorHandleMapper, y as ConstructorWithTypeId, yn as OutboundHeaderPolicy, yt as ActorAliasMapper, z as FederationQueueOptions, zt as OutboxListener } from "./context-CgIOZfHW.js";
6
+ import { a as KvStoreListEntry, c as MemoryKvStore, i as KvStoreCasEntry, l as isAtomicKvStore, n as KvKey, o as KvStoreSetEntry, r as KvStore, s as KvStoreSetOptions, t as AtomicKvStore } from "./kv-B0eIwj06.js";
7
7
  import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./compat/mod.js";
8
- import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "./mod-BkTi19dI.js";
8
+ import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "./mod-BD6xjFNY.js";
9
9
  import { i as verifyPortableObject, n as VerifyPortableObjectOptions, r as VerifyPortableObjectResult, t as VerifyPortableObjectFailureReason } from "./mod-BJRtsw7l.js";
10
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./mod-CMtF0VVy.js";
10
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./mod-SgCN1wPF.js";
11
11
  export * from "@fedify/vocab-runtime";
12
12
 
13
13
  //#region src/mod.d.ts
14
14
  declare namespace mod_d_exports {
15
- export { AcceptSignatureMember, AcceptSignatureParameters, ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, FulfillAcceptSignatureResult, GetActorOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundService, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, Rfc9421SignRequestOptions, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
15
+ export { AcceptSignatureMember, AcceptSignatureParameters, ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AtomicKvStore, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, FulfillAcceptSignatureResult, GetActorOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, JsonValue, KeyCache, KvKey, KvStore, KvStoreCasEntry, KvStoreListEntry, KvStoreSetEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundService, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, Rfc9421SignRequestOptions, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, isAtomicKvStore, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
16
16
  }
17
17
  //#endregion
18
- export { AcceptSignatureMember, AcceptSignatureParameters, ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, FulfillAcceptSignatureResult, GetActorOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, JsonValue, KeyCache, KvKey, KvStore, KvStoreListEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundService, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, Rfc9421SignRequestOptions, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
18
+ export { AcceptSignatureMember, AcceptSignatureParameters, ActivityTransformer, ActorAliasMapper, ActorCallbackSetters, ActorDispatcher, ActorHandleMapper, ActorKeyPair, ActorKeyPairsDispatcher, AtomicKvStore, AuthorizePredicate, CircuitBreaker, CircuitBreakerActivityDrop, CircuitBreakerBeforeSendDecision, CircuitBreakerCreateOptions, CircuitBreakerFailurePolicy, CircuitBreakerKvState, CircuitBreakerOptions, CircuitBreakerState, CircuitBreakerStateChange, CollectionCallbackSetters, CollectionCounter, CollectionCursor, CollectionDispatcher, ConstructorWithTypeId, Context, CreateExponentialBackoffPolicyOptions, CreateProofOptions, CreateSignatureOptions, CustomCollectionCallbackSetters, CustomCollectionCounter, CustomCollectionCursor, CustomCollectionDispatcher, DoesActorOwnKeyOptions, Federatable, Federation, FederationBenchmarkOptions, FederationBuilder, FederationFetchOptions, FederationKvPrefixes, FederationOptions, FederationOrigin, FederationQueueOptions, FederationStartQueueOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, ForwardActivityOptions, FulfillAcceptSignatureResult, GetActorOptions, GetKeyOwnerOptions, GetNodeInfoOptions, GetObjectOptions, GetSignedKeyOptions, HashlinkMediaDispatcher, HashlinkMediaRequest, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, IdempotencyKeyCallback, IdempotencyStrategy, InProcessMessageQueue, InProcessMessageQueueOptions, InboundService, InboxAuthentication, InboxAuthenticationEvidence, InboxChallengePolicy, InboxContext, InboxErrorHandler, InboxJsonValue, InboxListener, InboxListenerOptions, InboxListenerSetters, InboxPrincipal, InboxProofPolicyFailureReason, InboxRequestCancellation, InboxRequestFinishedHandler, InboxRequestOutcome, InboxRequestReport, InboxSignatureCheck, InboxSignatureFailureReason, InboxSignatureIdentity, InboxVerificationAttempt, InboxVerificationFailureReason, InboxVerificationKey, IsActorAuthenticatedOptions, IsSignedByAudienceOptions, JsonValue, KeyCache, KvKey, KvStore, KvStoreCasEntry, KvStoreListEntry, KvStoreSetEntry, KvStoreSetOptions, MediaUploaderCallback, MediaUploaderSetters, MemoryKvStore, Message, MessageQueue, MessageQueueDepth, MessageQueueEnqueueOptions, MessageQueueListenOptions, NodeInfo, NodeInfoDispatcher, NormalizedCircuitBreakerOptions, ObjectAuthorizePredicate, ObjectCallbackSetters, ObjectDispatcher, OutboundActivityReference, OutboundAttemptFailure, OutboundAttemptReport, OutboundAttemptResponse, OutboundBodyCaptureSummary, OutboundBroadcastEvent, OutboundDeliveryEvent, OutboundHeaderPolicy, OutboundHeaderSnapshot, OutboundHttpExchangeReport, OutboundHttpResponseMetadata, OutboundInboxRequest, OutboundJsonValue, OutboundLocalContext, OutboundObservers, OutboundPreparationResult, OutboundProvenance, OutboundResponseBodyCapture, OutboundResponseBodyEvent, OutboundSenderPayload, OutboundService, OutboundSourceMetadata, OutboundWorkerAction, OutboundWorkerChild, OutboundWorkerPreparationDiagnostic, OutboundWorkerReport, OutboundWorkerSchedule, OutboxContext, OutboxErrorHandler, OutboxListener, OutboxListenerErrorHandler, OutboxListenerSetters, OutboxPermanentFailureHandler, PageItems, ParallelMessageQueue, ParseNodeInfoOptions, ParseUriOptions, ParseUriResult, PortableActorIdMapper, PortableCollectionOwnerMapper, PortableInboxForwardingOptions, PortableRequest, Protocol, RequestContext, RespondWithObjectOptions, RetryContext, RetryPolicy, Rfc6570Expression, Rfc9421SignRequestOptions, RouteActivityOptions, Router, RouterError, RouterOptions, RouterRouteResult, SendActivityError, SendActivityOptions, SendActivityOptionsForCollection, SenderKeyPair, Services, SharedInboxKeyDispatcher, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, Software, TaskDefinition, TaskDefinitionOptions, TaskEnqueueOptions, TaskHandler, TaskRegistry, UnverifiedActivityHandler, UnverifiedActivityReason, Usage, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, WebFingerHandlerParameters, WebFingerLinksDispatcher, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, isAtomicKvStore, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
package/dist/mod.js CHANGED
@@ -3,16 +3,16 @@ import { URLPattern } from "urlpattern-polyfill";
3
3
  import "./rolldown-runtime-BC-Eo5Mj.js";
4
4
  import { n as autoIdAssigner, r as getDefaultActivityTransformers, t as actorDehydrator } from "./transformers-DAtXl_Kc.js";
5
5
  import "./compat/mod.js";
6
- import { a as respondWithObjectIfAcceptable, c as buildCollectionSynchronizationHeader, d as normalizeCircuitBreakerOptions, f as parseCircuitBreakerKvState, i as respondWithObject, l as digest, n as handleWebFinger, o as SendActivityError, p as createFederationBuilder, r as createExponentialBackoffPolicy, s as isActorAuthenticated, t as createFederation, u as CircuitBreaker } from "./middleware-DcZbCWUu.js";
7
- import { F as hasSignatureLike, H as verifySignature, J as generateCryptoKeyPair, K as fetchKey, M as detachSignature, St as validateAcceptSignature, T as verifyProof, V as verifyJsonLd, W as exportJwk, Y as importJwk, _ as signObject, a as signRequest, bt as fulfillAcceptSignature, c as verifyRequestDetailed, h as hasProofLike, j as createSignature, k as attachSignature, p as createProof, q as fetchKeyDetailed, s as verifyRequest, x as verifyPortableObjectProof, xt as parseAcceptSignature, y as verifyObject, yt as formatAcceptSignature, z as signJsonLd } from "./http-bjnB3G93.js";
6
+ import { a as respondWithObjectIfAcceptable, c as buildCollectionSynchronizationHeader, d as normalizeCircuitBreakerOptions, f as parseCircuitBreakerKvState, i as respondWithObject, l as digest, n as handleWebFinger, o as SendActivityError, p as createFederationBuilder, r as createExponentialBackoffPolicy, s as isActorAuthenticated, t as createFederation, u as CircuitBreaker } from "./middleware-Dz8iJh0H.js";
7
+ import { F as hasSignatureLike, H as verifySignature, J as generateCryptoKeyPair, K as fetchKey, M as detachSignature, St as validateAcceptSignature, T as verifyProof, V as verifyJsonLd, W as exportJwk, Y as importJwk, _ as signObject, a as signRequest, bt as fulfillAcceptSignature, c as verifyRequestDetailed, h as hasProofLike, j as createSignature, k as attachSignature, p as createProof, q as fetchKeyDetailed, s as verifyRequest, x as verifyPortableObjectProof, xt as parseAcceptSignature, y as verifyObject, yt as formatAcceptSignature, z as signJsonLd } from "./http-CZfnujnl.js";
8
8
  import { n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "./types-DUjZb4i6.js";
9
- import { n as doesActorOwnKey, r as getKeyOwner, t as verifyPortableObject } from "./portable-collection-dSrn_Flq.js";
10
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./kv-cache-KQ9dNdBF.js";
11
- import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError } from "./federation/mod.js";
9
+ import { n as doesActorOwnKey, r as getKeyOwner, t as verifyPortableObject } from "./portable-collection-BrBFw0DP.js";
10
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./kv-cache-DT7zGfKY.js";
11
+ import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, isAtomicKvStore } from "./federation/mod.js";
12
12
  import "./nodeinfo/mod.js";
13
13
  import "./runtime/mod.js";
14
14
  import "./sig/mod.js";
15
15
  import "./utils/mod.js";
16
16
  export * from "@fedify/vocab-runtime";
17
17
  //#endregion
18
- export { CircuitBreaker, InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, SendActivityError, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
18
+ export { CircuitBreaker, InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, SendActivityError, actorDehydrator, attachSignature, autoIdAssigner, buildCollectionSynchronizationHeader, createExponentialBackoffPolicy, createFederation, createFederationBuilder, createProof, createSignature, detachSignature, digest, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getAuthenticatedDocumentLoader, getDefaultActivityTransformers, getKeyOwner, getNodeInfo, handleWebFinger, hasProofLike, hasSignatureLike, importJwk, isActorAuthenticated, isAtomicKvStore, kvCache, nodeInfoToJson, normalizeCircuitBreakerOptions, parseAcceptSignature, parseCircuitBreakerKvState, parseNodeInfo, respondWithObject, respondWithObjectIfAcceptable, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { n as KvStore, t as KvKey } from "../kv-B2mzK5tl.cjs";
2
+ import { n as KvKey, r as KvStore } from "../kv-B0eIwj06.cjs";
3
3
  import { ReadableSpan, SpanExporter } from "@opentelemetry/sdk-trace-base";
4
4
  import { ExportResultCode } from "@opentelemetry/core";
5
5
 
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { n as KvStore, t as KvKey } from "../kv-B2mzK5tl.js";
2
+ import { n as KvKey, r as KvStore } from "../kv-B0eIwj06.js";
3
3
  import { ExportResultCode } from "@opentelemetry/core";
4
4
  import { ReadableSpan, SpanExporter } from "@opentelemetry/sdk-trace-base";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { $ as getVerifiedKeyOwnerEvidence, C as verifyPortableObjectProofWithRoot, Dt as getCanonicalPortableId, Ft as isPortableUri, G as fetchActorDocument, Lt as isSamePublicKey$1, Mt as isCompatibleKeyId, Nt as isPortableId, Rt as name, W as exportJwk, Z as verifyKeyOwnership, et as parseKeyOwnerEvidence, l as fetchPortableGatewayKey, u as resolvePortableActorKey, x as verifyPortableObjectProof, zt as version } from "./http-bjnB3G93.js";
3
+ import { $ as getVerifiedKeyOwnerEvidence, C as verifyPortableObjectProofWithRoot, Dt as getCanonicalPortableId, Ft as isPortableUri, G as fetchActorDocument, Lt as isSamePublicKey$1, Mt as isCompatibleKeyId, Nt as isPortableId, Rt as name, W as exportJwk, Z as verifyKeyOwnership, et as parseKeyOwnerEvidence, l as fetchPortableGatewayKey, u as resolvePortableActorKey, x as verifyPortableObjectProof, zt as version } from "./http-CZfnujnl.js";
4
4
  import { getLogger } from "@logtape/logtape";
5
5
  import { canonicalizePortableUri, formatIri, fromCompatibleEf61Id, getDocumentLoader, getFe34Origin, parseIri } from "@fedify/vocab-runtime";
6
6
  import { CollectionPage, CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
@@ -1,5 +1,5 @@
1
1
  const { URLPattern } = require("urlpattern-polyfill");
2
- const require_http = require("./http-C1F-sW0Z.cjs");
2
+ const require_http = require("./http-BqrOCUOK.cjs");
3
3
  let _logtape_logtape = require("@logtape/logtape");
4
4
  let _fedify_vocab_runtime = require("@fedify/vocab-runtime");
5
5
  let _fedify_vocab = require("@fedify/vocab");
package/dist/sig/mod.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  const { URLPattern } = require("urlpattern-polyfill");
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_http = require("../http-C1F-sW0Z.cjs");
4
- const require_portable_collection = require("../portable-collection-DoWiXH0U.cjs");
3
+ const require_http = require("../http-BqrOCUOK.cjs");
4
+ const require_portable_collection = require("../portable-collection-CJ6-QUgP.cjs");
5
5
  exports.attachSignature = require_http.attachSignature;
6
6
  exports.createProof = require_http.createProof;
7
7
  exports.createSignature = require_http.createSignature;
package/dist/sig/mod.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { F as hasSignatureLike, H as verifySignature, J as generateCryptoKeyPair, K as fetchKey, M as detachSignature, St as validateAcceptSignature, T as verifyProof, V as verifyJsonLd, W as exportJwk, Y as importJwk, _ as signObject, a as signRequest, bt as fulfillAcceptSignature, c as verifyRequestDetailed, h as hasProofLike, j as createSignature, k as attachSignature, p as createProof, q as fetchKeyDetailed, s as verifyRequest, x as verifyPortableObjectProof, xt as parseAcceptSignature, y as verifyObject, yt as formatAcceptSignature, z as signJsonLd } from "../http-bjnB3G93.js";
4
- import { n as doesActorOwnKey, r as getKeyOwner, t as verifyPortableObject } from "../portable-collection-dSrn_Flq.js";
3
+ import { F as hasSignatureLike, H as verifySignature, J as generateCryptoKeyPair, K as fetchKey, M as detachSignature, St as validateAcceptSignature, T as verifyProof, V as verifyJsonLd, W as exportJwk, Y as importJwk, _ as signObject, a as signRequest, bt as fulfillAcceptSignature, c as verifyRequestDetailed, h as hasProofLike, j as createSignature, k as attachSignature, p as createProof, q as fetchKeyDetailed, s as verifyRequest, x as verifyPortableObjectProof, xt as parseAcceptSignature, y as verifyObject, yt as formatAcceptSignature, z as signJsonLd } from "../http-CZfnujnl.js";
4
+ import { n as doesActorOwnKey, r as getKeyOwner, t as verifyPortableObject } from "../portable-collection-BrBFw0DP.js";
5
5
  export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, fetchKeyDetailed, formatAcceptSignature, fulfillAcceptSignature, generateCryptoKeyPair, getKeyOwner, hasProofLike, hasSignatureLike, importJwk, parseAcceptSignature, signJsonLd, signObject, signRequest, validateAcceptSignature, verifyJsonLd, verifyObject, verifyPortableObject, verifyPortableObjectProof, verifyProof, verifyRequest, verifyRequestDetailed, verifySignature };
@@ -1,5 +1,5 @@
1
1
  const { URLPattern } = require("urlpattern-polyfill");
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_kv_cache = require("../kv-cache-MVXUHOtN.cjs");
3
+ const require_kv_cache = require("../kv-cache-DFpIzPHz.cjs");
4
4
  exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
5
5
  exports.kvCache = require_kv_cache.kvCache;
@@ -1,3 +1,3 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../mod-D2Z9MiCm.cjs";
2
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../mod-rDDnkuR8.cjs";
3
3
  export { getAuthenticatedDocumentLoader, kvCache };
@@ -1,3 +1,3 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../mod-CMtF0VVy.js";
2
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../mod-SgCN1wPF.js";
3
3
  export { getAuthenticatedDocumentLoader, kvCache };
package/dist/utils/mod.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-KQ9dNdBF.js";
3
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "../kv-cache-DT7zGfKY.js";
4
4
  export { getAuthenticatedDocumentLoader, kvCache };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "2.5.0-dev.2758+50a032ca",
3
+ "version": "2.5.0-dev.2766+dd42882b",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -164,10 +164,10 @@
164
164
  "structured-field-values": "^2.0.4",
165
165
  "temporal-polyfill": "^1.0.1",
166
166
  "urlpattern-polyfill": "^10.1.0",
167
- "@fedify/vocab": "2.5.0-dev.2758+50a032ca",
168
- "@fedify/uri-template": "2.5.0-dev.2758+50a032ca",
169
- "@fedify/vocab-runtime": "2.5.0-dev.2758+50a032ca",
170
- "@fedify/webfinger": "2.5.0-dev.2758+50a032ca"
167
+ "@fedify/uri-template": "2.5.0-dev.2766+dd42882b",
168
+ "@fedify/vocab": "2.5.0-dev.2766+dd42882b",
169
+ "@fedify/webfinger": "2.5.0-dev.2766+dd42882b",
170
+ "@fedify/vocab-runtime": "2.5.0-dev.2766+dd42882b"
171
171
  },
172
172
  "devDependencies": {
173
173
  "@std/assert": "npm:@jsr/std__assert@^0.226.0",
@@ -179,7 +179,7 @@
179
179
  "typescript": "^6.0.3",
180
180
  "wrangler": "^4.17.0",
181
181
  "@fedify/fixture": "2.0.0",
182
- "@fedify/vocab-tools": "^2.5.0-dev.2758+50a032ca"
182
+ "@fedify/vocab-tools": "^2.5.0-dev.2766+dd42882b"
183
183
  },
184
184
  "scripts": {
185
185
  "build:self": "tsdown",
@@ -338,11 +338,22 @@ back to the first `context` ID, using the remaining request budget. Once a
338
338
  history collection is resolved, it stays selected even if empty or no
339
339
  items can be yielded. Later history references are not tried, and sources are
340
340
  not merged. Portable history references are passed to the configured backfill
341
- loader for resolution and verification. Existing strategies control post
342
- extraction; later explicitly configured strategies can still run. This does not
343
- discover history on ancestors or replay updates and deletions. Histories
344
- containing only `Add(Create(...))` activities yield nothing and do not trigger
345
- `context` fallback.
341
+ loader for resolution and verification.
342
+ Existing strategies control post extraction; later explicitly configured
343
+ strategies can still run. Set `contextDiscovery: "ancestors"` to search
344
+ `inReplyTo` ancestors when the seed has no usable collection, bounded by
345
+ `maxDepth`. The nearest usable collection wins, with reply-target property
346
+ order breaking ties; a valid empty collection stays selected. Source selection
347
+ applies to each ancestor. Discovery shares traversal limits, caching,
348
+ cancellation, and ID deduplication with configured strategies. Per-object
349
+ loader and verifier defaults remain effective across strategy orders, without
350
+ hydrating the seed or loaded ancestors. Collection
351
+ items retain origin `"collection"` and depth 0; ancestors are yielded only
352
+ with `"reply-tree"`. Without this option, context strategies make no ancestor
353
+ requests. These options do not unwrap
354
+ `Add` activities or replay updates and deletions. Histories containing only
355
+ `Add(Create(...))` activities yield nothing and do not trigger `context`
356
+ fallback.
346
357
 
347
358
  Since Fedify 2.5.0, pass `dereference: false` to vocabulary accessors to read
348
359
  embedded or cached objects without fetching references. Singular accessors
@@ -371,6 +382,24 @@ data, so validate them before use. For properties Fedify does support, the
371
382
  functions return the current typed values encoded back, not the received
372
383
  document.
373
384
 
385
+ To publish an extension, use asynchronous
386
+ `withRawProperty(object, propertyIri, values)` or
387
+ `withRawProperties(object, entries)` from `@fedify/vocab` (Fedify 2.5.0 and
388
+ later). They return a fresh shallow copy of the same concrete class. Pass
389
+ arrays of expanded `RawPropertyValue` objects; `[]`, `null`, and an explicitly
390
+ supplied `undefined` remove a property. Batch entries can be a record or an
391
+ iterable of `[IRI, values]` pairs. Duplicate destinations, including a typed
392
+ property's canonical IRI and alias, reject the batch. Known IRIs decode into
393
+ typed fields and reset their trust; unsupported IRIs are retained and published
394
+ only when explicitly written. Written extensions survive nesting and cloning;
395
+ unrelated received extensions are not newly forwarded. Raw reads of a typed
396
+ parent property include its children's explicitly written extensions.
397
+
398
+ Writer copies drop received JSON-LD and retained signed representations.
399
+ Proof values are not automatically removed: clear them with
400
+ `clone({ proofs: [] })` before updating and re-signing an object. Write raw
401
+ properties before calling `signObject()`.
402
+
374
403
  > [!WARNING]
375
404
  > `crossOrigin: "trust"` on vocabulary deserialization trusts embedded
376
405
  > objects without re-fetching. Treat it as you would
@@ -427,6 +456,42 @@ balanced between reads and writes and needs strong consistency, and only
427
456
  not a D1 session, and create its table with a D1 migration and
428
457
  `initialized: true`, since the store is constructed per request.
429
458
 
459
+ For application transitions across several keys, require `AtomicKvStore`
460
+ from `@fedify/fedify` and narrow an existing `KvStore` with
461
+ `isAtomicKvStore()`. All five methods (`cas()`, `getMany()`, `setMany()`,
462
+ `deleteMany()`, `casMany()`) are required on `AtomicKvStore` and optional on
463
+ ordinary `KvStore`. The guard checks method presence; it does not certify
464
+ atomicity or durability. `getMany()` returns an input-ordered snapshot;
465
+ `casMany()` checks every expectation before committing all changes. On
466
+ `false`, reread and re-evaluate application eligibility before retrying.
467
+
468
+ `expectedValue: undefined` means absence; `newValue: undefined` means deletion
469
+ in CAS. Atomic stores reject `set(key, undefined)` and `setMany()` entries
470
+ whose value is `undefined`. They also reject TTLs on deletions and duplicate
471
+ mutation keys before writing. Missing or expired values are `undefined`;
472
+ stored `null` remains `null`. Per-entry TTL, equality, supported values,
473
+ limits, and atomic key scope follow the adapter's documented contract. Never
474
+ emulate batches with separate calls, `Promise.all()`, or a process-local mutex
475
+ for a shared backend. Separate calls do not form a transaction; uncertain
476
+ commit results need receipts or version checks, and ABA detection needs a
477
+ non-reused version.
478
+
479
+ Only `MemoryKvStore` currently implements the full atomic interface. The
480
+ persistent PostgreSQL, Redis, PGlite, SQLite, and MySQL extensions are tracked
481
+ separately in issues #1364–#1368; Deno KV and Netlify Blobs have no atomic
482
+ adapter child issue. `WorkersKvStore` lacks CAS. `WorkersD1KvStore` supports
483
+ single-key CAS; its atomic extension is tracked in #1379. Check the
484
+ [atomic support matrix] and installed declarations before selecting a
485
+ production adapter.
486
+
487
+ `MemoryKvStore` is development-only and retains references, including
488
+ references to the same object stored under several keys. Keep stored and
489
+ returned data immutable; its snapshots do not clone or freeze values. Inputs
490
+ must be passive data, without getters, proxies, or other behavior that reenters
491
+ the store. Production codecs can support different values and comparison
492
+ rules. Cache cleanup examples apply only to cache prefixes; authoritative state
493
+ such as budgets and replay cutoffs needs its own retention policy.
494
+
430
495
  For `PostgresKvStore`, existing populated tables and externally managed DDL
431
496
  (`initialized: true`) need the [expiry expression index] to accelerate cleanup.
432
497
  Run concurrent index creation outside a transaction, followed by `ANALYZE`.
@@ -446,6 +511,7 @@ index too. Keep the original TTL columns and calendar semantics.
446
511
 
447
512
  See <https://fedify.dev/manual/kv.md> and <https://fedify.dev/manual/mq.md>.
448
513
 
514
+ [atomic support matrix]: https://fedify.dev/manual/kv.md#current-support
449
515
  [expiry expression index]: https://fedify.dev/manual/kv.md#postgresql-expiry-index
450
516
 
451
517
 
@@ -1,112 +0,0 @@
1
- /// <reference lib="esnext.temporal" />
2
- //#region src/federation/kv.d.ts
3
- /**
4
- * A key for a key–value store. An array of one or more strings.
5
- *
6
- * @since 0.5.0
7
- */
8
- type KvKey = readonly [string] | readonly [string, ...string[]];
9
- /**
10
- * Additional options for setting a value in a key–value store.
11
- *
12
- * @since 0.5.0
13
- */
14
- interface KvStoreSetOptions {
15
- /**
16
- * The time-to-live (TTL) for the value.
17
- */
18
- ttl?: Temporal.Duration;
19
- }
20
- /**
21
- * An entry returned by the {@link KvStore.list} method.
22
- *
23
- * @since 1.10.0
24
- */
25
- interface KvStoreListEntry {
26
- /**
27
- * The key of the entry.
28
- */
29
- readonly key: KvKey;
30
- /**
31
- * The value of the entry.
32
- */
33
- readonly value: unknown;
34
- }
35
- /**
36
- * An abstract interface for a key–value store.
37
- *
38
- * @since 0.5.0
39
- */
40
- interface KvStore {
41
- /**
42
- * Gets the value for the given key.
43
- * @param key The key to get the value for.
44
- * @returns The value for the key, including `null` if stored, or `undefined`
45
- * if the key does not exist.
46
- * @template T The type of the value to get.
47
- */
48
- get<T = unknown>(key: KvKey): Promise<T | undefined>;
49
- /**
50
- * Sets the value for the given key.
51
- * @param key The key to set the value for.
52
- * @param value The value to set. `null` is a storable value.
53
- * @param options Additional options for setting the value.
54
- */
55
- set(key: KvKey, value: unknown, options?: KvStoreSetOptions): Promise<void>;
56
- /**
57
- * Deletes the value for the given key.
58
- * @param key The key to delete.
59
- */
60
- delete(key: KvKey): Promise<void>;
61
- /**
62
- * Compare-and-swap (CAS) operation for the key–value store.
63
- * @param key The key to perform the CAS operation on.
64
- * @param expectedValue The expected value for the key.
65
- * @param newValue The new value to set if the expected value matches.
66
- * @param options Additional options for setting the value.
67
- * @return `true` if the CAS operation was successful, `false` otherwise.
68
- * @since 1.8.0
69
- */
70
- cas?: (key: KvKey, expectedValue: unknown, newValue: unknown, options?: KvStoreSetOptions) => Promise<boolean>;
71
- /**
72
- * Lists all entries in the store that match the given prefix.
73
- * If no prefix is given, all entries are returned.
74
- * @param prefix The prefix to filter keys by. If not specified, all entries
75
- * are returned.
76
- * @returns An async iterable of entries matching the prefix.
77
- * @since 1.10.0
78
- * @since 2.0.0 This method is now required instead of optional.
79
- */
80
- list(prefix?: KvKey): AsyncIterable<KvStoreListEntry>;
81
- }
82
- /**
83
- * A key–value store that stores values in memory.
84
- * Do not use this in production as it does not persist values.
85
- *
86
- * @since 0.5.0
87
- */
88
- declare class MemoryKvStore implements KvStore {
89
- #private;
90
- /**
91
- * {@inheritDoc KvStore.get}
92
- */
93
- get<T = unknown>(key: KvKey): Promise<T | undefined>;
94
- /**
95
- * {@inheritDoc KvStore.set}
96
- */
97
- set(key: KvKey, value: unknown, options?: KvStoreSetOptions): Promise<void>;
98
- /**
99
- * {@inheritDoc KvStore.delete}
100
- */
101
- delete(key: KvKey): Promise<void>;
102
- /**
103
- * {@inheritDoc KvStore.cas}
104
- */
105
- cas(key: KvKey, expectedValue: unknown, newValue: unknown, options?: KvStoreSetOptions): Promise<boolean>;
106
- /**
107
- * {@inheritDoc KvStore.list}
108
- */
109
- list(prefix?: KvKey): AsyncIterable<KvStoreListEntry>;
110
- }
111
- //#endregion
112
- export { MemoryKvStore as a, KvStoreSetOptions as i, KvStore as n, KvStoreListEntry as r, KvKey as t };