@fedify/fedify 1.9.0-pr.403.1507 → 1.9.0-pr.404.1510

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 (113) hide show
  1. package/dist/{actor-D5NEKs-H.js → actor-CHqaUXl1.js} +1 -1
  2. package/dist/{actor-B80VL7Zv.d.ts → actor-Ch5yFYFG.d.ts} +2 -2
  3. package/dist/{actor-CIsF-n5t.js → actor-DkIdAr9J.js} +187 -187
  4. package/dist/{authdocloader-kT3YjLfm.js → authdocloader-Bq3eEtNg.js} +3 -3
  5. package/dist/{authdocloader-C80Qh6nT.js → authdocloader-CjGMaQfP.js} +3 -3
  6. package/dist/{builder--4Abku0B.js → builder-DHDVBVOV.js} +4 -4
  7. package/dist/{client-BLIpt8C0.d.ts → client-DF8anIB5.d.ts} +1 -1
  8. package/dist/{client-CIZTyPSt.js → client-nKH0m0vE.js} +3 -4
  9. package/dist/compat/mod.d.ts +12 -12
  10. package/dist/compat/transformers.test.js +18 -18
  11. package/dist/{context-B8KXDXjQ.d.ts → context-DNwURm52.d.ts} +10 -10
  12. package/dist/{docloader-D__EFgsg.js → docloader-Bs8tIfQl.js} +1 -1
  13. package/dist/{docloader-ClLAKEYo.d.ts → docloader-CxWcuWqQ.d.ts} +1 -1
  14. package/dist/{esm-MoRVnXvZ.js → esm-BHj56Vi7.js} +1 -1
  15. package/dist/federation/builder.test.js +6 -6
  16. package/dist/federation/collection.test.js +3 -3
  17. package/dist/federation/handler.test.js +19 -19
  18. package/dist/federation/inbox.test.js +4 -4
  19. package/dist/federation/keycache.test.js +4 -4
  20. package/dist/federation/kv.test.js +3 -3
  21. package/dist/federation/middleware.test.js +20 -20
  22. package/dist/federation/mod.d.ts +12 -12
  23. package/dist/federation/mod.js +10 -11
  24. package/dist/federation/mq.test.js +3 -3
  25. package/dist/federation/retry.test.js +3 -3
  26. package/dist/federation/router.test.js +3 -3
  27. package/dist/federation/send.test.js +10 -10
  28. package/dist/{http-C68HIQho.d.ts → http-D8Q4xH0d.d.ts} +2 -2
  29. package/dist/{http-DDfAIynd.js → http-DWzB6Eiv.js} +3 -3
  30. package/dist/{http-BG0qOzZu.js → http-zMANLZqM.js} +2 -2
  31. package/dist/{inbox-D-bc5rI-.js → inbox-Dp-eEtMJ.js} +1 -1
  32. package/dist/{key-DnS3IKGP.js → key-8JDozsni.js} +3 -3
  33. package/dist/{key-DIlYv882.js → key-BbWECGU6.js} +2 -2
  34. package/dist/{key-pfboPnfT.js → key-UNMrztet.js} +4 -4
  35. package/dist/{key-AIK2WmqL.js → key-nbNXifMr.js} +2 -2
  36. package/dist/{keycache-DHnsRk0Y.js → keycache-DpBmIsYm.js} +1 -1
  37. package/dist/{keys-Cu_G6FPA.js → keys-jozgkzA_.js} +1 -1
  38. package/dist/{ld-CtIXhBh6.js → ld-Bc_JMHzZ.js} +2 -2
  39. package/dist/{lookup-CimDQw3M.d.ts → lookup-9rf-3A_i.d.ts} +4 -19
  40. package/dist/{lookup-DlIiNCAM.js → lookup-DpxXFxgP.js} +1 -1
  41. package/dist/{lookup-DBhAQ6QY.js → lookup-aiIxqPca.js} +3 -20
  42. package/dist/{middleware-0klbRaez.js → middleware--YergbUA.js} +10 -10
  43. package/dist/{middleware-CnIxIUi-.js → middleware-8D078v9S.js} +14 -14
  44. package/dist/middleware-CC7Dt7C9.js +17 -0
  45. package/dist/middleware-DeBTO9vF.js +26 -0
  46. package/dist/{mod-vNTMZFkP.d.ts → mod-B7Pc0I7F.d.ts} +3 -3
  47. package/dist/{mod-V4On8xpJ.d.ts → mod-BAuhKa9d.d.ts} +2 -2
  48. package/dist/{mod-DsFZsguN.d.ts → mod-Cy6pkZSn.d.ts} +2 -2
  49. package/dist/{mod-BdjjfJgD.d.ts → mod-QSm_u37X.d.ts} +2 -2
  50. package/dist/mod.d.ts +17 -17
  51. package/dist/mod.js +15 -16
  52. package/dist/nodeinfo/client.test.js +6 -6
  53. package/dist/nodeinfo/handler.test.js +18 -18
  54. package/dist/nodeinfo/mod.d.ts +4 -4
  55. package/dist/nodeinfo/mod.js +3 -4
  56. package/dist/nodeinfo/semver.test.js +4 -4
  57. package/dist/nodeinfo/types.test.js +5 -5
  58. package/dist/{owner-BB7x_v65.d.ts → owner-D38zBIMc.d.ts} +3 -3
  59. package/dist/{owner-DLlle-l2.js → owner-D9G54cA0.js} +2 -2
  60. package/dist/{proof-DrvUurr3.js → proof-ByNeF5u0.js} +3 -3
  61. package/dist/{proof-NP4r1NS8.js → proof-D-__AaiA.js} +2 -2
  62. package/dist/runtime/authdocloader.test.js +9 -9
  63. package/dist/runtime/docloader.test.js +4 -4
  64. package/dist/runtime/key.test.js +5 -5
  65. package/dist/runtime/langstr.test.js +3 -3
  66. package/dist/runtime/mod.d.ts +5 -5
  67. package/dist/runtime/mod.js +7 -7
  68. package/dist/runtime/multibase/multibase.test.js +3 -3
  69. package/dist/runtime/url.test.js +3 -3
  70. package/dist/{send-BtU_Xnfq.js → send-C7UN2arY.js} +2 -2
  71. package/dist/sig/http.test.js +8 -8
  72. package/dist/sig/key.test.js +6 -6
  73. package/dist/sig/ld.test.js +7 -7
  74. package/dist/sig/mod.d.ts +7 -7
  75. package/dist/sig/mod.js +7 -7
  76. package/dist/sig/owner.test.js +7 -7
  77. package/dist/sig/proof.test.js +7 -7
  78. package/dist/testing/docloader.test.js +3 -3
  79. package/dist/testing/mod.d.ts +2 -9
  80. package/dist/testing/mod.js +3 -3
  81. package/dist/{testing-DXNsKEUF.js → testing-5ZjvWetO.js} +2 -2
  82. package/dist/{type-tE5Z3ILc.js → type-DYvF-0mj.js} +186 -186
  83. package/dist/{types-DEOFv30y.js → types-BIgY6c-l.js} +1 -1
  84. package/dist/{types-CbFXXeEf.js → types-BgaosfAy.js} +2 -3
  85. package/dist/vocab/actor.test.js +5 -5
  86. package/dist/vocab/lookup.test.js +4 -4
  87. package/dist/vocab/mod.d.ts +5 -5
  88. package/dist/vocab/mod.js +4 -5
  89. package/dist/vocab/type.test.js +3 -3
  90. package/dist/vocab/vocab.test.js +4 -4
  91. package/dist/{vocab-Dq4PIigg.d.ts → vocab-BEEm2I6u.d.ts} +1 -1
  92. package/dist/{vocab-Dbl52dmj.js → vocab-Db27HLtB.js} +4 -5
  93. package/dist/webfinger/handler.test.js +18 -18
  94. package/dist/webfinger/lookup.test.js +4 -4
  95. package/dist/webfinger/mod.d.ts +5 -5
  96. package/dist/webfinger/mod.js +4 -5
  97. package/dist/x/cfworkers.d.ts +2 -2
  98. package/dist/x/cfworkers.test.js +3 -3
  99. package/dist/x/hono.d.ts +11 -11
  100. package/dist/x/sveltekit.d.ts +11 -11
  101. package/package.json +1 -1
  102. package/dist/jrd-CVjXud67.js +0 -22
  103. package/dist/middleware-Cpq4rdM2.js +0 -18
  104. package/dist/middleware-DI5CZSGv.js +0 -26
  105. /package/dist/{kv-Nozgty7f.d.ts → kv-C7sopW2E.d.ts} +0 -0
  106. /package/dist/{mod-8L0uotkD.d.ts → mod-GIh5OYxW.d.ts} +0 -0
  107. /package/dist/{mod-BzXXY2df.d.ts → mod-g0xFzAP9.d.ts} +0 -0
  108. /package/dist/{mq-C_kcxiLL.d.ts → mq-CRGm1e_F.d.ts} +0 -0
  109. /package/dist/{nodeinfo-C8cvu-8q.js → nodeinfo-CyEbLjHs.js} +0 -0
  110. /package/dist/{runtime-DK9xgBqW.js → runtime-BSkOVUWM.js} +0 -0
  111. /package/dist/{semver-DK6KJMYH.js → semver-dArNLkR9.js} +0 -0
  112. /package/dist/{sig-ccY9XpbB.js → sig-BXJO--F9.js} +0 -0
  113. /package/dist/{webfinger-i8KkKSng.js → webfinger-C3GIyXIg.js} +0 -0
