@fedify/fedify 2.5.0-dev.2844 → 2.5.0-dev.2860

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 (53) hide show
  1. package/dist/{client-3InDZbba.d.cts → client-DLHsPY7X.d.cts} +16 -0
  2. package/dist/{client-3InDZbba.d.ts → client-DLHsPY7X.d.ts} +16 -0
  3. package/dist/compat/mod.cjs +1 -1
  4. package/dist/compat/mod.d.cts +1 -1
  5. package/dist/compat/mod.d.ts +1 -1
  6. package/dist/compat/mod.js +1 -1
  7. package/dist/{context-ZtE85CT_.d.cts → context-BhEcRbHo.d.cts} +32 -15
  8. package/dist/{context-CgIOZfHW.d.ts → context-C96-nSuT.d.ts} +32 -15
  9. package/dist/federation/mod.cjs +1 -1
  10. package/dist/federation/mod.d.cts +3 -3
  11. package/dist/federation/mod.d.ts +3 -3
  12. package/dist/federation/mod.js +1 -1
  13. package/dist/{federation-BQI281O9.cjs → federation-Auvn2nQS.cjs} +525 -196
  14. package/dist/{http-wTHjiJ6Q.js → http-BN8Zo-nG.js} +2639 -2464
  15. package/dist/{http-C0rce83B.cjs → http-DcmM0AwN.cjs} +2643 -2456
  16. package/dist/{key-BZw-YiK5.d.ts → key-2YNB5dUS.d.cts} +5 -5
  17. package/dist/{key-D5fbQkKM.d.cts → key-BV9DK4qb.d.ts} +5 -5
  18. package/dist/{kv-cache-DflBc0cC.cjs → kv-cache-DRJgdRR0.cjs} +1 -1
  19. package/dist/{kv-cache-O6fntSzA.js → kv-cache-Dz6xiM-c.js} +1 -1
  20. package/dist/{ld-DlC78ioJ.d.ts → ld-BKOmKbuX.d.cts} +28 -6
  21. package/dist/{ld-DEi9ERHf.d.cts → ld-BewN9CW6.d.ts} +28 -6
  22. package/dist/{middleware-B8hzxJNs.js → middleware-kGZB_Ab7.js} +457 -129
  23. package/dist/{mod-rDDnkuR8.d.cts → mod-B9UuZYxK.d.cts} +3 -3
  24. package/dist/{mod-BD6xjFNY.d.ts → mod-BMHC9eZs.d.ts} +1 -1
  25. package/dist/{mod-Bl1EEZMj.d.cts → mod-CUXI3ede.d.cts} +1 -1
  26. package/dist/{mod-SgCN1wPF.d.ts → mod-DHjHSPnw.d.ts} +3 -3
  27. package/dist/{mod-BamwZjJx.d.cts → mod-iIOirIJV.d.ts} +3 -3
  28. package/dist/{mod-BJRtsw7l.d.ts → mod-oIp2uo8F.d.cts} +3 -3
  29. package/dist/mod.cjs +6 -6
  30. package/dist/mod.d.cts +9 -9
  31. package/dist/mod.d.ts +9 -9
  32. package/dist/mod.js +6 -6
  33. package/dist/nodeinfo/mod.cjs +1 -1
  34. package/dist/nodeinfo/mod.d.cts +1 -1
  35. package/dist/nodeinfo/mod.d.ts +1 -1
  36. package/dist/nodeinfo/mod.js +1 -1
  37. package/dist/{portable-collection-DbqytYWl.js → portable-collection-BKIPytM_.js} +3 -2
  38. package/dist/{portable-collection-zcu-7ozm.cjs → portable-collection-C5sRy1VN.cjs} +3 -2
  39. package/dist/portable-verifier-CPA86vIP.js +22 -0
  40. package/dist/portable-verifier-DiLU8c9T.cjs +26 -0
  41. package/dist/sig/mod.cjs +2 -2
  42. package/dist/sig/mod.d.cts +4 -4
  43. package/dist/sig/mod.d.ts +4 -4
  44. package/dist/sig/mod.js +2 -2
  45. package/dist/{transformers-DAtXl_Kc.js → transformers-BlJ53iKs.js} +3 -2
  46. package/dist/{transformers-BalCrSsr.cjs → transformers-aIK89ibB.cjs} +3 -2
  47. package/dist/{types-DUjZb4i6.js → types-BbCbtwZp.js} +86 -11
  48. package/dist/{types-hKCCjii0.cjs → types-C8gac_AD.cjs} +85 -10
  49. package/dist/utils/mod.cjs +1 -1
  50. package/dist/utils/mod.d.cts +1 -1
  51. package/dist/utils/mod.d.ts +1 -1
  52. package/dist/utils/mod.js +1 -1
  53. package/package.json +6 -6
