@fedify/fedify 1.9.0-pr.403.1509 → 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.
- package/dist/{actor-DgoPxQXU.js → actor-CHqaUXl1.js} +1 -1
- package/dist/{actor-B80VL7Zv.d.ts → actor-Ch5yFYFG.d.ts} +2 -2
- package/dist/{actor-Bgb3KgV5.js → actor-DkIdAr9J.js} +187 -187
- package/dist/{authdocloader-D_rK6cfj.js → authdocloader-Bq3eEtNg.js} +3 -3
- package/dist/{authdocloader-BA9j_EyT.js → authdocloader-CjGMaQfP.js} +3 -3
- package/dist/{builder-CNszHMI_.js → builder-DHDVBVOV.js} +4 -4
- package/dist/{client-BLIpt8C0.d.ts → client-DF8anIB5.d.ts} +1 -1
- package/dist/{client-BQ0T9vat.js → client-nKH0m0vE.js} +3 -4
- package/dist/compat/mod.d.ts +12 -12
- package/dist/compat/transformers.test.js +18 -18
- package/dist/{context-B8KXDXjQ.d.ts → context-DNwURm52.d.ts} +10 -10
- package/dist/{docloader-DXM5HRP-.js → docloader-Bs8tIfQl.js} +1 -1
- package/dist/{docloader-ClLAKEYo.d.ts → docloader-CxWcuWqQ.d.ts} +1 -1
- package/dist/{esm-yo4_147T.js → esm-BHj56Vi7.js} +1 -1
- package/dist/federation/builder.test.js +6 -6
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +19 -19
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +20 -20
- package/dist/federation/mod.d.ts +12 -12
- package/dist/federation/mod.js +10 -11
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-C68HIQho.d.ts → http-D8Q4xH0d.d.ts} +2 -2
- package/dist/{http-BCVUWUDs.js → http-DWzB6Eiv.js} +3 -3
- package/dist/{http-D8mLNVOy.js → http-zMANLZqM.js} +2 -2
- package/dist/{inbox-DVuZNWez.js → inbox-Dp-eEtMJ.js} +1 -1
- package/dist/{key-soVbLS-2.js → key-8JDozsni.js} +3 -3
- package/dist/{key-CAUloaaE.js → key-BbWECGU6.js} +2 -2
- package/dist/{key-BXLBu63p.js → key-UNMrztet.js} +4 -4
- package/dist/{key-Dk0yqrIc.js → key-nbNXifMr.js} +2 -2
- package/dist/{keycache-BrhxycbM.js → keycache-DpBmIsYm.js} +1 -1
- package/dist/{keys-DiAkEBSd.js → keys-jozgkzA_.js} +1 -1
- package/dist/{ld-CI864INT.js → ld-Bc_JMHzZ.js} +2 -2
- package/dist/{lookup-CimDQw3M.d.ts → lookup-9rf-3A_i.d.ts} +4 -19
- package/dist/{lookup--UpFWlLT.js → lookup-DpxXFxgP.js} +1 -1
- package/dist/{lookup--Jqlvj8d.js → lookup-aiIxqPca.js} +3 -20
- package/dist/{middleware-DXnprXXJ.js → middleware--YergbUA.js} +10 -10
- package/dist/{middleware-BN9N2bU-.js → middleware-8D078v9S.js} +14 -14
- package/dist/middleware-CC7Dt7C9.js +17 -0
- package/dist/middleware-DeBTO9vF.js +26 -0
- package/dist/{mod-vNTMZFkP.d.ts → mod-B7Pc0I7F.d.ts} +3 -3
- package/dist/{mod-V4On8xpJ.d.ts → mod-BAuhKa9d.d.ts} +2 -2
- package/dist/{mod-DsFZsguN.d.ts → mod-Cy6pkZSn.d.ts} +2 -2
- package/dist/{mod-BdjjfJgD.d.ts → mod-QSm_u37X.d.ts} +2 -2
- package/dist/mod.d.ts +17 -17
- package/dist/mod.js +15 -16
- package/dist/nodeinfo/client.test.js +6 -6
- package/dist/nodeinfo/handler.test.js +18 -18
- package/dist/nodeinfo/mod.d.ts +4 -4
- package/dist/nodeinfo/mod.js +3 -4
- package/dist/nodeinfo/semver.test.js +4 -4
- package/dist/nodeinfo/types.test.js +5 -5
- package/dist/{owner-BB7x_v65.d.ts → owner-D38zBIMc.d.ts} +3 -3
- package/dist/{owner-C5rXKMu7.js → owner-D9G54cA0.js} +2 -2
- package/dist/{proof-00Dl19BE.js → proof-ByNeF5u0.js} +3 -3
- package/dist/{proof-qJg8pOGk.js → proof-D-__AaiA.js} +2 -2
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.d.ts +5 -5
- package/dist/runtime/mod.js +7 -7
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-BwMCnEhV.js → send-C7UN2arY.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.d.ts +7 -7
- package/dist/sig/mod.js +7 -7
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.d.ts +2 -9
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-3Ecwfcid.js → testing-5ZjvWetO.js} +2 -2
- package/dist/{type-C-3aZ_db.js → type-DYvF-0mj.js} +186 -186
- package/dist/{types-DEOFv30y.js → types-BIgY6c-l.js} +1 -1
- package/dist/{types-DxEtnRFU.js → types-BgaosfAy.js} +2 -3
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.d.ts +5 -5
- package/dist/vocab/mod.js +4 -5
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-Dq4PIigg.d.ts → vocab-BEEm2I6u.d.ts} +1 -1
- package/dist/{vocab-CgdwI_91.js → vocab-Db27HLtB.js} +4 -5
- package/dist/webfinger/handler.test.js +18 -18
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.d.ts +5 -5
- package/dist/webfinger/mod.js +4 -5
- package/dist/x/cfworkers.d.ts +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +11 -11
- package/dist/x/sveltekit.d.ts +11 -11
- package/package.json +1 -1
- package/dist/jrd-CVjXud67.js +0 -22
- package/dist/middleware-BTQBC7x2.js +0 -18
- package/dist/middleware-DejTUwzB.js +0 -26
- /package/dist/{kv-Nozgty7f.d.ts → kv-C7sopW2E.d.ts} +0 -0
- /package/dist/{mod-8L0uotkD.d.ts → mod-GIh5OYxW.d.ts} +0 -0
- /package/dist/{mod-BzXXY2df.d.ts → mod-g0xFzAP9.d.ts} +0 -0
- /package/dist/{mq-C_kcxiLL.d.ts → mq-CRGm1e_F.d.ts} +0 -0
- /package/dist/{nodeinfo-C8cvu-8q.js → nodeinfo-CyEbLjHs.js} +0 -0
- /package/dist/{runtime-DK9xgBqW.js → runtime-BSkOVUWM.js} +0 -0
- /package/dist/{semver-DK6KJMYH.js → semver-dArNLkR9.js} +0 -0
- /package/dist/{sig-ccY9XpbB.js → sig-BXJO--F9.js} +0 -0
- /package/dist/{webfinger-i8KkKSng.js → webfinger-C3GIyXIg.js} +0 -0
@@ -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-
|
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(
|
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,
|
package/dist/vocab/actor.test.js
CHANGED
@@ -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-
|
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
|
11
|
-
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
12
|
-
import { test } from "../testing-
|
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-
|
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-
|
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
|
11
|
-
import { mockDocumentLoader, test } from "../testing-
|
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-
|
17
|
+
import { esm_default } from "../esm-BHj56Vi7.js";
|
18
18
|
|
19
19
|
//#region src/vocab/lookup.test.ts
|
20
20
|
test("lookupObject()", {
|
package/dist/vocab/mod.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import "../docloader-
|
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-
|
6
|
-
import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
7
|
-
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-
|
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-
|
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-
|
7
|
-
import "../lookup
|
8
|
-
import "../
|
9
|
-
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-CgdwI_91.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 };
|
package/dist/vocab/type.test.js
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Person, getTypeId } from "../type-
|
6
|
+
import { Person, getTypeId } from "../type-DYvF-0mj.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import "../lookup
|
9
|
-
import { test } from "../testing-
|
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()", () => {
|
package/dist/vocab/vocab.test.js
CHANGED
@@ -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-
|
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
|
11
|
-
import { mockDocumentLoader, test } from "../testing-
|
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-
|
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-
|
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-
|
6
|
-
import { Object as Object$1, getTypeId } from "./actor-
|
7
|
-
import { lookupWebFinger } from "./lookup
|
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 (
|
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-
|
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-
|
12
|
-
import "../
|
13
|
-
import "../
|
14
|
-
import "../
|
15
|
-
import "../types-
|
16
|
-
import "../actor-
|
17
|
-
import "../key-
|
18
|
-
import "../http-
|
19
|
-
import "../authdocloader-
|
20
|
-
import "../ld-
|
21
|
-
import "../owner-
|
22
|
-
import "../proof-
|
23
|
-
import "../inbox-
|
24
|
-
import "../builder-
|
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-
|
26
|
+
import "../keycache-DpBmIsYm.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing-
|
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-
|
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
|
11
|
-
import { test } from "../testing-
|
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-
|
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
|
package/dist/webfinger/mod.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Temporal } from "@js-temporal/polyfill";
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
|
-
import "../kv-
|
4
|
-
import "../docloader-
|
5
|
-
import { Link, LookupWebFingerOptions,
|
6
|
-
import "../mod-
|
7
|
-
export { Link, LookupWebFingerOptions,
|
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 };
|
package/dist/webfinger/mod.js
CHANGED
@@ -2,9 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import { lookupWebFinger } from "../lookup
|
7
|
-
import
|
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 {
|
9
|
+
export { lookupWebFinger };
|
package/dist/x/cfworkers.d.ts
CHANGED
@@ -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-
|
4
|
-
import { MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions } from "../mq-
|
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
|
package/dist/x/cfworkers.test.js
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
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
|
11
|
-
import { test } from "../testing-
|
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-
|
4
|
-
import "../docloader-
|
5
|
-
import "../client-
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
11
|
-
import "../lookup-
|
12
|
-
import { Federation } from "../context-
|
13
|
-
import "../mq-
|
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 {
|
package/dist/x/sveltekit.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-
|
4
|
-
import "../docloader-
|
5
|
-
import "../client-
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
11
|
-
import "../lookup-
|
12
|
-
import { Federation } from "../context-
|
13
|
-
import "../mq-
|
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
package/dist/jrd-CVjXud67.js
DELETED
@@ -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-DXM5HRP-.js";
|
7
|
-
import "./actor-Bgb3KgV5.js";
|
8
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-DXnprXXJ.js";
|
9
|
-
import "./lookup--UpFWlLT.js";
|
10
|
-
import "./key-CAUloaaE.js";
|
11
|
-
import "./http-BCVUWUDs.js";
|
12
|
-
import "./proof-00Dl19BE.js";
|
13
|
-
import "./jrd-CVjXud67.js";
|
14
|
-
import "./types-DxEtnRFU.js";
|
15
|
-
import "./authdocloader-D_rK6cfj.js";
|
16
|
-
import "./vocab-CgdwI_91.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-C-3aZ_db.js";
|
7
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-BN9N2bU-.js";
|
8
|
-
import "./lookup--Jqlvj8d.js";
|
9
|
-
import "./semver-DK6KJMYH.js";
|
10
|
-
import "./client-BQ0T9vat.js";
|
11
|
-
import "./types-DEOFv30y.js";
|
12
|
-
import "./actor-DgoPxQXU.js";
|
13
|
-
import "./key-Dk0yqrIc.js";
|
14
|
-
import "./http-D8mLNVOy.js";
|
15
|
-
import "./authdocloader-BA9j_EyT.js";
|
16
|
-
import "./ld-CI864INT.js";
|
17
|
-
import "./owner-C5rXKMu7.js";
|
18
|
-
import "./proof-qJg8pOGk.js";
|
19
|
-
import "./inbox-DVuZNWez.js";
|
20
|
-
import "./builder-CNszHMI_.js";
|
21
|
-
import "./collection-CSzG2j1P.js";
|
22
|
-
import "./keycache-BrhxycbM.js";
|
23
|
-
import "./retry-D4GJ670a.js";
|
24
|
-
import "./send-BwMCnEhV.js";
|
25
|
-
|
26
|
-
export { FederationImpl };
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|