@fedify/fedify 1.10.7 → 1.10.9

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 (114) hide show
  1. package/dist/{actor-Cujbx4Zv.js → actor-CMBXPdjk.js} +187 -187
  2. package/dist/{actor-BGIAXtRd.cjs → actor-DSmY7of0.cjs} +187 -187
  3. package/dist/{actor-C-_2S5Mn.mjs → actor-z4bjwAPy.mjs} +1 -1
  4. package/dist/{authdocloader-D4Y6iyTF.js → authdocloader-B4QKchy5.js} +3 -3
  5. package/dist/{authdocloader-1Sk2bqFx.mjs → authdocloader-C7iVUcxr.mjs} +3 -3
  6. package/dist/{authdocloader-DQfruCir.cjs → authdocloader-YXazGK4I.cjs} +3 -3
  7. package/dist/{builder-CZbrDRl7.mjs → builder-C3PFAtTV.mjs} +4 -4
  8. package/dist/{client-Dyb8MI3u.mjs → client-C-xdpu6M.mjs} +1 -1
  9. package/dist/compat/mod.cjs +1 -1
  10. package/dist/compat/mod.d.cts +1 -1
  11. package/dist/compat/mod.d.ts +1 -1
  12. package/dist/compat/transformers.test.mjs +3 -3
  13. package/dist/{context-PfghnHYj.d.cts → context-BzSr5FCW.d.cts} +4 -1
  14. package/dist/{context-C6n2yrj0.d.ts → context-CyacVopT.d.ts} +4 -1
  15. package/dist/{docloader-Q3DfzuUi.cjs → docloader-9cG6ESUw.cjs} +12 -3
  16. package/dist/{docloader-Dtaju6oI.js → docloader-DXUkyjIx.js} +12 -3
  17. package/dist/{esm-DOJg552-.mjs → esm-Bfj-SwEx.mjs} +1 -1
  18. package/dist/federation/builder.test.mjs +3 -3
  19. package/dist/federation/collection.test.mjs +1 -1
  20. package/dist/federation/handler.test.mjs +6 -6
  21. package/dist/federation/idempotency.test.mjs +5 -5
  22. package/dist/federation/inbox.test.mjs +3 -3
  23. package/dist/federation/keycache.test.mjs +3 -3
  24. package/dist/federation/kv.test.mjs +1 -1
  25. package/dist/federation/middleware.test.mjs +39 -33
  26. package/dist/federation/mod.cjs +2 -2
  27. package/dist/federation/mod.d.cts +1 -1
  28. package/dist/federation/mod.d.ts +1 -1
  29. package/dist/federation/mod.js +1 -1
  30. package/dist/federation/mq.test.mjs +1 -1
  31. package/dist/federation/retry.test.mjs +1 -1
  32. package/dist/federation/router.test.mjs +2 -2
  33. package/dist/federation/send.test.mjs +7 -7
  34. package/dist/{http-DRnRwr3i.js → http-CuloN7xQ.js} +3 -3
  35. package/dist/{http-BRwSVBn1.mjs → http-D5CDiVKf.mjs} +2 -2
  36. package/dist/{http-DCrun8ql.cjs → http-LjaXmp2m.cjs} +3 -3
  37. package/dist/{inbox-pD1nbb_5.mjs → inbox-D0Mzd940.mjs} +1 -1
  38. package/dist/{key-DEYIxAFs.cjs → key-B22mXs2u.cjs} +2 -2
  39. package/dist/{key-DMO0TgTa.mjs → key-B5QN42gR.mjs} +1 -1
  40. package/dist/{key-Cmbps6xt.cjs → key-CXkrXfz6.cjs} +1 -1
  41. package/dist/{key-vIzWPiil.js → key-D1PkkNK-.js} +2 -2
  42. package/dist/{key-DdL5Oc59.mjs → key-Dnc1ekhA.mjs} +2 -2
  43. package/dist/{keycache-BVR9f06Y.mjs → keycache-DwDRFAp7.mjs} +1 -1
  44. package/dist/{keys-Co-0pK8a.mjs → keys-C4Ms2Cy-.mjs} +1 -1
  45. package/dist/{ld-BFaDk5gX.mjs → ld-BJ8BZLC8.mjs} +2 -2
  46. package/dist/{lookup-jlmCTRsO.js → lookup-B8rOR_1a.js} +1 -1
  47. package/dist/{lookup-CMYXdjVH.mjs → lookup-Br7I7sqm.mjs} +1 -1
  48. package/dist/{lookup-CZGJqSjm.cjs → lookup-D0d32cZH.cjs} +1 -1
  49. package/dist/{middleware-BhMQrJXH.cjs → middleware-0yq2uipZ.cjs} +48 -23
  50. package/dist/{middleware-BWlZ-wms.cjs → middleware-BRXIidLb.cjs} +1 -1
  51. package/dist/{middleware-BXD5WJbj.mjs → middleware-BbgpZrsX.mjs} +52 -27
  52. package/dist/{middleware-H3Ce7yn3.mjs → middleware-BlsPkr2X.mjs} +1 -1
  53. package/dist/{middleware-CmA2E9Bu.js → middleware-CYNQWJ-D.js} +46 -21
  54. package/dist/mod.cjs +10 -10
  55. package/dist/mod.d.cts +1 -1
  56. package/dist/mod.d.ts +1 -1
  57. package/dist/mod.js +9 -9
  58. package/dist/nodeinfo/client.test.mjs +3 -3
  59. package/dist/nodeinfo/handler.test.mjs +2 -2
  60. package/dist/nodeinfo/mod.cjs +1 -1
  61. package/dist/nodeinfo/mod.js +1 -1
  62. package/dist/nodeinfo/semver.test.mjs +1 -1
  63. package/dist/nodeinfo/types.test.mjs +1 -1
  64. package/dist/otel/exporter.test.mjs +1 -1
  65. package/dist/otel/mod.cjs +1 -1
  66. package/dist/{owner-CNdS8zxf.mjs → owner-D32qC-wF.mjs} +3 -3
  67. package/dist/{proof-Co7YmDpv.mjs → proof-B67QOiuS.mjs} +2 -2
  68. package/dist/{proof-DcPdtve2.cjs → proof-DE2Z0_uv.cjs} +3 -3
  69. package/dist/{proof-DHPbi_Mx.js → proof-u5ivh_eA.js} +3 -3
  70. package/dist/runtime/authdocloader.test.mjs +6 -6
  71. package/dist/runtime/docloader.test.mjs +3 -3
  72. package/dist/runtime/key.test.mjs +3 -3
  73. package/dist/runtime/langstr.test.mjs +2 -2
  74. package/dist/runtime/link.test.mjs +2 -2
  75. package/dist/runtime/mod.cjs +3 -3
  76. package/dist/runtime/mod.js +3 -3
  77. package/dist/runtime/multibase/multibase.test.mjs +2 -2
  78. package/dist/runtime/url.test.mjs +5 -2
  79. package/dist/{send-BRCWNcMa.mjs → send-7RGxOhrY.mjs} +2 -2
  80. package/dist/sig/http.test.mjs +6 -6
  81. package/dist/sig/key.test.mjs +4 -4
  82. package/dist/sig/ld.test.mjs +5 -5
  83. package/dist/sig/mod.cjs +3 -3
  84. package/dist/sig/mod.js +3 -3
  85. package/dist/sig/owner.test.mjs +5 -5
  86. package/dist/sig/proof.test.mjs +4 -4
  87. package/dist/testing/docloader.test.mjs +1 -1
  88. package/dist/testing/mod.d.mts +4 -1
  89. package/dist/testing/mod.mjs +1 -1
  90. package/dist/{testing-BLIh1cXz.mjs → testing-zWgaXBJW.mjs} +2 -2
  91. package/dist/{transformers-CLtJ5H8o.cjs → transformers-BdbEtUZU.cjs} +1 -1
  92. package/dist/{types-CXZk86AG.js → types-6_pWuZfK.js} +1 -1
  93. package/dist/{types-B34v-m2N.cjs → types-ec4G8nGs.cjs} +1 -1
  94. package/dist/vocab/actor.test.mjs +4 -4
  95. package/dist/vocab/cjs.test.mjs +1 -1
  96. package/dist/vocab/lookup.test.mjs +4 -4
  97. package/dist/vocab/mod.cjs +3 -3
  98. package/dist/vocab/mod.js +3 -3
  99. package/dist/vocab/type.test.mjs +2 -2
  100. package/dist/vocab/vocab.test.mjs +3 -3
  101. package/dist/{vocab-rT_94Pke.mjs → vocab-C60RNInZ.mjs} +197 -188
  102. package/dist/webfinger/handler.test.mjs +3 -3
  103. package/dist/webfinger/lookup.test.mjs +3 -3
  104. package/dist/webfinger/mod.cjs +1 -1
  105. package/dist/webfinger/mod.js +1 -1
  106. package/dist/x/cfworkers.cjs +1 -1
  107. package/dist/x/cfworkers.test.mjs +1 -1
  108. package/dist/x/hono.cjs +1 -1
  109. package/dist/x/hono.d.cts +1 -1
  110. package/dist/x/hono.d.ts +1 -1
  111. package/dist/x/sveltekit.cjs +1 -1
  112. package/dist/x/sveltekit.d.cts +1 -1
  113. package/dist/x/sveltekit.d.ts +1 -1
  114. package/package.json +1 -1