@@ -1,8 +1,8 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { b as HttpMessageSignaturesSpecDeterminer } from "./key-D5fbQkKM.cjs";
2
+ import { b as HttpMessageSignaturesSpecDeterminer } from "./key-2YNB5dUS.cjs";
3
3
  import { n as KvKey, r as KvStore } from "./kv-B0eIwj06.cjs";
4
4
  import { t as DocumentFetchKind } from "./metrics-DVKYY6K1.cjs";
5
- import { DocumentLoader, DocumentLoaderFactoryOptions } from "@fedify/vocab-runtime";
5
+ import { CryptoKeyLike, DocumentLoader, DocumentLoaderFactoryOptions } from "@fedify/vocab-runtime";
6
6
  import { MeterProvider, TracerProvider } from "@opentelemetry/api";
7
7
 
8
8
  //#region src/utils/docloader.d.ts
@@ -45,7 +45,7 @@ interface GetAuthenticatedDocumentLoaderOptions extends DocumentLoaderFactoryOpt
45
45
  */
46
46
  declare function getAuthenticatedDocumentLoader(identity: {
47
47
  keyId: URL;
48
- privateKey: CryptoKey;
48
+ privateKey: CryptoKeyLike;
49
49
  }, options?: GetAuthenticatedDocumentLoaderOptions): DocumentLoader;
50
50
  //#endregion
51
51
  //#region src/utils/kv-cache.d.ts
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { bt as ActorDispatcher, p as RequestContext, qt as WebFingerLinksDispatcher, xt as ActorHandleMapper, yt as ActorAliasMapper } from "./context-CgIOZfHW.js";
2
+ import { bt as ActorDispatcher, p as RequestContext, qt as WebFingerLinksDispatcher, xt as ActorHandleMapper, yt as ActorAliasMapper } from "./context-C96-nSuT.js";
3
3
  import { RouterError, RouterOptions, RouterRouteResult } from "@fedify/uri-template";
4
4
  import { MeterProvider, Span, Tracer } from "@opentelemetry/api";
5
5
 
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { bt as ActorDispatcher, p as RequestContext, qt as WebFingerLinksDispatcher, xt as ActorHandleMapper, yt as ActorAliasMapper } from "./context-ZtE85CT_.cjs";
2
+ import { bt as ActorDispatcher, p as RequestContext, qt as WebFingerLinksDispatcher, xt as ActorHandleMapper, yt as ActorAliasMapper } from "./context-BhEcRbHo.cjs";
3
3
  import { MeterProvider, Span, Tracer } from "@opentelemetry/api";
4
4
  import { RouterError, RouterOptions, RouterRouteResult } from "@fedify/uri-template";
5
5
 
@@ -1,8 +1,8 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { b as HttpMessageSignaturesSpecDeterminer } from "./key-BZw-YiK5.js";
2
+ import { b as HttpMessageSignaturesSpecDeterminer } from "./key-BV9DK4qb.js";
3
3
  import { n as KvKey, r as KvStore } from "./kv-B0eIwj06.js";
4
4
  import { t as DocumentFetchKind } from "./metrics-DVKYY6K1.js";
5
- import { DocumentLoader, DocumentLoaderFactoryOptions } from "@fedify/vocab-runtime";
5
+ import { CryptoKeyLike, DocumentLoader, DocumentLoaderFactoryOptions } from "@fedify/vocab-runtime";
6
6
  import { MeterProvider, TracerProvider } from "@opentelemetry/api";