@@ -3,7 +3,7 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { formatSemVer } from "./semver-DK6KJMYH.js";
6
+ import { formatSemVer } from "./semver-dArNLkR9.js";
7
7
 
8
8
  //#region src/nodeinfo/types.ts
9
9
  /**
@@ -2,8 +2,7 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { getUserAgent } from "./docloader-D__EFgsg.js";
6
- import { isLink } from "./jrd-CVjXud67.js";
5
+ import { getUserAgent } from "./docloader-Bs8tIfQl.js";
7
6
  import { getLogger } from "@logtape/logtape";
8
7
 
9
8
  //#region src/nodeinfo/semver.ts
@@ -173,7 +172,7 @@ async function getNodeInfo(url, options = {}) {
173
172
  return void 0;
174
173
  }
175
174
  const wellKnownRd = await wellKnownResponse.json();
176
- const link = wellKnownRd?.links?.find(isLink.withCondition((link$1) => link$1 != null && "rel" in link$1 && (link$1.rel === "http://nodeinfo.diaspora.software/ns/schema/2.0" || link$1.rel === "http://nodeinfo.diaspora.software/ns/schema/2.1") && "href" in link$1 && link$1.href != null));
175
+ const link = wellKnownRd?.links?.find((link$1) => link$1 != null && "rel" in link$1 && (link$1.rel === "http://nodeinfo.diaspora.software/ns/schema/2.0" || link$1.rel === "http://nodeinfo.diaspora.software/ns/schema/2.1") && "href" in link$1 && link$1.href != null);
177
176
  if (link == null || link.href == null) {
178
177
  logger.error("Failed to find a NodeInfo document link from {url}: {resourceDescriptor}", {
179
178
  url: wellKnownUrl.href,
@@ -3,19 +3,19 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Application, Group, Organization, Person, Service, __export } from "../type-tE5Z3ILc.js";
6
+ import { Application, Group, Organization, Person, Service, __export } from "../type-DYvF-0mj.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-DBhAQ6QY.js";
11
- import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-D5NEKs-H.js";
12
- import { test } from "../testing-DXNsKEUF.js";
10
+ import "../lookup-aiIxqPca.js";
11
+ import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-CHqaUXl1.js";
12
+ import { test } from "../testing-5ZjvWetO.js";
13
13
  import { assertStrictEquals } from "../std__assert-X-_kMxKM.js";
14
14
  import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
15
15
  import "../assert_is_error-BPGph1Jx.js";
16
16
  import "../assert_not_equals-f3m3epl3.js";
17
17
  import { assertThrows } from "../assert_throws-BOO88avQ.js";
18
- import { esm_default } from "../esm-MoRVnXvZ.js";
18
+ import { esm_default } from "../esm-BHj56Vi7.js";
19
19
 
20
20
  //#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
21
21
  var PreconditionFailure = class PreconditionFailure extends Error {
@@ -3,18 +3,18 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Collection, Note, Object as Object$1, Person } from "../type-tE5Z3ILc.js";
6
+ import { Collection, Note, Object as Object$1, Person } from "../type-DYvF-0mj.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
- import { lookupObject, traverseCollection } from "../lookup-DBhAQ6QY.js";
11
- import { mockDocumentLoader, test } from "../testing-DXNsKEUF.js";
10
+ import { lookupObject, traverseCollection } from "../lookup-aiIxqPca.js";
11
+ import { mockDocumentLoader, test } from "../testing-5ZjvWetO.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
15
15
  import "../assert_not_equals-f3m3epl3.js";
16
16
  import "../assert_throws-BOO88avQ.js";
17
- import { esm_default } from "../esm-MoRVnXvZ.js";
17
+ import { esm_default } from "../esm-BHj56Vi7.js";
18
18
 
19
19
  //#region src/vocab/lookup.test.ts
20
20
  test("lookupObject()", {
@@ -1,8 +1,8 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import "../kv-Nozgty7f.js";
4
- import "../docloader-ClLAKEYo.js";
5
- import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-Dq4PIigg.js";
6
- import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-B80VL7Zv.js";
7
- import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-DsFZsguN.js";
3
+ import "../kv-C7sopW2E.js";
4
+ import "../docloader-CxWcuWqQ.js";
5
+ import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View } from "../vocab-BEEm2I6u.js";
6
+ import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-Ch5yFYFG.js";
7
+ import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-Cy6pkZSn.js";
8
8
  export { Accept, Activity, Actor, ActorTypeName, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, FediverseHandle, Flag, Follow, GetActorHandleOptions, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, LookupObjectOptions, Mention, Move, Multikey, NormalizeActorHandleOptions, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Recipient, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, TraverseCollectionOptions, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
package/dist/vocab/mod.js CHANGED
@@ -2,10 +2,9 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../docloader-D__EFgsg.js";
6
- import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-CIsF-n5t.js";
7
- import "../lookup-DlIiNCAM.js";
8
- import "../jrd-CVjXud67.js";
9
- import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-Dbl52dmj.js";
5
+ import "../docloader-Bs8tIfQl.js";
6
+ import { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object as Object$1, Offer, OrderedCollection, OrderedCollectionPage, Organization, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, normalizeActorHandle } from "../actor-DkIdAr9J.js";
7
+ import "../lookup-DpxXFxgP.js";
8
+ import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-Db27HLtB.js";
10
9
 
11
10
  export { Accept, Activity, Add, Announce, Application, Arrive, Article, Audio, Block, ChatMessage, Collection, CollectionPage, Create, CryptographicKey, DataIntegrityProof, Delete, DidService, Dislike, Document, Emoji, EmojiReact, Endpoints, Event, Export, Flag, Follow, Group, Hashtag, Ignore, Image, IntransitiveActivity, Invite, Join, Leave, Like, Link, Listen, Mention, Move, Multikey, Note, Object$1 as Object, Offer, OrderedCollection, OrderedCollectionPage, Organization, PUBLIC_COLLECTION, Page, Person, Place, Profile, PropertyValue, Question, Read, Reject, Relationship, Remove, Service, Source, TentativeAccept, TentativeReject, Tombstone, Travel, Undo, Update, Video, View, getActorClassByTypeName, getActorHandle, getActorTypeName, getTypeId, isActor, isFediverseHandle, lookupObject, normalizeActorHandle, parseFediverseHandle, toAcctUrl, traverseCollection };
@@ -3,10 +3,10 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Person, getTypeId } from "../type-tE5Z3ILc.js";
6
+ import { Person, getTypeId } from "../type-DYvF-0mj.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
- import "../lookup-DBhAQ6QY.js";
9
- import { test } from "../testing-DXNsKEUF.js";
8
+ import "../lookup-aiIxqPca.js";
9
+ import { test } from "../testing-5ZjvWetO.js";
10
10
 
11
11
  //#region src/vocab/type.test.ts
12
12
  test("getTypeId()", () => {
@@ -3,18 +3,18 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, LanguageString, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, decode, vocab_exports } from "../type-tE5Z3ILc.js";
6
+ import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, LanguageString, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, decode, vocab_exports } from "../type-DYvF-0mj.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import { assert } from "../assert-MZs1qjMx.js";
9
9
  import { assertInstanceOf } from "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-DBhAQ6QY.js";
11
- import { mockDocumentLoader, test } from "../testing-DXNsKEUF.js";
10
+ import "../lookup-aiIxqPca.js";
11
+ import { mockDocumentLoader, test } from "../testing-5ZjvWetO.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
15
15
  import { assertNotEquals } from "../assert_not_equals-f3m3epl3.js";
16
16
  import { assertThrows } from "../assert_throws-BOO88avQ.js";
17
- import { ed25519PublicKey, rsaPublicKey1 } from "../keys-Cu_G6FPA.js";
17
+ import { ed25519PublicKey, rsaPublicKey1 } from "../keys-jozgkzA_.js";
18
18
  import { pascalCase } from "es-toolkit";
19
19
  import { parseLanguageTag } from "@phensley/language-tag";
20
20
  import { Validator } from "@cfworker/json-schema";
@@ -1,6 +1,6 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { DocumentLoader } from "./docloader-ClLAKEYo.js";
3
+ import { DocumentLoader } from "./docloader-CxWcuWqQ.js";
4
4
  import { Span, TracerProvider } from "@opentelemetry/api";
5
5
  import { LanguageTag } from "@phensley/language-tag";
6
6
 
@@ -2,10 +2,9 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import { deno_default, getDocumentLoader } from "./docloader-D__EFgsg.js";
6
- import { Object as Object$1, getTypeId } from "./actor-CIsF-n5t.js";
7
- import { lookupWebFinger } from "./lookup-DlIiNCAM.js";
8
- import { isOStatusSubscribeLink } from "./jrd-CVjXud67.js";
5
+ import { deno_default, getDocumentLoader } from "./docloader-Bs8tIfQl.js";
6
+ import { Object as Object$1, getTypeId } from "./actor-DkIdAr9J.js";
7
+ import { lookupWebFinger } from "./lookup-DpxXFxgP.js";
9
8
  import { getLogger } from "@logtape/logtape";
10
9
  import { SpanStatusCode, trace } from "@opentelemetry/api";
11
10
  import { delay } from "es-toolkit";
@@ -169,7 +168,7 @@ async function lookupObjectInternal(identifier, options = {}) {
169
168
  });
170
169
  if (jrd?.links == null) return null;
171
170
  for (const l of jrd.links) {
172
- if (isOStatusSubscribeLink(l) || l.type !== "application/activity+json" && !l.type?.match(/application\/ld\+json;\s*profile="https:\/\/www.w3.org\/ns\/activitystreams"/) || l.rel !== "self" || l.href == null) continue;
171
+ if (l.type !== "application/activity+json" && !l.type?.match(/application\/ld\+json;\s*profile="https:\/\/www.w3.org\/ns\/activitystreams"/) || l.rel !== "self" || l.href == null) continue;
173
172
  try {
174
173
  const remoteDoc = await documentLoader(l.href, { signal: options.signal });
175
174
  document = remoteDoc.document;
@@ -3,30 +3,30 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { Image, Link, Person } from "../type-tE5Z3ILc.js";
6
+ import { Image, Link, Person } from "../type-DYvF-0mj.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
10
  import { MemoryKvStore } from "../kv-CRZrzyXm.js";
11
- import { createFederation, handleWebFinger } from "../middleware-CnIxIUi-.js";
12
- import "../lookup-DBhAQ6QY.js";
13
- import "../semver-DK6KJMYH.js";
14
- import "../client-CIZTyPSt.js";
15
- import "../types-DEOFv30y.js";
16
- import "../actor-D5NEKs-H.js";
17
- import "../key-AIK2WmqL.js";
18
- import "../http-BG0qOzZu.js";
19
- import "../authdocloader-C80Qh6nT.js";
20
- import "../ld-CtIXhBh6.js";
21
- import "../owner-DLlle-l2.js";
22
- import "../proof-NP4r1NS8.js";
23
- import "../inbox-D-bc5rI-.js";
24
- import "../builder--4Abku0B.js";
11
+ import { createFederation, handleWebFinger } from "../middleware-8D078v9S.js";
12
+ import "../semver-dArNLkR9.js";
13
+ import "../client-nKH0m0vE.js";
14
+ import "../lookup-aiIxqPca.js";
15
+ import "../types-BIgY6c-l.js";
16
+ import "../actor-CHqaUXl1.js";
17
+ import "../key-nbNXifMr.js";
18
+ import "../http-zMANLZqM.js";
19
+ import "../authdocloader-CjGMaQfP.js";
20
+ import "../ld-Bc_JMHzZ.js";
21
+ import "../owner-D9G54cA0.js";
22
+ import "../proof-D-__AaiA.js";
23
+ import "../inbox-Dp-eEtMJ.js";
24
+ import "../builder-DHDVBVOV.js";
25
25
  import "../collection-CSzG2j1P.js";
26
- import "../keycache-DHnsRk0Y.js";
26
+ import "../keycache-DpBmIsYm.js";
27
27
  import "../retry-D4GJ670a.js";
28
- import "../send-BtU_Xnfq.js";
29
- import { createRequestContext, test } from "../testing-DXNsKEUF.js";
28
+ import "../send-C7UN2arY.js";
29
+ import { createRequestContext, test } from "../testing-5ZjvWetO.js";
30
30
  import "../std__assert-X-_kMxKM.js";
31
31
  import "../assert_rejects-DiIiJbZn.js";
32
32
  import "../assert_is_error-BPGph1Jx.js";
@@ -3,18 +3,18 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import { lookupWebFinger } from "../type-tE5Z3ILc.js";
6
+ import { lookupWebFinger } from "../type-DYvF-0mj.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-DBhAQ6QY.js";
11
- import { test } from "../testing-DXNsKEUF.js";
10
+ import "../lookup-aiIxqPca.js";
11
+ import { test } from "../testing-5ZjvWetO.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
15
15
  import "../assert_not_equals-f3m3epl3.js";
16
16
  import "../assert_throws-BOO88avQ.js";
17
- import { esm_default } from "../esm-MoRVnXvZ.js";
17
+ import { esm_default } from "../esm-BHj56Vi7.js";
18
18
  import { withTimeout } from "es-toolkit";
19
19
 
20
20
  //#region src/webfinger/lookup.test.ts
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import "../kv-Nozgty7f.js";
4
- import "../docloader-ClLAKEYo.js";
5
- import { Link, LookupWebFingerOptions, OStatusSubscribeLink, ResourceDescriptor, isLink, isOStatusSubscribeLink, lookupWebFinger } from "../lookup-CimDQw3M.js";
6
- import "../mod-BzXXY2df.js";
7
- export { Link, LookupWebFingerOptions, OStatusSubscribeLink, ResourceDescriptor, isLink, isOStatusSubscribeLink, lookupWebFinger };
3
+ import "../kv-C7sopW2E.js";
4
+ import "../docloader-CxWcuWqQ.js";
5
+ import { Link, LookupWebFingerOptions, ResourceDescriptor, lookupWebFinger } from "../lookup-9rf-3A_i.js";
6
+ import "../mod-GIh5OYxW.js";
7
+ export { Link, LookupWebFingerOptions, ResourceDescriptor, lookupWebFinger };
@@ -2,9 +2,8 @@
2
2
  import { Temporal } from "@js-temporal/polyfill";
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
 
5
- import "../docloader-D__EFgsg.js";
6
- import { lookupWebFinger } from "../lookup-DlIiNCAM.js";
7
- import { isLink, isOStatusSubscribeLink } from "../jrd-CVjXud67.js";
8
- import "../webfinger-i8KkKSng.js";
5
+ import "../docloader-Bs8tIfQl.js";
6
+ import { lookupWebFinger } from "../lookup-DpxXFxgP.js";
7
+ import "../webfinger-C3GIyXIg.js";
9
8
 
10
- export { isLink, isOStatusSubscribeLink, lookupWebFinger };
9
+ export { lookupWebFinger };
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import { KvKey, KvStore, KvStoreSetOptions } from "../kv-Nozgty7f.js";
4
- import { MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions } from "../mq-C_kcxiLL.js";
3
+ import { KvKey, KvStore, KvStoreSetOptions } from "../kv-C7sopW2E.js";
4
+ import { MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions } from "../mq-CRGm1e_F.js";
5
5
  import { KVNamespace, Queue } from "@cloudflare/workers-types/experimental";
6
6
 
7
7
  //#region src/x/cfworkers.d.ts
@@ -3,12 +3,12 @@
3
3
  import { URLPattern } from "urlpattern-polyfill";
4
4
  globalThis.addEventListener = () => {};
5
5
 
6
- import "../type-tE5Z3ILc.js";
6
+ import "../type-DYvF-0mj.js";
7
7
  import { assertEquals } from "../assert_equals-DSbWqCm3.js";
8
8
  import "../assert-MZs1qjMx.js";
9
9
  import "../assert_instance_of-DHz7EHNU.js";
10
- import "../lookup-DBhAQ6QY.js";
11
- import { test } from "../testing-DXNsKEUF.js";
10
+ import "../lookup-aiIxqPca.js";
11
+ import { test } from "../testing-5ZjvWetO.js";
12
12
  import "../std__assert-X-_kMxKM.js";
13
13
  import "../assert_rejects-DiIiJbZn.js";
14
14
  import "../assert_is_error-BPGph1Jx.js";
package/dist/x/hono.d.ts CHANGED
@@ -1,16 +1,16 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import "../kv-Nozgty7f.js";
4
- import "../docloader-ClLAKEYo.js";
5
- import "../client-BLIpt8C0.js";
6
- import "../vocab-Dq4PIigg.js";
7
- import "../actor-B80VL7Zv.js";
8
- import "../http-C68HIQho.js";
9
- import "../owner-BB7x_v65.js";
10
- import "../mod-DsFZsguN.js";
11
- import "../lookup-CimDQw3M.js";
12
- import { Federation } from "../context-B8KXDXjQ.js";
13
- import "../mq-C_kcxiLL.js";
3
+ import "../kv-C7sopW2E.js";
4
+ import "../docloader-CxWcuWqQ.js";
5
+ import "../client-DF8anIB5.js";
6
+ import "../vocab-BEEm2I6u.js";
7
+ import "../actor-Ch5yFYFG.js";
8
+ import "../http-D8Q4xH0d.js";
9
+ import "../owner-D38zBIMc.js";
10
+ import "../mod-Cy6pkZSn.js";
11
+ import "../lookup-9rf-3A_i.js";
12
+ import { Federation } from "../context-DNwURm52.js";
13
+ import "../mq-CRGm1e_F.js";
14
14
 
15
15
  //#region src/x/hono.d.ts
16
16
  interface HonoRequest {
@@ -1,16 +1,16 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { URLPattern } from "urlpattern-polyfill";
3
- import "../kv-Nozgty7f.js";
4
- import "../docloader-ClLAKEYo.js";
5
- import "../client-BLIpt8C0.js";
6
- import "../vocab-Dq4PIigg.js";
7
- import "../actor-B80VL7Zv.js";
8
- import "../http-C68HIQho.js";
9
- import "../owner-BB7x_v65.js";
10
- import "../mod-DsFZsguN.js";
11
- import "../lookup-CimDQw3M.js";
12
- import { Federation } from "../context-B8KXDXjQ.js";
13
- import "../mq-C_kcxiLL.js";
3
+ import "../kv-C7sopW2E.js";
4
+ import "../docloader-CxWcuWqQ.js";
5
+ import "../client-DF8anIB5.js";
6
+ import "../vocab-BEEm2I6u.js";
7
+ import "../actor-Ch5yFYFG.js";
8
+ import "../http-D8Q4xH0d.js";
9
+ import "../owner-D38zBIMc.js";
10
+ import "../mod-Cy6pkZSn.js";
11
+ import "../lookup-9rf-3A_i.js";
12
+ import { Federation } from "../context-DNwURm52.js";
13
+ import "../mq-CRGm1e_F.js";
14
14
 
15
15
  //#region src/x/sveltekit.d.ts
16
16
  type RequestEvent = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/fedify",
3
- "version": "1.9.0-pr.403.1507+d4aadc25",
3
+ "version": "1.9.0-pr.404.1510+bb0f803b",
4
4
  "description": "An ActivityPub server framework",
5
5
  "keywords": [
6
6
  "ActivityPub",
@@ -1,22 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- //#region src/webfinger/jrd.ts
6
- function isOStatusSubscribeLink(link) {
7
- if ("template" in link && link.rel === "http://ostatus.org/schema/1.0/subscribe" && typeof link.template === "string") return true;
8
- return false;
9
- }
10
- isOStatusSubscribeLink.withCondition = (condition) => (link) => {
11
- return isOStatusSubscribeLink(link) && condition(link);
12
- };
13
- function isLink(link) {
14
- if ("rel" in link && typeof link.rel === "string") return true;
15
- return false;
16
- }
17
- isLink.withCondition = (condition) => (link) => {
18
- return isLink(link) && condition(link);
19
- };
20
-
21
- //#endregion
22
- export { isLink, isOStatusSubscribeLink };
@@ -1,18 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
-
5
- import "./transformers-Dna8Fg7k.js";
6
- import "./docloader-D__EFgsg.js";
7
- import "./actor-CIsF-n5t.js";
8
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-0klbRaez.js";
9
- import "./lookup-DlIiNCAM.js";
10
- import "./key-DIlYv882.js";
11
- import "./http-DDfAIynd.js";
12
- import "./proof-DrvUurr3.js";
13
- import "./jrd-CVjXud67.js";
14
- import "./types-CbFXXeEf.js";
15
- import "./authdocloader-kT3YjLfm.js";
16
- import "./vocab-Dbl52dmj.js";
17
-
18
- export { FederationImpl };
@@ -1,26 +0,0 @@
1
-
2
- import { Temporal } from "@js-temporal/polyfill";
3
- import { URLPattern } from "urlpattern-polyfill";
4
- globalThis.addEventListener = () => {};
5
-
6
- import "./type-tE5Z3ILc.js";
7
- import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-CnIxIUi-.js";
8
- import "./lookup-DBhAQ6QY.js";
9
- import "./semver-DK6KJMYH.js";
10
- import "./client-CIZTyPSt.js";
11
- import "./types-DEOFv30y.js";
12
- import "./actor-D5NEKs-H.js";
13
- import "./key-AIK2WmqL.js";
14
- import "./http-BG0qOzZu.js";
15
- import "./authdocloader-C80Qh6nT.js";
16
- import "./ld-CtIXhBh6.js";
17
- import "./owner-DLlle-l2.js";
18
- import "./proof-NP4r1NS8.js";
19
- import "./inbox-D-bc5rI-.js";
20
- import "./builder--4Abku0B.js";
21
- import "./collection-CSzG2j1P.js";
22
- import "./keycache-DHnsRk0Y.js";
23
- import "./retry-D4GJ670a.js";
24
- import "./send-BtU_Xnfq.js";
25
-
26
- export { FederationImpl };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes