@fedify/fedify 1.9.0-pr.378.1394 → 1.9.0-pr.381.1398
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-Uh1YDuVl.d.ts → actor-Ch5yFYFG.d.ts} +1 -1
- package/dist/{actor-B7EOS7sj.js → actor-CvjaNhYs.js} +1 -1
- package/dist/{actor-DVhqV33k.js → actor-DRDJEBUm.js} +1299 -179
- package/dist/{authdocloader-C4Z-T6r4.js → authdocloader-1KhcjRRl.js} +3 -3
- package/dist/{authdocloader-C3NOxWC4.js → authdocloader-C0Im6QL6.js} +3 -3
- package/dist/{builder-DWbYd7Uz.js → builder-rkyhg-s7.js} +4 -4
- package/dist/{client-MeYeu6QM.js → client-B9jM_drO.js} +1 -1
- package/dist/compat/mod.d.ts +7 -7
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-CnveeHUR.d.ts → context-DJQB_Zv4.d.ts} +5 -5
- package/dist/{docloader-lRn6Iz9h.js → docloader-BQtOKgp6.js} +35 -1
- package/dist/{esm-Cbcf_ekH.js → esm-g239S2Ho.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- 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 +18 -18
- package/dist/federation/mod.d.ts +6 -6
- package/dist/federation/mod.js +10 -10
- 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-jsbQZmEx.js → http-BHElg0Zi.js} +2 -2
- package/dist/{http-Xaq8uKR0.js → http-BOuae4s3.js} +3 -3
- package/dist/{http-DtG44GdM.d.ts → http-D8Q4xH0d.d.ts} +1 -1
- package/dist/{inbox-Bvgh0p3t.js → inbox-D5dxkCHy.js} +1 -1
- package/dist/{key-7GjX3d6i.js → key-CaDE-DZJ.js} +4 -4
- package/dist/{key-B_hS87hg.js → key-GTNy56PR.js} +3 -3
- package/dist/{key-CGiIDuCb.js → key-K4Y2MI7Z.js} +2 -2
- package/dist/{key-BA-VESrE.js → key-s4qnG2im.js} +2 -2
- package/dist/{keycache-CaGRPD2D.js → keycache-BGB_9pQd.js} +1 -1
- package/dist/{keys-n8TnpEvl.js → keys-BUyXSB_1.js} +1 -1
- package/dist/{ld-536I1uoS.js → ld-Dabq6u87.js} +2 -2
- package/dist/{lookup-CpQFwuYT.js → lookup-BKAM4uhR.js} +1 -1
- package/dist/{lookup-B51nxTWE.js → lookup-DXOeAoau.js} +1 -1
- package/dist/{middleware-AR3RfTfO.js → middleware-BYNtLu8k.js} +13 -13
- package/dist/middleware-Bf_V-JrI.js +26 -0
- package/dist/middleware-Bgydml_r.js +17 -0
- package/dist/{middleware-D550um_p.js → middleware-DcV1Nix0.js} +10 -10
- package/dist/{mod-tQVUxQ_D.d.ts → mod-B7Pc0I7F.d.ts} +2 -2
- package/dist/{mod-mSMqo9JU.d.ts → mod-BAuhKa9d.d.ts} +1 -1
- package/dist/{mod-cz-tNIqP.d.ts → mod-Cy6pkZSn.d.ts} +1 -1
- package/dist/{mod-DPpunL8j.d.ts → mod-eBo9RUEr.d.ts} +2 -2
- package/dist/mod.d.ts +9 -9
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-C12klfeG.d.ts → owner-D38zBIMc.d.ts} +2 -2
- package/dist/{owner-Dp73PxeY.js → owner-DgH6uc6t.js} +2 -2
- package/dist/{proof-DKtgyz5B.js → proof-B7pkRLUq.js} +3 -3
- package/dist/{proof-DWJpYhi0.js → proof-BQUVJRUu.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 +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-DucL-V0N.js → send-Be2DM7RK.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 +5 -5
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/src/vocab/collection.yaml +72 -0
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.d.ts +176 -0
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-CjUbycJE.js → testing-oVc8Ak7R.js} +2 -2
- package/dist/{type-CQXrP5Lt.js → type-kbhcBjln.js} +1408 -254
- package/dist/{types-CCNn1tuL.js → types-PmGJGovd.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.d.ts +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +14 -4
- package/dist/{vocab-Ukxjz3TM.d.ts → vocab-BEEm2I6u.d.ts} +176 -0
- package/dist/{vocab-Dqyc86T5.js → vocab-NEiwL26k.js} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +6 -6
- package/dist/x/sveltekit.d.ts +6 -6
- package/package.json +1 -1
- package/dist/middleware-DLmV3Z7C.js +0 -26
- package/dist/middleware-JbhBHf-6.js +0 -17
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { getUserAgent } from "./docloader-
|
5
|
+
import { getUserAgent } from "./docloader-BQtOKgp6.js";
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
7
7
|
|
8
8
|
//#region src/nodeinfo/semver.ts
|
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-kbhcBjln.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-BKAM4uhR.js";
|
11
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-CvjaNhYs.js";
|
12
|
+
import { test } from "../testing-oVc8Ak7R.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-g239S2Ho.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-kbhcBjln.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-BKAM4uhR.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-oVc8Ak7R.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-g239S2Ho.js";
|
18
18
|
|
19
19
|
//#region src/vocab/lookup.test.ts
|
20
20
|
test("lookupObject()", {
|
package/dist/vocab/mod.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
3
|
import "../kv-C7sopW2E.js";
|
4
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-
|
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-
|
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,9 +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 { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-
|
5
|
+
import "../docloader-BQtOKgp6.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-DRDJEBUm.js";
|
7
|
+
import "../lookup-DXOeAoau.js";
|
8
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-NEiwL26k.js";
|
9
9
|
|
10
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-kbhcBjln.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import "../lookup-
|
9
|
-
import { test } from "../testing-
|
8
|
+
import "../lookup-BKAM4uhR.js";
|
9
|
+
import { test } from "../testing-oVc8Ak7R.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, 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-kbhcBjln.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-BKAM4uhR.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-oVc8Ak7R.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-BUyXSB_1.js";
|
18
18
|
import { pascalCase } from "es-toolkit";
|
19
19
|
import { parseLanguageTag } from "@phensley/language-tag";
|
20
20
|
import { Validator } from "@cfworker/json-schema";
|
@@ -2888,6 +2888,16 @@ test("Person.toJsonLd()", async () => {
|
|
2888
2888
|
type: "Person"
|
2889
2889
|
});
|
2890
2890
|
});
|
2891
|
+
test("Collection.fromJsonLd()", async () => {
|
2892
|
+
const collection = await Collection.fromJsonLd({
|
2893
|
+
"@context": ["https://www.w3.org/ns/activitystreams", "https://w3id.org/fep/5711"],
|
2894
|
+
"type": "Collection",
|
2895
|
+
"id": "https://example.com/collection/jzc50wc28l",
|
2896
|
+
"inboxOf": "https://example.com/person/bup9a8eqm"
|
2897
|
+
});
|
2898
|
+
assertEquals(collection.id, new URL("https://example.com/collection/jzc50wc28l"));
|
2899
|
+
assertEquals(collection.inboxOfId, new URL("https://example.com/person/bup9a8eqm"));
|
2900
|
+
});
|
2891
2901
|
test("Note.quoteUrl", async () => {
|
2892
2902
|
const note = new Note({ quoteUrl: new URL("https://example.com/object") });
|
2893
2903
|
const expected = {
|
@@ -4831,6 +4831,14 @@ declare class Collection extends Object$1 {
|
|
4831
4831
|
first?: CollectionPage | URL | null;
|
4832
4832
|
last?: CollectionPage | URL | null;
|
4833
4833
|
items?: (Object$1 | Link | URL)[];
|
4834
|
+
likesOf?: Object$1 | URL | null;
|
4835
|
+
sharesOf?: Object$1 | URL | null;
|
4836
|
+
repliesOf?: Object$1 | URL | null;
|
4837
|
+
inboxOf?: Object$1 | URL | null;
|
4838
|
+
outboxOf?: Object$1 | URL | null;
|
4839
|
+
followersOf?: Object$1 | URL | null;
|
4840
|
+
followingOf?: Object$1 | URL | null;
|
4841
|
+
likedOf?: Object$1 | URL | null;
|
4834
4842
|
}, options?: {
|
4835
4843
|
documentLoader?: DocumentLoader;
|
4836
4844
|
contextLoader?: DocumentLoader;
|
@@ -4897,6 +4905,14 @@ declare class Collection extends Object$1 {
|
|
4897
4905
|
first?: CollectionPage | URL | null;
|
4898
4906
|
last?: CollectionPage | URL | null;
|
4899
4907
|
items?: (Object$1 | Link | URL)[];
|
4908
|
+
likesOf?: Object$1 | URL | null;
|
4909
|
+
sharesOf?: Object$1 | URL | null;
|
4910
|
+
repliesOf?: Object$1 | URL | null;
|
4911
|
+
inboxOf?: Object$1 | URL | null;
|
4912
|
+
outboxOf?: Object$1 | URL | null;
|
4913
|
+
followersOf?: Object$1 | URL | null;
|
4914
|
+
followingOf?: Object$1 | URL | null;
|
4915
|
+
likedOf?: Object$1 | URL | null;
|
4900
4916
|
}, options?: {
|
4901
4917
|
documentLoader?: DocumentLoader;
|
4902
4918
|
contextLoader?: DocumentLoader;
|
@@ -4966,6 +4982,118 @@ declare class Collection extends Object$1 {
|
|
4966
4982
|
suppressError?: boolean;
|
4967
4983
|
tracerProvider?: TracerProvider;
|
4968
4984
|
}): AsyncIterable<Object$1 | Link>;
|
4985
|
+
/**
|
4986
|
+
* Similar to
|
4987
|
+
* {@link Collection.getLikesOf},
|
4988
|
+
* but returns its `@id` URL instead of the object itself.
|
4989
|
+
*/
|
4990
|
+
get likesOfId(): URL | null;
|
4991
|
+
/** Defines an object for which the collection is the value of the likes property.
|
4992
|
+
*/
|
4993
|
+
getLikesOf(options?: {
|
4994
|
+
documentLoader?: DocumentLoader;
|
4995
|
+
contextLoader?: DocumentLoader;
|
4996
|
+
suppressError?: boolean;
|
4997
|
+
tracerProvider?: TracerProvider;
|
4998
|
+
}): Promise<Object$1 | null>;
|
4999
|
+
/**
|
5000
|
+
* Similar to
|
5001
|
+
* {@link Collection.getSharesOf},
|
5002
|
+
* but returns its `@id` URL instead of the object itself.
|
5003
|
+
*/
|
5004
|
+
get sharesOfId(): URL | null;
|
5005
|
+
/** Defines an object for which the collection is the value of the shares property.
|
5006
|
+
*/
|
5007
|
+
getSharesOf(options?: {
|
5008
|
+
documentLoader?: DocumentLoader;
|
5009
|
+
contextLoader?: DocumentLoader;
|
5010
|
+
suppressError?: boolean;
|
5011
|
+
tracerProvider?: TracerProvider;
|
5012
|
+
}): Promise<Object$1 | null>;
|
5013
|
+
/**
|
5014
|
+
* Similar to
|
5015
|
+
* {@link Collection.getRepliesOf},
|
5016
|
+
* but returns its `@id` URL instead of the object itself.
|
5017
|
+
*/
|
5018
|
+
get repliesOfId(): URL | null;
|
5019
|
+
/** Defines an object for which the collection is the value of the replies property.
|
5020
|
+
*/
|
5021
|
+
getRepliesOf(options?: {
|
5022
|
+
documentLoader?: DocumentLoader;
|
5023
|
+
contextLoader?: DocumentLoader;
|
5024
|
+
suppressError?: boolean;
|
5025
|
+
tracerProvider?: TracerProvider;
|
5026
|
+
}): Promise<Object$1 | null>;
|
5027
|
+
/**
|
5028
|
+
* Similar to
|
5029
|
+
* {@link Collection.getInboxOf},
|
5030
|
+
* but returns its `@id` URL instead of the object itself.
|
5031
|
+
*/
|
5032
|
+
get inboxOfId(): URL | null;
|
5033
|
+
/** Defines an actor for which the collection is the value of the inbox property.
|
5034
|
+
*/
|
5035
|
+
getInboxOf(options?: {
|
5036
|
+
documentLoader?: DocumentLoader;
|
5037
|
+
contextLoader?: DocumentLoader;
|
5038
|
+
suppressError?: boolean;
|
5039
|
+
tracerProvider?: TracerProvider;
|
5040
|
+
}): Promise<Object$1 | null>;
|
5041
|
+
/**
|
5042
|
+
* Similar to
|
5043
|
+
* {@link Collection.getOutboxOf},
|
5044
|
+
* but returns its `@id` URL instead of the object itself.
|
5045
|
+
*/
|
5046
|
+
get outboxOfId(): URL | null;
|
5047
|
+
/** Defines an actor for which the collection is the value of the outbox property.
|
5048
|
+
*/
|
5049
|
+
getOutboxOf(options?: {
|
5050
|
+
documentLoader?: DocumentLoader;
|
5051
|
+
contextLoader?: DocumentLoader;
|
5052
|
+
suppressError?: boolean;
|
5053
|
+
tracerProvider?: TracerProvider;
|
5054
|
+
}): Promise<Object$1 | null>;
|
5055
|
+
/**
|
5056
|
+
* Similar to
|
5057
|
+
* {@link Collection.getFollowersOf},
|
5058
|
+
* but returns its `@id` URL instead of the object itself.
|
5059
|
+
*/
|
5060
|
+
get followersOfId(): URL | null;
|
5061
|
+
/** Defines an actor for which the collection is the value of the followers property.
|
5062
|
+
*/
|
5063
|
+
getFollowersOf(options?: {
|
5064
|
+
documentLoader?: DocumentLoader;
|
5065
|
+
contextLoader?: DocumentLoader;
|
5066
|
+
suppressError?: boolean;
|
5067
|
+
tracerProvider?: TracerProvider;
|
5068
|
+
}): Promise<Object$1 | null>;
|
5069
|
+
/**
|
5070
|
+
* Similar to
|
5071
|
+
* {@link Collection.getFollowingOf},
|
5072
|
+
* but returns its `@id` URL instead of the object itself.
|
5073
|
+
*/
|
5074
|
+
get followingOfId(): URL | null;
|
5075
|
+
/** Defines an actor for which the collection is the value of the following property.
|
5076
|
+
*/
|
5077
|
+
getFollowingOf(options?: {
|
5078
|
+
documentLoader?: DocumentLoader;
|
5079
|
+
contextLoader?: DocumentLoader;
|
5080
|
+
suppressError?: boolean;
|
5081
|
+
tracerProvider?: TracerProvider;
|
5082
|
+
}): Promise<Object$1 | null>;
|
5083
|
+
/**
|
5084
|
+
* Similar to
|
5085
|
+
* {@link Collection.getLikedOf},
|
5086
|
+
* but returns its `@id` URL instead of the object itself.
|
5087
|
+
*/
|
5088
|
+
get likedOfId(): URL | null;
|
5089
|
+
/** Defines an actor for which the collection is the value of the liked property.
|
5090
|
+
*/
|
5091
|
+
getLikedOf(options?: {
|
5092
|
+
documentLoader?: DocumentLoader;
|
5093
|
+
contextLoader?: DocumentLoader;
|
5094
|
+
suppressError?: boolean;
|
5095
|
+
tracerProvider?: TracerProvider;
|
5096
|
+
}): Promise<Object$1 | null>;
|
4969
5097
|
/**
|
4970
5098
|
* Converts this object to a JSON-LD structure.
|
4971
5099
|
* @param options The options to use.
|
@@ -5075,6 +5203,14 @@ declare class CollectionPage extends Collection {
|
|
5075
5203
|
first?: CollectionPage | URL | null;
|
5076
5204
|
last?: CollectionPage | URL | null;
|
5077
5205
|
items?: (Object$1 | Link | URL)[];
|
5206
|
+
likesOf?: Object$1 | URL | null;
|
5207
|
+
sharesOf?: Object$1 | URL | null;
|
5208
|
+
repliesOf?: Object$1 | URL | null;
|
5209
|
+
inboxOf?: Object$1 | URL | null;
|
5210
|
+
outboxOf?: Object$1 | URL | null;
|
5211
|
+
followersOf?: Object$1 | URL | null;
|
5212
|
+
followingOf?: Object$1 | URL | null;
|
5213
|
+
likedOf?: Object$1 | URL | null;
|
5078
5214
|
partOf?: Collection | URL | null;
|
5079
5215
|
next?: CollectionPage | URL | null;
|
5080
5216
|
prev?: CollectionPage | URL | null;
|
@@ -5144,6 +5280,14 @@ declare class CollectionPage extends Collection {
|
|
5144
5280
|
first?: CollectionPage | URL | null;
|
5145
5281
|
last?: CollectionPage | URL | null;
|
5146
5282
|
items?: (Object$1 | Link | URL)[];
|
5283
|
+
likesOf?: Object$1 | URL | null;
|
5284
|
+
sharesOf?: Object$1 | URL | null;
|
5285
|
+
repliesOf?: Object$1 | URL | null;
|
5286
|
+
inboxOf?: Object$1 | URL | null;
|
5287
|
+
outboxOf?: Object$1 | URL | null;
|
5288
|
+
followersOf?: Object$1 | URL | null;
|
5289
|
+
followingOf?: Object$1 | URL | null;
|
5290
|
+
likedOf?: Object$1 | URL | null;
|
5147
5291
|
partOf?: Collection | URL | null;
|
5148
5292
|
next?: CollectionPage | URL | null;
|
5149
5293
|
prev?: CollectionPage | URL | null;
|
@@ -9165,6 +9309,14 @@ declare class OrderedCollection extends Collection {
|
|
9165
9309
|
current?: CollectionPage | URL | null;
|
9166
9310
|
first?: CollectionPage | URL | null;
|
9167
9311
|
last?: CollectionPage | URL | null;
|
9312
|
+
likesOf?: Object$1 | URL | null;
|
9313
|
+
sharesOf?: Object$1 | URL | null;
|
9314
|
+
repliesOf?: Object$1 | URL | null;
|
9315
|
+
inboxOf?: Object$1 | URL | null;
|
9316
|
+
outboxOf?: Object$1 | URL | null;
|
9317
|
+
followersOf?: Object$1 | URL | null;
|
9318
|
+
followingOf?: Object$1 | URL | null;
|
9319
|
+
likedOf?: Object$1 | URL | null;
|
9168
9320
|
items?: (Object$1 | Link | URL)[];
|
9169
9321
|
}, options?: {
|
9170
9322
|
documentLoader?: DocumentLoader;
|
@@ -9231,6 +9383,14 @@ declare class OrderedCollection extends Collection {
|
|
9231
9383
|
current?: CollectionPage | URL | null;
|
9232
9384
|
first?: CollectionPage | URL | null;
|
9233
9385
|
last?: CollectionPage | URL | null;
|
9386
|
+
likesOf?: Object$1 | URL | null;
|
9387
|
+
sharesOf?: Object$1 | URL | null;
|
9388
|
+
repliesOf?: Object$1 | URL | null;
|
9389
|
+
inboxOf?: Object$1 | URL | null;
|
9390
|
+
outboxOf?: Object$1 | URL | null;
|
9391
|
+
followersOf?: Object$1 | URL | null;
|
9392
|
+
followingOf?: Object$1 | URL | null;
|
9393
|
+
likedOf?: Object$1 | URL | null;
|
9234
9394
|
items?: (Object$1 | Link | URL)[];
|
9235
9395
|
}, options?: {
|
9236
9396
|
documentLoader?: DocumentLoader;
|
@@ -9359,6 +9519,14 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
9359
9519
|
current?: CollectionPage | URL | null;
|
9360
9520
|
first?: CollectionPage | URL | null;
|
9361
9521
|
last?: CollectionPage | URL | null;
|
9522
|
+
likesOf?: Object$1 | URL | null;
|
9523
|
+
sharesOf?: Object$1 | URL | null;
|
9524
|
+
repliesOf?: Object$1 | URL | null;
|
9525
|
+
inboxOf?: Object$1 | URL | null;
|
9526
|
+
outboxOf?: Object$1 | URL | null;
|
9527
|
+
followersOf?: Object$1 | URL | null;
|
9528
|
+
followingOf?: Object$1 | URL | null;
|
9529
|
+
likedOf?: Object$1 | URL | null;
|
9362
9530
|
partOf?: Collection | URL | null;
|
9363
9531
|
next?: CollectionPage | URL | null;
|
9364
9532
|
prev?: CollectionPage | URL | null;
|
@@ -9429,6 +9597,14 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
9429
9597
|
current?: CollectionPage | URL | null;
|
9430
9598
|
first?: CollectionPage | URL | null;
|
9431
9599
|
last?: CollectionPage | URL | null;
|
9600
|
+
likesOf?: Object$1 | URL | null;
|
9601
|
+
sharesOf?: Object$1 | URL | null;
|
9602
|
+
repliesOf?: Object$1 | URL | null;
|
9603
|
+
inboxOf?: Object$1 | URL | null;
|
9604
|
+
outboxOf?: Object$1 | URL | null;
|
9605
|
+
followersOf?: Object$1 | URL | null;
|
9606
|
+
followingOf?: Object$1 | URL | null;
|
9607
|
+
likedOf?: Object$1 | URL | null;
|
9432
9608
|
partOf?: Collection | URL | null;
|
9433
9609
|
next?: CollectionPage | URL | null;
|
9434
9610
|
prev?: CollectionPage | URL | null;
|
@@ -2,9 +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-
|
5
|
+
import { deno_default, getDocumentLoader } from "./docloader-BQtOKgp6.js";
|
6
|
+
import { Object as Object$1, getTypeId } from "./actor-DRDJEBUm.js";
|
7
|
+
import { lookupWebFinger } from "./lookup-DXOeAoau.js";
|
8
8
|
import { getLogger } from "@logtape/logtape";
|
9
9
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
10
10
|
import { delay } from "es-toolkit";
|
@@ -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-kbhcBjln.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-
|
11
|
+
import { createFederation, handleWebFinger } from "../middleware-BYNtLu8k.js";
|
12
12
|
import "../semver-dArNLkR9.js";
|
13
|
-
import "../client-
|
14
|
-
import "../lookup-
|
13
|
+
import "../client-B9jM_drO.js";
|
14
|
+
import "../lookup-BKAM4uhR.js";
|
15
15
|
import "../types-BIgY6c-l.js";
|
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-
|
16
|
+
import "../actor-CvjaNhYs.js";
|
17
|
+
import "../key-s4qnG2im.js";
|
18
|
+
import "../http-BHElg0Zi.js";
|
19
|
+
import "../authdocloader-C0Im6QL6.js";
|
20
|
+
import "../ld-Dabq6u87.js";
|
21
|
+
import "../owner-DgH6uc6t.js";
|
22
|
+
import "../proof-BQUVJRUu.js";
|
23
|
+
import "../inbox-D5dxkCHy.js";
|
24
|
+
import "../builder-rkyhg-s7.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-BGB_9pQd.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing-
|
28
|
+
import "../send-Be2DM7RK.js";
|
29
|
+
import { createRequestContext, test } from "../testing-oVc8Ak7R.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-kbhcBjln.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-BKAM4uhR.js";
|
11
|
+
import { test } from "../testing-oVc8Ak7R.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-g239S2Ho.js";
|
18
18
|
import { withTimeout } from "es-toolkit";
|
19
19
|
|
20
20
|
//#region src/webfinger/lookup.test.ts
|
package/dist/webfinger/mod.js
CHANGED
@@ -2,8 +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-
|
5
|
+
import "../docloader-BQtOKgp6.js";
|
6
|
+
import { lookupWebFinger } from "../lookup-DXOeAoau.js";
|
7
7
|
import "../webfinger-C3GIyXIg.js";
|
8
8
|
|
9
9
|
export { lookupWebFinger };
|
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-kbhcBjln.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-BKAM4uhR.js";
|
11
|
+
import { test } from "../testing-oVc8Ak7R.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
@@ -3,13 +3,13 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../kv-C7sopW2E.js";
|
4
4
|
import "../docloader-CxWcuWqQ.js";
|
5
5
|
import "../client-DF8anIB5.js";
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
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
11
|
import "../lookup-3czM5mmU.js";
|
12
|
-
import { Federation } from "../context-
|
12
|
+
import { Federation } from "../context-DJQB_Zv4.js";
|
13
13
|
import "../mq-CRGm1e_F.js";
|
14
14
|
|
15
15
|
//#region src/x/hono.d.ts
|
package/dist/x/sveltekit.d.ts
CHANGED
@@ -3,13 +3,13 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../kv-C7sopW2E.js";
|
4
4
|
import "../docloader-CxWcuWqQ.js";
|
5
5
|
import "../client-DF8anIB5.js";
|
6
|
-
import "../vocab-
|
7
|
-
import "../actor-
|
8
|
-
import "../http-
|
9
|
-
import "../owner-
|
10
|
-
import "../mod-
|
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
11
|
import "../lookup-3czM5mmU.js";
|
12
|
-
import { Federation } from "../context-
|
12
|
+
import { Federation } from "../context-DJQB_Zv4.js";
|
13
13
|
import "../mq-CRGm1e_F.js";
|
14
14
|
|
15
15
|
//#region src/x/sveltekit.d.ts
|
package/package.json
CHANGED
@@ -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-CQXrP5Lt.js";
|
7
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-AR3RfTfO.js";
|
8
|
-
import "./semver-dArNLkR9.js";
|
9
|
-
import "./client-MeYeu6QM.js";
|
10
|
-
import "./lookup-CpQFwuYT.js";
|
11
|
-
import "./types-BIgY6c-l.js";
|
12
|
-
import "./actor-B7EOS7sj.js";
|
13
|
-
import "./key-BA-VESrE.js";
|
14
|
-
import "./http-jsbQZmEx.js";
|
15
|
-
import "./authdocloader-C3NOxWC4.js";
|
16
|
-
import "./ld-536I1uoS.js";
|
17
|
-
import "./owner-Dp73PxeY.js";
|
18
|
-
import "./proof-DWJpYhi0.js";
|
19
|
-
import "./inbox-Bvgh0p3t.js";
|
20
|
-
import "./builder-DWbYd7Uz.js";
|
21
|
-
import "./collection-CSzG2j1P.js";
|
22
|
-
import "./keycache-CaGRPD2D.js";
|
23
|
-
import "./retry-D4GJ670a.js";
|
24
|
-
import "./send-DucL-V0N.js";
|
25
|
-
|
26
|
-
export { FederationImpl };
|
@@ -1,17 +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-lRn6Iz9h.js";
|
7
|
-
import "./actor-DVhqV33k.js";
|
8
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-D550um_p.js";
|
9
|
-
import "./lookup-B51nxTWE.js";
|
10
|
-
import "./key-CGiIDuCb.js";
|
11
|
-
import "./http-Xaq8uKR0.js";
|
12
|
-
import "./proof-DKtgyz5B.js";
|
13
|
-
import "./types-CCNn1tuL.js";
|
14
|
-
import "./authdocloader-C4Z-T6r4.js";
|
15
|
-
import "./vocab-Dqyc86T5.js";
|
16
|
-
|
17
|
-
export { FederationImpl };
|