7
7
 
8
8
  //#region src/utils/docloader.d.ts
@@ -45,7 +45,7 @@ interface GetAuthenticatedDocumentLoaderOptions extends DocumentLoaderFactoryOpt
45
45
  */
46
46
  declare function getAuthenticatedDocumentLoader(identity: {
47
47
  keyId: URL;
48
- privateKey: CryptoKey;
48
+ privateKey: CryptoKeyLike;
49
49
  }, options?: GetAuthenticatedDocumentLoaderOptions): DocumentLoader;
50
50
  //#endregion
51
51
  //#region src/utils/kv-cache.d.ts
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { B as VerifyPortableObjectProofOptions, z as VerifyPortableObjectProofFailureReason } from "./key-D5fbQkKM.cjs";
2
+ import { B as VerifyPortableObjectProofOptions, z as VerifyPortableObjectProofFailureReason } from "./key-BV9DK4qb.js";
3
+ import { CryptoKeyLike as CryptoKeyLike$1, CryptoKeyPairLike as CryptoKeyPairLike$1, PortableObjectVerifierOptions } from "@fedify/vocab-runtime";
3
4
  import { Multikey } from "@fedify/vocab";
4
- import { PortableObjectVerifierOptions } from "@fedify/vocab-runtime";
5
5
 
6
6
  //#region src/sig/portable-collection.d.ts
7
7
  /**
@@ -151,4 +151,4 @@ type VerifyPortableObjectResult = {
151
151
  */
152
152
  declare function verifyPortableObject(jsonLd: unknown, options?: VerifyPortableObjectOptions): Promise<VerifyPortableObjectResult>;
153
153
  //#endregion
154
- export { verifyPortableObject as i, VerifyPortableObjectOptions as n, VerifyPortableObjectResult as r, VerifyPortableObjectFailureReason as t };
154
+ export { VerifyPortableObjectResult as a, VerifyPortableObjectOptions as i, CryptoKeyPairLike$1 as n, verifyPortableObject as o, VerifyPortableObjectFailureReason as r, CryptoKeyLike$1 as t };
@@ -1,7 +1,7 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- import { B as VerifyPortableObjectProofOptions, z as VerifyPortableObjectProofFailureReason } from "./key-BZw-YiK5.js";
3
- import { PortableObjectVerifierOptions } from "@fedify/vocab-runtime";
2
+ import { B as VerifyPortableObjectProofOptions, z as VerifyPortableObjectProofFailureReason } from "./key-2YNB5dUS.cjs";
4
3
  import { Multikey } from "@fedify/vocab";
4
+ import { CryptoKeyLike as CryptoKeyLike$1, CryptoKeyPairLike as CryptoKeyPairLike$1, PortableObjectVerifierOptions } from "@fedify/vocab-runtime";
5
5
 
6
6
  //#region src/sig/portable-collection.d.ts
7
7
  /**
@@ -151,4 +151,4 @@ type VerifyPortableObjectResult = {
151
151
  */
152
152
  declare function verifyPortableObject(jsonLd: unknown, options?: VerifyPortableObjectOptions): Promise<VerifyPortableObjectResult>;
153
153
  //#endregion
154
- export { verifyPortableObject as i, VerifyPortableObjectOptions as n, VerifyPortableObjectResult as r, VerifyPortableObjectFailureReason as t };
154
+ export { VerifyPortableObjectResult as a, VerifyPortableObjectOptions as i, CryptoKeyPairLike$1 as n, verifyPortableObject as o, VerifyPortableObjectFailureReason as r, CryptoKeyLike$1 as t };
package/dist/mod.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  const { URLPattern } = require("urlpattern-polyfill");
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  require("./rolldown-runtime-Dmm3t92W.cjs");
4
- const require_transformers = require("./transformers-BalCrSsr.cjs");
4
+ const require_transformers = require("./transformers-aIK89ibB.cjs");
5
5
  require("./compat/mod.cjs");