package/dist/mod.d.ts CHANGED
@@ -9,7 +9,7 @@ import { a as signRequest, c as FetchKeyResult, d as fetchKey, f as generateCryp
9
9
  import { i as getKeyOwner, n as GetKeyOwnerOptions, r as doesActorOwnKey, t as DoesActorOwnKeyOptions } from "./owner-CPEbNpnZ.js";
10
10
  import { a as toAcctUrl, c as TraverseCollectionOptions, i as parseFediverseHandle, l as lookupObject, n as FediverseHandle, o as PUBLIC_COLLECTION, r as isFediverseHandle, s as LookupObjectOptions, t as getTypeId, u as traverseCollection } from "./mod-Lj0W1nnG.js";
11
11
  import { i as ResourceDescriptor, n as lookupWebFinger } from "./mod-lHd-Zdd_.js";
12
- import { $ as CustomCollectionCursor, A as createFederation, B as RouterRouteResult, C as InboxListenerSetters, D as FederationKvPrefixes, E as CreateFederationOptions, F as Message, G as ActorDispatcher, H as respondWithObject, I as createFederationBuilder, J as AuthorizePredicate, K as ActorHandleMapper, L as Router, M as RetryContext, N as RetryPolicy, O as FederationOrigin, P as createExponentialBackoffPolicy, Q as CustomCollectionCounter, R as RouterError, S as IdempotencyStrategy, T as Rfc6570Expression, U as respondWithObjectIfAcceptable, V as RespondWithObjectOptions, W as ActorAliasMapper, X as CollectionCursor, Y as CollectionCounter, Z as CollectionDispatcher, _ as FederationBuilder, a as InboxContext, at as ObjectDispatcher, b as FederationStartQueueOptions, c as RouteActivityOptions, ct as WebFingerLinksDispatcher, d as ActorCallbackSetters, dt as buildCollectionSynchronizationHeader, et as CustomCollectionDispatcher, f as CollectionCallbackSetters, ft as digest, g as Federation, h as Federatable, i as GetSignedKeyOptions, it as ObjectAuthorizePredicate, j as CreateExponentialBackoffPolicyOptions, k as FederationQueueOptions, l as SendActivityOptions, lt as SenderKeyPair, m as CustomCollectionCallbackSetters, n as Context, nt as InboxListener, o as ParseUriResult, ot as OutboxErrorHandler, p as ConstructorWithTypeId, pt as ActivityTransformer, q as ActorKeyPairsDispatcher, r as ForwardActivityOptions, rt as NodeInfoDispatcher, s as RequestContext, st as SharedInboxKeyDispatcher, t as ActorKeyPair, tt as InboxErrorHandler, u as SendActivityOptionsForCollection, ut as PageItems, v as FederationFetchOptions, w as ObjectCallbackSetters, x as IdempotencyKeyCallback, y as FederationOptions, z as RouterOptions } from "./context-C6n2yrj0.js";
12
+ import { $ as CustomCollectionCursor, A as createFederation, B as RouterRouteResult, C as InboxListenerSetters, D as FederationKvPrefixes, E as CreateFederationOptions, F as Message, G as ActorDispatcher, H as respondWithObject, I as createFederationBuilder, J as AuthorizePredicate, K as ActorHandleMapper, L as Router, M as RetryContext, N as RetryPolicy, O as FederationOrigin, P as createExponentialBackoffPolicy, Q as CustomCollectionCounter, R as RouterError, S as IdempotencyStrategy, T as Rfc6570Expression, U as respondWithObjectIfAcceptable, V as RespondWithObjectOptions, W as ActorAliasMapper, X as CollectionCursor, Y as CollectionCounter, Z as CollectionDispatcher, _ as FederationBuilder, a as InboxContext, at as ObjectDispatcher, b as FederationStartQueueOptions, c as RouteActivityOptions, ct as WebFingerLinksDispatcher, d as ActorCallbackSetters, dt as buildCollectionSynchronizationHeader, et as CustomCollectionDispatcher, f as CollectionCallbackSetters, ft as digest, g as Federation, h as Federatable, i as GetSignedKeyOptions, it as ObjectAuthorizePredicate, j as CreateExponentialBackoffPolicyOptions, k as FederationQueueOptions, l as SendActivityOptions, lt as SenderKeyPair, m as CustomCollectionCallbackSetters, n as Context, nt as InboxListener, o as ParseUriResult, ot as OutboxErrorHandler, p as ConstructorWithTypeId, pt as ActivityTransformer, q as ActorKeyPairsDispatcher, r as ForwardActivityOptions, rt as NodeInfoDispatcher, s as RequestContext, st as SharedInboxKeyDispatcher, t as ActorKeyPair, tt as InboxErrorHandler, u as SendActivityOptionsForCollection, ut as PageItems, v as FederationFetchOptions, w as ObjectCallbackSetters, x as IdempotencyKeyCallback, y as FederationOptions, z as RouterOptions } from "./context-CyacVopT.js";
13
13
  import { a as MessageQueueListenOptions, i as MessageQueueEnqueueOptions, n as InProcessMessageQueueOptions, o as ParallelMessageQueue, r as MessageQueue, t as InProcessMessageQueue } from "./mq-D_ZZRdby.js";
14
14
  import { actorDehydrator, autoIdAssigner, getDefaultActivityTransformers } from "./compat/mod.js";
15
15
  import { GetAuthenticatedDocumentLoaderOptions, exportMultibaseKey, exportSpki, getAuthenticatedDocumentLoader, importMultibaseKey, importPem, importPkcs1, importSpki } from "./runtime/mod.js";
package/dist/mod.js CHANGED
@@ -2,15 +2,15 @@ import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  import { n as autoIdAssigner, r as getDefaultActivityTransformers, t as actorDehydrator } from "./transformers-BV4OeK9o.js";
4
4
  import "./compat/mod.js";
5
- import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "./docloader-Dtaju6oI.js";
6
- import { $ as Person, A as Flag, B as Like, C as Dislike, Ct as importPkcs1, D as Endpoints, E as EmojiReact, F as Image, G as Multikey, H as Listen, I as IntransitiveActivity, J as Offer, K as Note, L as Invite, M as Group, N as Hashtag, O as Event, P as Ignore, Q as Page, R as Join, S as DidService, St as importPem, T as Emoji, Tt as getTypeId, U as Mention, V as Link, W as Move, X as OrderedCollectionPage, Y as OrderedCollection, Z as Organization, _ as CollectionPage, _t as View, a as normalizeActorHandle, at as Reject, b as DataIntegrityProof, bt as exportSpki, c as Add, ct as Service, d as Arrive, dt as TentativeReject, et as Place, f as Article, ft as Tombstone, g as Collection, gt as Video, h as ChatMessage, ht as Update, i as isActor, it as Read, j as Follow, k as Export, l as Announce, lt as Source, m as Block, mt as Undo, n as getActorHandle, nt as PropertyValue, o as Accept, ot as Relationship, p as Audio, pt as Travel, q as Object$1, r as getActorTypeName, rt as Question, s as Activity, st as Remove, t as getActorClassByTypeName, tt as Profile, u as Application, ut as TentativeAccept, v as Create, vt as LanguageString, w as Document, wt as importSpki, x as Delete, xt as importMultibaseKey, y as CryptographicKey, yt as exportMultibaseKey, z as Leave } from "./actor-Cujbx4Zv.js";
7
- import { a as respondWithObjectIfAcceptable, c as createFederationBuilder, i as respondWithObject, l as Router, o as buildCollectionSynchronizationHeader, r as createExponentialBackoffPolicy, s as digest, t as createFederation, u as RouterError } from "./middleware-CmA2E9Bu.js";
8
- import { t as lookupWebFinger } from "./lookup-jlmCTRsO.js";
9
- import { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "./key-vIzWPiil.js";
10
- import { n as signRequest, r as verifyRequest } from "./http-DRnRwr3i.js";
11
- import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "./proof-DHPbi_Mx.js";
12
- import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "./types-CXZk86AG.js";
13
- import { t as getAuthenticatedDocumentLoader } from "./authdocloader-D4Y6iyTF.js";
5
+ import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "./docloader-DXUkyjIx.js";
6
+ import { $ as Person, A as Flag, B as Like, C as Dislike, Ct as importPkcs1, D as Endpoints, E as EmojiReact, F as Image, G as Multikey, H as Listen, I as IntransitiveActivity, J as Offer, K as Note, L as Invite, M as Group, N as Hashtag, O as Event, P as Ignore, Q as Page, R as Join, S as DidService, St as importPem, T as Emoji, Tt as getTypeId, U as Mention, V as Link, W as Move, X as OrderedCollectionPage, Y as OrderedCollection, Z as Organization, _ as CollectionPage, _t as View, a as normalizeActorHandle, at as Reject, b as DataIntegrityProof, bt as exportSpki, c as Add, ct as Service, d as Arrive, dt as TentativeReject, et as Place, f as Article, ft as Tombstone, g as Collection, gt as Video, h as ChatMessage, ht as Update, i as isActor, it as Read, j as Follow, k as Export, l as Announce, lt as Source, m as Block, mt as Undo, n as getActorHandle, nt as PropertyValue, o as Accept, ot as Relationship, p as Audio, pt as Travel, q as Object$1, r as getActorTypeName, rt as Question, s as Activity, st as Remove, t as getActorClassByTypeName, tt as Profile, u as Application, ut as TentativeAccept, v as Create, vt as LanguageString, w as Document, wt as importSpki, x as Delete, xt as importMultibaseKey, y as CryptographicKey, yt as exportMultibaseKey, z as Leave } from "./actor-CMBXPdjk.js";
7
+ import { a as respondWithObjectIfAcceptable, c as createFederationBuilder, i as respondWithObject, l as Router, o as buildCollectionSynchronizationHeader, r as createExponentialBackoffPolicy, s as digest, t as createFederation, u as RouterError } from "./middleware-CYNQWJ-D.js";
8
+ import { t as lookupWebFinger } from "./lookup-B8rOR_1a.js";
9
+ import { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "./key-D1PkkNK-.js";
10
+ import { n as signRequest, r as verifyRequest } from "./http-CuloN7xQ.js";
11
+ import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "./proof-u5ivh_eA.js";
12
+ import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "./types-6_pWuZfK.js";
13
+ import { t as getAuthenticatedDocumentLoader } from "./authdocloader-B4QKchy5.js";
14
14
  import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "./vocab/mod.js";
15
15
  import { InProcessMessageQueue, MemoryKvStore, ParallelMessageQueue } from "./federation/mod.js";
16
16
  import "./nodeinfo/mod.js";
@@ -1,11 +1,11 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { t as test } from "../testing-zWgaXBJW.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
6
6
  import "../std__assert-2v7gYiZp.mjs";
7
- import { a as parseProtocol, c as parseUsage, i as parseOutboundService, n as parseInboundService, o as parseServices, r as parseNodeInfo, s as parseSoftware, t as getNodeInfo } from "../client-Dyb8MI3u.mjs";
8
- import { t as esm_default } from "../esm-DOJg552-.mjs";
7
+ import { a as parseProtocol, c as parseUsage, i as parseOutboundService, n as parseInboundService, o as parseServices, r as parseNodeInfo, s as parseSoftware, t as getNodeInfo } from "../client-C-xdpu6M.mjs";
8
+ import { t as esm_default } from "../esm-Bfj-SwEx.mjs";
9
9
  //#region src/nodeinfo/client.test.ts
10
10
  test("getNodeInfo()", async (t) => {
11
11
  esm_default.spyGlobal();
@@ -1,11 +1,11 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { i as createRequestContext, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { i as createRequestContext, t as test } from "../testing-zWgaXBJW.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
6
6
  import "../std__assert-2v7gYiZp.mjs";
7
7
  import { t as MemoryKvStore } from "../kv-OuT2IU64.mjs";
8
- import { a as createFederation, g as handleNodeInfoJrd, h as handleNodeInfo } from "../middleware-BXD5WJbj.mjs";
8
+ import { a as createFederation, g as handleNodeInfoJrd, h as handleNodeInfo } from "../middleware-BbgpZrsX.mjs";
9
9
  import { n as parseSemVer } from "../semver-CgD82xxg.mjs";
10
10
  //#region src/nodeinfo/handler.test.ts
11
11
  test("handleNodeInfo()", async () => {
@@ -1,7 +1,7 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const require_types = require("../types-B34v-m2N.cjs");
4
+ const require_types = require("../types-ec4G8nGs.cjs");
5
5
  exports.formatSemVer = require_types.formatSemVer;
6
6
  exports.getNodeInfo = require_types.getNodeInfo;
7
7
  exports.nodeInfoToJson = require_types.nodeInfoToJson;
@@ -1,4 +1,4 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
- import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "../types-CXZk86AG.js";
3
+ import { a as parseSemVer, i as formatSemVer, n as getNodeInfo, r as parseNodeInfo, t as nodeInfoToJson } from "../types-6_pWuZfK.js";
4
4
  export { formatSemVer, getNodeInfo, nodeInfoToJson, parseNodeInfo, parseSemVer };
@@ -1,7 +1,7 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { t as test } from "../testing-zWgaXBJW.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
6
6
  import "../std__assert-2v7gYiZp.mjs";
7
7
  import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
@@ -1,7 +1,7 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { t as test } from "../testing-zWgaXBJW.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
6
6
  import "../std__assert-2v7gYiZp.mjs";
7
7
  import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { t as test } from "../testing-zWgaXBJW.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
6
6
  import "../std__assert-2v7gYiZp.mjs";
7
7
  import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
package/dist/otel/mod.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- require("../docloader-Q3DfzuUi.cjs");
4
+ require("../docloader-9cG6ESUw.cjs");
5
5
  let _logtape_logtape = require("@logtape/logtape");
6
6
  let _opentelemetry_core = require("@opentelemetry/core");
7
7
  //#region src/otel/exporter.ts
@@ -1,9 +1,9 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { J as getDocumentLoader, ot as name, s as CryptographicKey, st as version, v as Object$1 } from "./vocab-rT_94Pke.mjs";
5
- import { i as isActor } from "./actor-C-_2S5Mn.mjs";
6
- import "./key-DdL5Oc59.mjs";
4
+ import { J as getDocumentLoader, ot as name, s as CryptographicKey, st as version, v as Object$1 } from "./vocab-C60RNInZ.mjs";
5
+ import { i as isActor } from "./actor-z4bjwAPy.mjs";
6
+ import "./key-Dnc1ekhA.mjs";
7
7
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  //#region src/sig/owner.ts
9
9
  /**
@@ -1,8 +1,8 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { U as getTypeId, c as DataIntegrityProof, g as Multikey, ot as name, st as version, t as Activity } from "./vocab-rT_94Pke.mjs";
5
- import { a as validateCryptoKey, n as fetchKey } from "./key-DdL5Oc59.mjs";
4
+ import { U as getTypeId, c as DataIntegrityProof, g as Multikey, ot as name, st as version, t as Activity } from "./vocab-C60RNInZ.mjs";
5
+ import { a as validateCryptoKey, n as fetchKey } from "./key-Dnc1ekhA.mjs";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  import { encodeHex } from "byte-encodings/hex";
@@ -1,8 +1,8 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
- const require_docloader = require("./docloader-Q3DfzuUi.cjs");
4
- const require_actor = require("./actor-BGIAXtRd.cjs");
5
- const require_key = require("./key-DEYIxAFs.cjs");
3
+ const require_docloader = require("./docloader-9cG6ESUw.cjs");
4
+ const require_actor = require("./actor-DSmY7of0.cjs");
5
+ const require_key = require("./key-B22mXs2u.cjs");
6
6
  let _logtape_logtape = require("@logtape/logtape");
7
7
  let _opentelemetry_api = require("@opentelemetry/api");
8
8
  let jsonld = require("jsonld");
@@ -1,8 +1,8 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
- import { d as name, f as version, i as getDocumentLoader } from "./docloader-Dtaju6oI.js";
4
- import { G as Multikey, Tt as getTypeId, b as DataIntegrityProof, i as isActor, q as Object$1, s as Activity, y as CryptographicKey } from "./actor-Cujbx4Zv.js";
5
- import { n as fetchKey, o as validateCryptoKey } from "./key-vIzWPiil.js";
3
+ import { d as name, f as version, i as getDocumentLoader } from "./docloader-DXUkyjIx.js";
4
+ import { G as Multikey, Tt as getTypeId, b as DataIntegrityProof, i as isActor, q as Object$1, s as Activity, y as CryptographicKey } from "./actor-CMBXPdjk.js";
5
+ import { n as fetchKey, o as validateCryptoKey } from "./key-D1PkkNK-.js";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  import jsonld from "jsonld";
@@ -1,15 +1,15 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { $ as UrlError } from "../vocab-rT_94Pke.mjs";
5
- import { a as mockDocumentLoader, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { $ as UrlError } from "../vocab-C60RNInZ.mjs";
5
+ import { a as mockDocumentLoader, t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import "../std__assert-2v7gYiZp.mjs";
8
8
  import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
9
- import { l as verifyRequest } from "../http-BRwSVBn1.mjs";
10
- import { t as getAuthenticatedDocumentLoader } from "../authdocloader-1Sk2bqFx.mjs";
11
- import { t as esm_default } from "../esm-DOJg552-.mjs";
12
- import { i as rsaPrivateKey2 } from "../keys-Co-0pK8a.mjs";
9
+ import { l as verifyRequest } from "../http-D5CDiVKf.mjs";
10
+ import { t as getAuthenticatedDocumentLoader } from "../authdocloader-C7iVUcxr.mjs";
11
+ import { t as esm_default } from "../esm-Bfj-SwEx.mjs";
12
+ import { i as rsaPrivateKey2 } from "../keys-C4Ms2Cy-.mjs";
13
13
  //#region src/runtime/authdocloader.test.ts
14
14
  test("getAuthenticatedDocumentLoader()", async (t) => {
15
15
  esm_default.spyGlobal();
@@ -1,15 +1,15 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { $ as UrlError, G as FetchError, J as getDocumentLoader, X as getUserAgent, Z as kvCache, at as preloadedContexts, st as version } from "../vocab-rT_94Pke.mjs";
5
- import { a as mockDocumentLoader, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { $ as UrlError, G as FetchError, J as getDocumentLoader, X as getUserAgent, Z as kvCache, at as preloadedContexts, st as version } from "../vocab-C60RNInZ.mjs";
5
+ import { a as mockDocumentLoader, t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import "../std__assert-2v7gYiZp.mjs";
8
8
  import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
9
9
  import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
10
10
  import { t as assert } from "../assert-DikXweDx.mjs";
11
11
  import { t as MemoryKvStore } from "../kv-OuT2IU64.mjs";
12
- import { t as esm_default } from "../esm-DOJg552-.mjs";
12
+ import { t as esm_default } from "../esm-Bfj-SwEx.mjs";
13
13
  import { t as createTestTracerProvider } from "../otel-0v4Zy01l.mjs";
14
14
  import process from "node:process";
15
15
  //#region src/runtime/docloader.test.ts
@@ -1,11 +1,11 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { F as importPkcs1, I as importSpki, M as exportSpki, N as importMultibaseKey, P as importPem, j as exportMultibaseKey } from "../vocab-rT_94Pke.mjs";
5
- import { t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { F as importPkcs1, I as importSpki, M as exportSpki, N as importMultibaseKey, P as importPem, j as exportMultibaseKey } from "../vocab-C60RNInZ.mjs";
5
+ import { t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import "../std__assert-2v7gYiZp.mjs";
8
- import { i as importJwk, t as exportJwk } from "../key-DdL5Oc59.mjs";
8
+ import { i as importJwk, t as exportJwk } from "../key-Dnc1ekhA.mjs";
9
9
  //#region src/runtime/key.test.ts
10
10
  const rsaSpki = "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxsRuvCkgJtflBTl4OVsm\nnt/J1mQfZasfJtN33dcZ3d1lJroxmgmMu69zjGEAwkNbMQaWNLqC4eogkJaeJ4RR\n5MHYXkL9nNilVoTkjX5BVit3puzs7XJ7WQnKQgQMI+ezn24GHsZ/v1JIo77lerX5\nk4HNwTNVt+yaZVQWaOMR3+6FwziQR6kd0VuG9/a9dgAnz2cEoORRC1i4W7IZaB1s\nZnh1WbHbevlGd72HSXll5rocPIHn8gq6xpBgpHwRphlRsgn4KHaJ6brXDIJjrnQh\nIe/YUBOGj/ImSEXhRwlFerKsoAVnZ0Hwbfa46qk44TAt8CyoPMWmpK6pt0ng4pQ2\nuwIDAQAB\n-----END PUBLIC KEY-----\n";
11
11
  const rsaPkcs1 = "-----BEGIN RSA PUBLIC KEY-----\nMIIBCgKCAQEAxsRuvCkgJtflBTl4OVsmnt/J1mQfZasfJtN33dcZ3d1lJroxmgmM\nu69zjGEAwkNbMQaWNLqC4eogkJaeJ4RR5MHYXkL9nNilVoTkjX5BVit3puzs7XJ7\nWQnKQgQMI+ezn24GHsZ/v1JIo77lerX5k4HNwTNVt+yaZVQWaOMR3+6FwziQR6kd\n0VuG9/a9dgAnz2cEoORRC1i4W7IZaB1sZnh1WbHbevlGd72HSXll5rocPIHn8gq6\nxpBgpHwRphlRsgn4KHaJ6brXDIJjrnQhIe/YUBOGj/ImSEXhRwlFerKsoAVnZ0Hw\nbfa46qk44TAt8CyoPMWmpK6pt0ng4pQ2uwIDAQAB\n-----END RSA PUBLIC KEY-----\n";
@@ -1,8 +1,8 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { A as LanguageString } from "../vocab-rT_94Pke.mjs";
5
- import { t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { A as LanguageString } from "../vocab-C60RNInZ.mjs";
5
+ import { t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import "../std__assert-2v7gYiZp.mjs";
8
8
  import { parseLanguageTag } from "@phensley/language-tag";
@@ -1,8 +1,8 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { it as HttpHeaderLink } from "../vocab-rT_94Pke.mjs";
5
- import { t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { it as HttpHeaderLink } from "../vocab-C60RNInZ.mjs";
5
+ import { t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { deepStrictEqual, throws } from "node:assert";
7
7
  //#region src/runtime/link.test.ts
8
8
  test("String Good 1", () => {
@@ -1,9 +1,9 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const require_docloader = require("../docloader-Q3DfzuUi.cjs");
5
- const require_actor = require("../actor-BGIAXtRd.cjs");
6
- const require_authdocloader = require("../authdocloader-DQfruCir.cjs");
4
+ const require_docloader = require("../docloader-9cG6ESUw.cjs");
5
+ const require_actor = require("../actor-DSmY7of0.cjs");
6
+ const require_authdocloader = require("../authdocloader-YXazGK4I.cjs");
7
7
  exports.FetchError = require_docloader.FetchError;
8
8
  exports.LanguageString = require_actor.LanguageString;
9
9
  exports.exportMultibaseKey = require_actor.exportMultibaseKey;
@@ -1,6 +1,6 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
- import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "../docloader-Dtaju6oI.js";
4
- import { Ct as importPkcs1, St as importPem, bt as exportSpki, vt as LanguageString, wt as importSpki, xt as importMultibaseKey, yt as exportMultibaseKey } from "../actor-Cujbx4Zv.js";
5
- import { t as getAuthenticatedDocumentLoader } from "../authdocloader-D4Y6iyTF.js";
3
+ import { i as getDocumentLoader, o as getUserAgent, r as fetchDocumentLoader, s as kvCache, t as FetchError } from "../docloader-DXUkyjIx.js";
4
+ import { Ct as importPkcs1, St as importPem, bt as exportSpki, vt as LanguageString, wt as importSpki, xt as importMultibaseKey, yt as exportMultibaseKey } from "../actor-CMBXPdjk.js";
5
+ import { t as getAuthenticatedDocumentLoader } from "../authdocloader-B4QKchy5.js";
6
6
  export { FetchError, LanguageString, exportMultibaseKey, exportSpki, fetchDocumentLoader, getAuthenticatedDocumentLoader, getDocumentLoader, getUserAgent, importMultibaseKey, importPem, importPkcs1, importSpki, kvCache };
@@ -1,8 +1,8 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { B as names, H as encodeText, L as decode, R as encode, V as decodeText, z as codes } from "../../vocab-rT_94Pke.mjs";
5
- import { t as test } from "../../testing-BLIh1cXz.mjs";
4
+ import { B as names, H as encodeText, L as decode, R as encode, V as decodeText, z as codes } from "../../vocab-C60RNInZ.mjs";
5
+ import { t as test } from "../../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../../assert_equals-Ew3jOFa3.mjs";
7
7
  import "../../std__assert-2v7gYiZp.mjs";
8
8
  //#region src/runtime/multibase/multibase.test.ts
@@ -1,8 +1,8 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { $ as UrlError, et as expandIPv6Address, nt as isValidPublicIPv6Address, rt as validatePublicUrl, tt as isValidPublicIPv4Address } from "../vocab-rT_94Pke.mjs";
5
- import { t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { $ as UrlError, et as expandIPv6Address, nt as isValidPublicIPv6Address, rt as validatePublicUrl, tt as isValidPublicIPv4Address } from "../vocab-C60RNInZ.mjs";
5
+ import { t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import { n as assertFalse, t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
8
8
  import { t as assert } from "../assert-DikXweDx.mjs";
@@ -13,6 +13,8 @@ test("validatePublicUrl()", async () => {
13
13
  await assertRejects(() => validatePublicUrl("https://localhost"), UrlError);
14
14
  await assertRejects(() => validatePublicUrl("https://127.0.0.1"), UrlError);
15
15
  await assertRejects(() => validatePublicUrl("https://[::1]"), UrlError);
16
+ await assertRejects(() => validatePublicUrl("http://[::ffff:7f00:1]/"), UrlError);
17
+ await validatePublicUrl("https://[2001:db8::1]");
16
18
  });
17
19
  test("isValidPublicIPv4Address()", () => {
18
20
  assert(isValidPublicIPv4Address("8.8.8.8"));
@@ -29,6 +31,7 @@ test("isValidPublicIPv6Address()", () => {
29
31
  assertFalse(isValidPublicIPv6Address("fe80::1"));
30
32
  assertFalse(isValidPublicIPv6Address("ff00::1"));
31
33
  assertFalse(isValidPublicIPv6Address("::"));
34
+ assertFalse(isValidPublicIPv6Address("::ffff:7f00:1"));
32
35
  });
33
36
  test("expandIPv6Address()", () => {
34
37
  assertEquals(expandIPv6Address("::"), "0000:0000:0000:0000:0000:0000:0000:0000");
@@ -1,8 +1,8 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { ot as name, st as version } from "./vocab-rT_94Pke.mjs";
5
- import { n as doubleKnock } from "./http-BRwSVBn1.mjs";
4
+ import { ot as name, st as version } from "./vocab-C60RNInZ.mjs";
5
+ import { n as doubleKnock } from "./http-D5CDiVKf.mjs";
6
6
  import { getLogger } from "@logtape/logtape";
7
7
  import { SpanKind, SpanStatusCode, trace } from "@opentelemetry/api";
8
8
  //#region src/federation/send.ts
@@ -1,17 +1,17 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { M as exportSpki } from "../vocab-rT_94Pke.mjs";
5
- import { a as mockDocumentLoader, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { M as exportSpki } from "../vocab-C60RNInZ.mjs";
5
+ import { a as mockDocumentLoader, t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import { a as assertExists, t as assertStringIncludes } from "../std__assert-2v7gYiZp.mjs";
8
8
  import { n as assertFalse, t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
9
9
  import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
10
10
  import { t as assert } from "../assert-DikXweDx.mjs";
11
- import { t as exportJwk } from "../key-DdL5Oc59.mjs";
12
- import { a as parseRfc9421Signature, c as timingSafeEqual, i as formatRfc9421SignatureParameters, l as verifyRequest, n as doubleKnock, o as parseRfc9421SignatureInput, r as formatRfc9421Signature, s as signRequest, t as createRfc9421SignatureBase } from "../http-BRwSVBn1.mjs";
13
- import { t as esm_default } from "../esm-DOJg552-.mjs";
14
- import { i as rsaPrivateKey2, l as rsaPublicKey5, o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-Co-0pK8a.mjs";
11
+ import { t as exportJwk } from "../key-Dnc1ekhA.mjs";
12
+ import { a as parseRfc9421Signature, c as timingSafeEqual, i as formatRfc9421SignatureParameters, l as verifyRequest, n as doubleKnock, o as parseRfc9421SignatureInput, r as formatRfc9421Signature, s as signRequest, t as createRfc9421SignatureBase } from "../http-D5CDiVKf.mjs";
13
+ import { t as esm_default } from "../esm-Bfj-SwEx.mjs";
14
+ import { i as rsaPrivateKey2, l as rsaPublicKey5, o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-C4Ms2Cy-.mjs";
15
15
  import { encodeBase64 } from "byte-encodings/base64";
16
16
  //#region src/sig/http.test.ts
17
17
  test("signRequest() [draft-cavage]", async () => {
@@ -1,14 +1,14 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { g as Multikey, s as CryptographicKey } from "../vocab-rT_94Pke.mjs";
5
- import { a as mockDocumentLoader, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { g as Multikey, s as CryptographicKey } from "../vocab-C60RNInZ.mjs";
5
+ import { a as mockDocumentLoader, t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import "../std__assert-2v7gYiZp.mjs";
8
8
  import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
9
9
  import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
10
- import { a as validateCryptoKey, i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../key-DdL5Oc59.mjs";
11
- import { c as rsaPublicKey3, i as rsaPrivateKey2, o as rsaPublicKey1, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-Co-0pK8a.mjs";
10
+ import { a as validateCryptoKey, i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../key-Dnc1ekhA.mjs";
11
+ import { c as rsaPublicKey3, i as rsaPrivateKey2, o as rsaPublicKey1, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-C4Ms2Cy-.mjs";
12
12
  //#region src/sig/key.test.ts
13
13
  test("validateCryptoKey()", async () => {
14
14
  const pkcs1v15 = await crypto.subtle.generateKey({
@@ -1,15 +1,15 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { s as CryptographicKey } from "../vocab-rT_94Pke.mjs";
5
- import { a as mockDocumentLoader, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { s as CryptographicKey } from "../vocab-C60RNInZ.mjs";
5
+ import { a as mockDocumentLoader, t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import { n as assertFalse, t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
8
8
  import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
9
9
  import { t as assert } from "../assert-DikXweDx.mjs";
10
- import { r as generateCryptoKeyPair } from "../key-DdL5Oc59.mjs";
11
- import { a as signJsonLd, n as createSignature, o as verifyJsonLd, r as detachSignature, s as verifySignature, t as attachSignature } from "../ld-BFaDk5gX.mjs";
12
- import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-Co-0pK8a.mjs";
10
+ import { r as generateCryptoKeyPair } from "../key-Dnc1ekhA.mjs";
11
+ import { a as signJsonLd, n as createSignature, o as verifyJsonLd, r as detachSignature, s as verifySignature, t as attachSignature } from "../ld-BJ8BZLC8.mjs";
12
+ import { a as rsaPrivateKey3, c as rsaPublicKey3, i as rsaPrivateKey2, n as ed25519PrivateKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-C4Ms2Cy-.mjs";
13
13
  import { encodeBase64 } from "byte-encodings/base64";
14
14
  //#region src/sig/ld.test.ts
15
15
  test("attachSignature()", () => {
package/dist/sig/mod.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
4
- const require_key = require("../key-DEYIxAFs.cjs");
5
- const require_http = require("../http-DCrun8ql.cjs");
6
- const require_proof = require("../proof-DcPdtve2.cjs");
4
+ const require_key = require("../key-B22mXs2u.cjs");
5
+ const require_http = require("../http-LjaXmp2m.cjs");
6
+ const require_proof = require("../proof-DE2Z0_uv.cjs");
7
7
  exports.attachSignature = require_proof.attachSignature;
8
8
  exports.createProof = require_proof.createProof;
9
9
  exports.createSignature = require_proof.createSignature;
package/dist/sig/mod.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
- import { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../key-vIzWPiil.js";
4
- import { n as signRequest, r as verifyRequest } from "../http-DRnRwr3i.js";
5
- import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "../proof-DHPbi_Mx.js";
3
+ import { i as importJwk, n as fetchKey, r as generateCryptoKeyPair, t as exportJwk } from "../key-D1PkkNK-.js";
4
+ import { n as signRequest, r as verifyRequest } from "../http-CuloN7xQ.js";
5
+ import { a as doesActorOwnKey, c as createSignature, d as signJsonLd, f as verifyJsonLd, i as verifyProof, l as detachSignature, n as signObject, o as getKeyOwner, p as verifySignature, r as verifyObject, s as attachSignature, t as createProof } from "../proof-u5ivh_eA.js";
6
6
  export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
@@ -1,16 +1,16 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { o as Create, s as CryptographicKey } from "../vocab-rT_94Pke.mjs";
5
- import { t as lookupObject } from "../lookup-CMYXdjVH.mjs";
6
- import { a as mockDocumentLoader, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { o as Create, s as CryptographicKey } from "../vocab-C60RNInZ.mjs";
5
+ import { t as lookupObject } from "../lookup-Br7I7sqm.mjs";
6
+ import { a as mockDocumentLoader, t as test } from "../testing-zWgaXBJW.mjs";
7
7
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
8
8
  import "../std__assert-2v7gYiZp.mjs";
9
9
  import { n as assertFalse } from "../assert_rejects-CJC9ThS-.mjs";
10
10
  import { t as assert } from "../assert-DikXweDx.mjs";
11
- import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-CNdS8zxf.mjs";
11
+ import { n as getKeyOwner, t as doesActorOwnKey } from "../owner-D32qC-wF.mjs";
12
12
  import { t as createTestTracerProvider } from "../otel-0v4Zy01l.mjs";
13
- import { o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-Co-0pK8a.mjs";
13
+ import { o as rsaPublicKey1, s as rsaPublicKey2 } from "../keys-C4Ms2Cy-.mjs";
14
14
  //#region src/sig/owner.test.ts
15
15
  test("doesActorOwnKey()", async () => {
16
16
  const options = {
@@ -1,14 +1,14 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { L as decode, N as importMultibaseKey, _ as Note, c as DataIntegrityProof, g as Multikey, o as Create, w as Place } from "../vocab-rT_94Pke.mjs";
5
- import { a as mockDocumentLoader, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { L as decode, N as importMultibaseKey, _ as Note, c as DataIntegrityProof, g as Multikey, o as Create, w as Place } from "../vocab-C60RNInZ.mjs";
5
+ import { a as mockDocumentLoader, t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import "../std__assert-2v7gYiZp.mjs";
8
8
  import { t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
9
9
  import { t as assertInstanceOf } from "../assert_instance_of-C4Ri6VuN.mjs";
10
- import { i as verifyProof, n as signObject, r as verifyObject, t as createProof } from "../proof-Co7YmDpv.mjs";
11
- import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-Co-0pK8a.mjs";
10
+ import { i as verifyProof, n as signObject, r as verifyObject, t as createProof } from "../proof-B67QOiuS.mjs";
11
+ import { i as rsaPrivateKey2, n as ed25519PrivateKey, r as ed25519PublicKey, s as rsaPublicKey2, t as ed25519Multikey } from "../keys-C4Ms2Cy-.mjs";
12
12
  import { decodeHex, encodeHex } from "byte-encodings/hex";
13
13
  //#region src/sig/proof.test.ts
14
14
  const fep8b32TestVectorPrivateKey = await crypto.subtle.importKey("jwk", {
@@ -1,7 +1,7 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { a as mockDocumentLoader, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { a as mockDocumentLoader, t as test } from "../testing-zWgaXBJW.mjs";
5
5
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
6
6
  import "../std__assert-2v7gYiZp.mjs";
7
7
  //#region src/testing/docloader.test.ts
@@ -8898,7 +8898,10 @@ interface GetSignedKeyOptions {
8898
8898
  */
8899
8899
  interface ActorKeyPair extends CryptoKeyPair {
8900
8900
  /**
8901
- * The URI of the public key, which is used for verifying HTTP Signatures.
8901
+ * The URI of the public key for {@link CryptographicKey}, which is used for
8902
+ * verifying HTTP Signatures and Linked Data Signatures. Note that this is
8903
+ * the ID of the {@link cryptographicKey}, not of the {@link multikey};
8904
+ * the {@link Multikey} instance has a distinct ID of its own.
8902
8905
  */
8903
8906
  keyId: URL;
8904
8907
  /**
@@ -1,5 +1,5 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { i as createRequestContext, n as testDefinitions, r as createInboxContext, t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { i as createRequestContext, n as testDefinitions, r as createInboxContext, t as test } from "../testing-zWgaXBJW.mjs";
5
5
  export { createInboxContext, createRequestContext, test, testDefinitions };
@@ -1,8 +1,8 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { W as lookupWebFinger, ut as __require } from "./vocab-rT_94Pke.mjs";
5
- import { i as RouterError, n as traverseCollection, t as lookupObject } from "./lookup-CMYXdjVH.mjs";
4
+ import { W as lookupWebFinger, ut as __require } from "./vocab-C60RNInZ.mjs";
5
+ import { i as RouterError, n as traverseCollection, t as lookupObject } from "./lookup-Br7I7sqm.mjs";
6
6
  import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
7
7
  import { trace } from "@opentelemetry/api";
8
8
  //#region src/testing/docloader.ts
@@ -1,6 +1,6 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
- require("./docloader-Q3DfzuUi.cjs");
3
+ require("./docloader-9cG6ESUw.cjs");
4
4
  //#region src/compat/transformers.ts
5
5
  const logger = (0, require("@logtape/logtape").getLogger)([
6
6
  "fedify",
@@ -1,6 +1,6 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
- import { o as getUserAgent } from "./docloader-Dtaju6oI.js";
3
+ import { o as getUserAgent } from "./docloader-DXUkyjIx.js";
4
4
  import { getLogger } from "@logtape/logtape";
5
5
  //#region src/nodeinfo/semver.ts
6
6
  const MAX_LENGTH = 256;
@@ -1,6 +1,6 @@
1
1
  const { Temporal } = require("@js-temporal/polyfill");
2
2
  const { URLPattern } = require("urlpattern-polyfill");
3
- const require_docloader = require("./docloader-Q3DfzuUi.cjs");
3
+ const require_docloader = require("./docloader-9cG6ESUw.cjs");
4
4
  let _logtape_logtape = require("@logtape/logtape");
5
5
  //#region src/nodeinfo/semver.ts
6
6
  const MAX_LENGTH = 256;
@@ -1,15 +1,15 @@
1
1
  import "@js-temporal/polyfill";
2
2
  import "urlpattern-polyfill";
3
3
  globalThis.addEventListener = () => {};
4
- import { C as Person, E as Service, S as Organization, d as Group, lt as __exportAll, r as Application } from "../vocab-rT_94Pke.mjs";
5
- import { t as test } from "../testing-BLIh1cXz.mjs";
4
+ import { C as Person, E as Service, S as Organization, d as Group, lt as __exportAll, r as Application } from "../vocab-C60RNInZ.mjs";
5
+ import { t as test } from "../testing-zWgaXBJW.mjs";
6
6
  import { t as assertEquals } from "../assert_equals-Ew3jOFa3.mjs";
7
7
  import { n as assertStrictEquals } from "../std__assert-2v7gYiZp.mjs";
8
8
  import { n as assertFalse, t as assertRejects } from "../assert_rejects-CJC9ThS-.mjs";
9
9
  import { t as assertThrows } from "../assert_throws-BIL7gChy.mjs";
10
10
  import { t as assert$1 } from "../assert-DikXweDx.mjs";
11
- import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "../actor-C-_2S5Mn.mjs";
12
- import { t as esm_default } from "../esm-DOJg552-.mjs";
11
+ import { a as normalizeActorHandle, i as isActor, n as getActorHandle, r as getActorTypeName, t as getActorClassByTypeName } from "../actor-z4bjwAPy.mjs";
12
+ import { t as esm_default } from "../esm-Bfj-SwEx.mjs";
13
13
  //#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
14
14
  var PreconditionFailure = class PreconditionFailure extends Error {
15
15
  constructor(interruptExecution = false) {