6
- const require_federation = require("./federation-BQI281O9.cjs");
7
- const require_http = require("./http-C0rce83B.cjs");
8
- const require_types = require("./types-hKCCjii0.cjs");
9
- const require_portable_collection = require("./portable-collection-zcu-7ozm.cjs");
10
- const require_kv_cache = require("./kv-cache-DflBc0cC.cjs");
6
+ const require_federation = require("./federation-Auvn2nQS.cjs");
7
+ const require_http = require("./http-DcmM0AwN.cjs");
8
+ const require_types = require("./types-C8gac_AD.cjs");
9
+ const require_portable_collection = require("./portable-collection-C5sRy1VN.cjs");
10
+ const require_kv_cache = require("./kv-cache-DRJgdRR0.cjs");
11
11
  require("./nodeinfo/mod.cjs");
12
12
  require("./runtime/mod.cjs");
13
13
  require("./sig/mod.cjs");
package/dist/mod.d.cts CHANGED
@@ -1,18 +1,18 @@
1
1
  /// <reference lib="esnext.temporal" />
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
- 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
- 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-ZtE85CT_.cjs";
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-DLHsPY7X.cjs";
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-2YNB5dUS.cjs";
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-BKOmKbuX.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-BhEcRbHo.cjs";
6
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-Bl1EEZMj.cjs";
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-rDDnkuR8.cjs";
8
+ import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "./mod-CUXI3ede.cjs";
9
+ import { a as VerifyPortableObjectResult, i as VerifyPortableObjectOptions, n as CryptoKeyPairLike, o as verifyPortableObject, r as VerifyPortableObjectFailureReason, t as CryptoKeyLike } from "./mod-oIp2uo8F.cjs";
10
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./mod-B9UuZYxK.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, 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 };
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, CryptoKeyLike, CryptoKeyPairLike, 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, 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 };
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, CryptoKeyLike, CryptoKeyPairLike, 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
@@ -1,18 +1,18 @@
1
1
  /// <reference lib="esnext.temporal" />
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
- 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
- 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-CgIOZfHW.js";
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-DLHsPY7X.js";
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-BV9DK4qb.js";
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-BewN9CW6.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-C96-nSuT.js";
6
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-BD6xjFNY.js";
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-SgCN1wPF.js";
8
+ import { a as RouterOptions, i as RouterError, n as handleWebFinger, o as RouterRouteResult, r as Router, t as WebFingerHandlerParameters } from "./mod-BMHC9eZs.js";
9
+ import { a as VerifyPortableObjectResult, i as VerifyPortableObjectOptions, n as CryptoKeyPairLike, o as verifyPortableObject, r as VerifyPortableObjectFailureReason, t as CryptoKeyLike } from "./mod-iIOirIJV.js";
10
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./mod-DHjHSPnw.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, 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 };
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, CryptoKeyLike, CryptoKeyPairLike, 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, 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 };
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, CryptoKeyLike, CryptoKeyPairLike, 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
@@ -1,13 +1,13 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
3
  import "./rolldown-runtime-BC-Eo5Mj.js";
4
- import { n as autoIdAssigner, r as getDefaultActivityTransformers, t as actorDehydrator } from "./transformers-DAtXl_Kc.js";
4
+ import { n as autoIdAssigner, r as getDefaultActivityTransformers, t as actorDehydrator } from "./transformers-BlJ53iKs.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-B8hzxJNs.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-wTHjiJ6Q.js";
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-DbqytYWl.js";
10
- import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./kv-cache-O6fntSzA.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-kGZB_Ab7.js";
7
+ import { A as createSignature, H as verifySignature, J as generateCryptoKeyPair, K as fetchKey, M as detachSignature, O as attachSignature, P as hasSignatureLike, T as verifyProof, V as verifyJsonLd, W as exportJwk, Y as importJwk, _ as signObject, a as signRequest, bt as parseAcceptSignature, c as verifyRequestDetailed, h as hasProofLike, p as createProof, q as fetchKeyDetailed, s as verifyRequest, vt as formatAcceptSignature, x as verifyPortableObjectProof, xt as validateAcceptSignature, y as verifyObject, yt as fulfillAcceptSignature, z as signJsonLd } from "./http-BN8Zo-nG.js";
8
+ import { n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "./types-BbCbtwZp.js";
9
+ import { n as doesActorOwnKey, r as getKeyOwner, t as verifyPortableObject } from "./portable-collection-BKIPytM_.js";
10
+ import { n as getAuthenticatedDocumentLoader, t as kvCache } from "./kv-cache-Dz6xiM-c.js";
11
11
  import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue, Router, RouterError, isAtomicKvStore } from "./federation/mod.js";
12
12
  import "./nodeinfo/mod.js";
13
13
  import "./runtime/mod.js";
@@ -1,6 +1,6 @@
1
1
  const { URLPattern } = require("urlpattern-polyfill");
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const require_types = require("../types-hKCCjii0.cjs");
3
+ const require_types = require("../types-C8gac_AD.cjs");
4
4
  exports.getNodeInfo = require_types.getNodeInfo;
5
5
  exports.nodeInfoToJson = require_types.nodeInfoToJson;
6
6
  exports.parseNodeInfo = require_types.parseNodeInfo;
@@ -1,3 +1,3 @@
1
1
  /// <reference lib="esnext.temporal" />
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";
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-DLHsPY7X.cjs";
3
3
  export { type GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, type ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo };
@@ -1,3 +1,3 @@
1
1
  /// <reference lib="esnext.temporal" />
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";
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-DLHsPY7X.js";
3
3
  export { type GetNodeInfoOptions, InboundService, JsonValue, NodeInfo, OutboundService, type ParseNodeInfoOptions, Protocol, Services, Software, Usage, getNodeInfo, nodeInfoToJson, parseNodeInfo };
@@ -1,4 +1,4 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "../types-DUjZb4i6.js";
3
+ import { n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "../types-BbCbtwZp.js";
4
4
  export { getNodeInfo, nodeInfoToJson, parseNodeInfo };
@@ -1,6 +1,7 @@
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-wTHjiJ6Q.js";
3
+ import { t as getDefaultPortableObjectVerifier } from "./portable-verifier-CPA86vIP.js";
4
+ import { $ as getVerifiedKeyOwnerEvidence, Bt as name, C as verifyPortableObjectProofWithRoot, Ft as isPortableId, G as fetchActorDocument, Lt as isPortableUri, Pt as isCompatibleKeyId, Vt as version, W as exportJwk, Z as verifyKeyOwnership, et as parseKeyOwnerEvidence, kt as getCanonicalPortableId, l as fetchPortableGatewayKey, u as resolvePortableActorKey, x as verifyPortableObjectProof, zt as isSamePublicKey$1 } from "./http-BN8Zo-nG.js";
4
5
  import { getLogger } from "@logtape/logtape";
5
6
  import { canonicalizePortableUri, formatIri, fromCompatibleEf61Id, getDocumentLoader, getFe34Origin, parseIri } from "@fedify/vocab-runtime";
6
7
  import { CollectionPage, CryptographicKey, Object as Object$1, isActor } from "@fedify/vocab";
@@ -194,7 +195,7 @@ async function getKeyOwner(keyId, options) {
194
195
  }
195
196
  if (object instanceof CryptographicKey) {
196
197
  if (object.id != null && object.id.href !== keyId.href) return null;
197
- return await verifyKeyOwnership(object.id == null ? object.clone({ id: keyId }) : object, fetchOptions);
198
+ return await verifyKeyOwnership(object.id == null ? object.clone({ id: keyId }, { verifyPortableObject: getDefaultPortableObjectVerifier(object) }) : object, fetchOptions);
198
199
  }
199
200
  if (!isActor(object)) return null;
200
201
  if (object.id == null || isPortableId(object.id) || object.id.origin !== documentUrl.origin) {
@@ -1,5 +1,6 @@
1
1
  const { URLPattern } = require("urlpattern-polyfill");
2
- const require_http = require("./http-C0rce83B.cjs");
2
+ const require_portable_verifier = require("./portable-verifier-DiLU8c9T.cjs");
3
+ const require_http = require("./http-DcmM0AwN.cjs");
3
4
  let _logtape_logtape = require("@logtape/logtape");
4
5
  let _fedify_vocab_runtime = require("@fedify/vocab-runtime");
5
6
  let _fedify_vocab = require("@fedify/vocab");
@@ -193,7 +194,7 @@ async function getKeyOwner(keyId, options) {
193
194
  }
194
195
  if (object instanceof _fedify_vocab.CryptographicKey) {
195
196
  if (object.id != null && object.id.href !== keyId.href) return null;
196
- return await require_http.verifyKeyOwnership(object.id == null ? object.clone({ id: keyId }) : object, fetchOptions);
197
+ return await require_http.verifyKeyOwnership(object.id == null ? object.clone({ id: keyId }, { verifyPortableObject: require_portable_verifier.getDefaultPortableObjectVerifier(object) }) : object, fetchOptions);
197
198
  }
198
199
  if (!(0, _fedify_vocab.isActor)(object)) return null;
199
200
  if (object.id == null || require_http.isPortableId(object.id) || object.id.origin !== documentUrl.origin) {
@@ -0,0 +1,22 @@
1
+ import { Temporal } from "temporal-polyfill";
2
+ import { URLPattern } from "urlpattern-polyfill";
3
+ //#region src/utils/portable-verifier.ts
4
+ /**
5
+ * Gets the default FEP-ef61 portable object verifier of a vocabulary object,
6
+ * so that Fedify can pass it on to a clone of the object explicitly, since
7
+ * `clone()` does not inherit it.
8
+ *
9
+ * This reads the protected `_verifyPortableObject` accessor of generated
10
+ * vocabulary classes, which is an internal cross-package contract with
11
+ * `@fedify/vocab-tools`.
12
+ *
13
+ * @param object The vocabulary object.
14
+ * @returns The object's default verifier, or `undefined` if it has none.
15
+ * @internal
16
+ */
17
+ function getDefaultPortableObjectVerifier(object) {
18
+ const verifier = Reflect.get(object, "_verifyPortableObject");
19
+ return typeof verifier === "function" ? verifier : void 0;
20
+ }
21
+ //#endregion
22
+ export { getDefaultPortableObjectVerifier as t };
@@ -0,0 +1,26 @@
1
+ const { URLPattern } = require("urlpattern-polyfill");
2
+ //#region src/utils/portable-verifier.ts
3
+ /**
4
+ * Gets the default FEP-ef61 portable object verifier of a vocabulary object,
5
+ * so that Fedify can pass it on to a clone of the object explicitly, since
6
+ * `clone()` does not inherit it.
7
+ *
8
+ * This reads the protected `_verifyPortableObject` accessor of generated
9
+ * vocabulary classes, which is an internal cross-package contract with
10
+ * `@fedify/vocab-tools`.
11
+ *
12
+ * @param object The vocabulary object.
13
+ * @returns The object's default verifier, or `undefined` if it has none.
14
+ * @internal
15
+ */
16
+ function getDefaultPortableObjectVerifier(object) {
17
+ const verifier = Reflect.get(object, "_verifyPortableObject");
18
+ return typeof verifier === "function" ? verifier : void 0;
19
+ }
20
+ //#endregion
21
+ Object.defineProperty(exports, "getDefaultPortableObjectVerifier", {
22
+ enumerable: true,
23
+ get: function() {
24
+ return getDefaultPortableObjectVerifier;
25
+ }
26
+ });
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-C0rce83B.cjs");
4
- const require_portable_collection = require("../portable-collection-zcu-7ozm.cjs");
3
+ const require_http = require("../http-DcmM0AwN.cjs");
4
+ const require_portable_collection = require("../portable-collection-C5sRy1VN.cjs");
5
5
  exports.attachSignature = require_http.attachSignature;
6
6
  exports.createProof = require_http.createProof;
7
7
  exports.createSignature = require_http.createSignature;
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- 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, a as KeyCache, b as HttpMessageSignaturesSpecDeterminer, c as fetchKeyDetailed, i as FetchKeyResult, j as FulfillAcceptSignatureResult, k as AcceptSignatureMember, l as generateCryptoKeyPair, n as FetchKeyErrorResult, o as exportJwk, 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";
3
- 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";
4
- import { i as verifyPortableObject, n as VerifyPortableObjectOptions, r as VerifyPortableObjectResult, t as VerifyPortableObjectFailureReason } from "../mod-BamwZjJx.cjs";
5
- export { AcceptSignatureMember, AcceptSignatureParameters, CreateProofOptions, CreateSignatureOptions, DoesActorOwnKeyOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, FulfillAcceptSignatureResult, GetKeyOwnerOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, Rfc9421SignRequestOptions, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, 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 };
2
+ 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, a as KeyCache, b as HttpMessageSignaturesSpecDeterminer, c as fetchKeyDetailed, i as FetchKeyResult, j as FulfillAcceptSignatureResult, k as AcceptSignatureMember, l as generateCryptoKeyPair, n as FetchKeyErrorResult, o as exportJwk, 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-2YNB5dUS.cjs";
3
+ 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-BKOmKbuX.cjs";
4
+ import { a as VerifyPortableObjectResult, i as VerifyPortableObjectOptions, n as CryptoKeyPairLike, o as verifyPortableObject, r as VerifyPortableObjectFailureReason, t as CryptoKeyLike } from "../mod-oIp2uo8F.cjs";
5
+ export { AcceptSignatureMember, AcceptSignatureParameters, CreateProofOptions, CreateSignatureOptions, CryptoKeyLike, CryptoKeyPairLike, DoesActorOwnKeyOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, FulfillAcceptSignatureResult, GetKeyOwnerOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, Rfc9421SignRequestOptions, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, 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 };
package/dist/sig/mod.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference lib="esnext.temporal" />
2
- 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, a as KeyCache, b as HttpMessageSignaturesSpecDeterminer, c as fetchKeyDetailed, i as FetchKeyResult, j as FulfillAcceptSignatureResult, k as AcceptSignatureMember, l as generateCryptoKeyPair, n as FetchKeyErrorResult, o as exportJwk, 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";
3
- 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";
4
- import { i as verifyPortableObject, n as VerifyPortableObjectOptions, r as VerifyPortableObjectResult, t as VerifyPortableObjectFailureReason } from "../mod-BJRtsw7l.js";
5
- export { AcceptSignatureMember, AcceptSignatureParameters, CreateProofOptions, CreateSignatureOptions, DoesActorOwnKeyOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, FulfillAcceptSignatureResult, GetKeyOwnerOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, Rfc9421SignRequestOptions, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, 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 };
2
+ 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, a as KeyCache, b as HttpMessageSignaturesSpecDeterminer, c as fetchKeyDetailed, i as FetchKeyResult, j as FulfillAcceptSignatureResult, k as AcceptSignatureMember, l as generateCryptoKeyPair, n as FetchKeyErrorResult, o as exportJwk, 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-BV9DK4qb.js";
3
+ 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-BewN9CW6.js";
4
+ import { a as VerifyPortableObjectResult, i as VerifyPortableObjectOptions, n as CryptoKeyPairLike, o as verifyPortableObject, r as VerifyPortableObjectFailureReason, t as CryptoKeyLike } from "../mod-iIOirIJV.js";
5
+ export { AcceptSignatureMember, AcceptSignatureParameters, CreateProofOptions, CreateSignatureOptions, CryptoKeyLike, CryptoKeyPairLike, DoesActorOwnKeyOptions, FetchKeyDetailedResult, FetchKeyErrorResult, FetchKeyOptions, FetchKeyResult, FulfillAcceptSignatureResult, GetKeyOwnerOptions, HttpMessageSignaturesSpec, HttpMessageSignaturesSpecDeterminer, KeyCache, Rfc9421SignRequestOptions, SignJsonLdOptions, SignObjectOptions, SignRequestOptions, VerifyJsonLdOptions, VerifyObjectOptions, VerifyPortableObjectFailureReason, VerifyPortableObjectOptions, VerifyPortableObjectProofFailureReason, VerifyPortableObjectProofOptions, VerifyPortableObjectProofResult, VerifyPortableObjectResult, VerifyProofOptions, VerifyRequestDetailedResult, VerifyRequestFailureReason, VerifyRequestOptions, VerifySignatureOptions, 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 };
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-wTHjiJ6Q.js";
4
- import { n as doesActorOwnKey, r as getKeyOwner, t as verifyPortableObject } from "../portable-collection-DbqytYWl.js";
3
+ import { A as createSignature, H as verifySignature, J as generateCryptoKeyPair, K as fetchKey, M as detachSignature, O as attachSignature, P as hasSignatureLike, T as verifyProof, V as verifyJsonLd, W as exportJwk, Y as importJwk, _ as signObject, a as signRequest, bt as parseAcceptSignature, c as verifyRequestDetailed, h as hasProofLike, p as createProof, q as fetchKeyDetailed, s as verifyRequest, vt as formatAcceptSignature, x as verifyPortableObjectProof, xt as validateAcceptSignature, y as verifyObject, yt as fulfillAcceptSignature, z as signJsonLd } from "../http-BN8Zo-nG.js";
4
+ import { n as doesActorOwnKey, r as getKeyOwner, t as verifyPortableObject } from "../portable-collection-BKIPytM_.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,6 @@
1
1
  import { Temporal } from "temporal-polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
+ import { t as getDefaultPortableObjectVerifier } from "./portable-verifier-CPA86vIP.js";
3
4
  import { getLogger } from "@logtape/logtape";
4
5
  //#region src/compat/transformers.ts
5
6
  const logger = getLogger([
@@ -29,7 +30,7 @@ function autoIdAssigner(activity, context) {
29
30
  if (activity.id != null) return activity;
30
31
  const id = new URL(`/#${activity.constructor.name}/${crypto.randomUUID()}`, context.origin);
31
32
  logger.warn("As the activity to send does not have an id, a new id {id} has been generated for it. However, it is recommended to explicitly set the id for the activity.", { id: id.href });
32
- return activity.clone({ id });
33
+ return activity.clone({ id }, { verifyPortableObject: getDefaultPortableObjectVerifier(activity) });
33
34
  }
34
35
  /**
35
36
  * An activity transformer that dehydrates the actor property of an activity
@@ -78,7 +79,7 @@ function autoIdAssigner(activity, context) {
78
79
  */
79
80
  function actorDehydrator(activity, _context) {
80
81
  if (activity.actorIds.length < 1) return activity;
81
- return activity.clone({ actors: activity.actorIds });
82
+ return activity.clone({ actors: activity.actorIds }, { verifyPortableObject: getDefaultPortableObjectVerifier(activity) });
82
83
  }
83
84
  /**
84
85
  * Gets the default activity transformers that are applied to all outgoing
@@ -1,4 +1,5 @@
1
1
  const { URLPattern } = require("urlpattern-polyfill");
2
+ const require_portable_verifier = require("./portable-verifier-DiLU8c9T.cjs");
2
3
  //#region src/compat/transformers.ts
3
4
  const logger = (0, require("@logtape/logtape").getLogger)([
4
5
  "fedify",
@@ -27,7 +28,7 @@ function autoIdAssigner(activity, context) {
27
28
  if (activity.id != null) return activity;
28
29
  const id = new URL(`/#${activity.constructor.name}/${crypto.randomUUID()}`, context.origin);
29
30
  logger.warn("As the activity to send does not have an id, a new id {id} has been generated for it. However, it is recommended to explicitly set the id for the activity.", { id: id.href });
30
- return activity.clone({ id });
31
+ return activity.clone({ id }, { verifyPortableObject: require_portable_verifier.getDefaultPortableObjectVerifier(activity) });
31
32
  }
32
33
  /**
33
34
  * An activity transformer that dehydrates the actor property of an activity
@@ -76,7 +77,7 @@ function autoIdAssigner(activity, context) {
76
77
  */
77
78
  function actorDehydrator(activity, _context) {
78
79
  if (activity.actorIds.length < 1) return activity;
79
- return activity.clone({ actors: activity.actorIds });
80
+ return activity.clone({ actors: activity.actorIds }, { verifyPortableObject: require_portable_verifier.getDefaultPortableObjectVerifier(activity) });
80
81
  }
81
82
  /**
82
83
  * Gets the default activity transformers that are applied to all outgoing