@fedify/fedify 1.8.0-pr.312.1067 → 1.8.1-pr.314.1086
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-B-KDHgc6.js → actor-9BjazhMw.js} +3 -3
- package/dist/{actor-l23T4Njv.js → actor-DWbhlsJt.js} +179 -179
- package/dist/{authdocloader-BnJob_QC.js → authdocloader-4sp9ZqcE.js} +3 -3
- package/dist/{authdocloader-BJ4D4s1A.js → authdocloader-DZQlL2Mb.js} +3 -3
- package/dist/{builder-BaaPEQ6X.js → builder-H8nMQQmc.js} +3 -3
- package/dist/{client-CRWz5oQ-.js → client-OWD3FJgw.js} +1 -1
- package/dist/compat/mod.d.ts +4 -4
- package/dist/compat/transformers.test.js +17 -17
- package/dist/{context-B6mUZhs_.d.ts → context-0cwxy1ae.d.ts} +2 -2
- package/dist/{context-Dg-jOAe_.js → context-B70jLrlb.js} +2 -2
- package/dist/{docloader-7zT2fQW8.js → docloader-C9lz1QKo.js} +1 -2
- package/dist/{docloader-C2EfjKfp.js → docloader-euSMpkRz.js} +1 -2
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/handler.test.js +19 -19
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.d.ts +3 -3
- package/dist/federation/mod.js +10 -10
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-BUbON8kE.js → http-B353KfXY.js} +3 -3
- package/dist/{http-QZGD_kgI.js → http-DjiIXRfp.js} +3 -3
- package/dist/{inbox-CWfXaOa-.js → inbox-B0W6VRj5.js} +2 -2
- package/dist/{key-Yp8FqUuX.js → key-Bog3USL4.js} +5 -5
- package/dist/{key-CHObOclq.js → key-C586RANk.js} +2 -2
- package/dist/{key-DTjsOAaa.js → key-CVCoWaUb.js} +4 -4
- package/dist/{key-BH_MTIA3.js → key-D9ztI2tD.js} +3 -3
- package/dist/{keycache-DPJR71PQ.js → keycache-DUklavX_.js} +1 -1
- package/dist/{keys-DocZq5dv.js → keys-Cg5FL8FO.js} +1 -1
- package/dist/{ld-DpHoBTs8.js → ld-BYwhJljm.js} +3 -3
- package/dist/{lookup-BeJoEbFD.js → lookup-ClTiImdO.js} +5 -4
- package/dist/{lookup-B73q183c.js → lookup-DF1K6ZKo.js} +3 -2
- package/dist/{lookup-C0vis5Tt.js → lookup-DkWUbh0H.js} +3 -2
- package/dist/{lookup-J_m4YZg0.d.ts → lookup-DyzAlXvF.d.ts} +4 -0
- package/dist/middleware-BKXmhof0.js +17 -0
- package/dist/{middleware-DTcItJp2.js → middleware-BoT0nnCK.js} +10 -10
- package/dist/{middleware-CV8PqUFi.js → middleware-CF_0HiJV.js} +15 -15
- package/dist/middleware-DvgI9HFD.js +33 -0
- package/dist/{mod-D9qE4iHP.d.ts → mod-ZGWTvT4a.d.ts} +1 -1
- package/dist/{mod-BFwgZ7_K.d.ts → mod-tMrYXlJo.d.ts} +4 -0
- package/dist/mod.d.ts +4 -4
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +2 -2
- package/dist/nodeinfo/handler.test.js +18 -18
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/{owner-Ca2I14X4.js → owner-BmsiLdfG.js} +3 -3
- package/dist/{proof-BqFv48Ag.js → proof-C51Uc6yw.js} +3 -3
- package/dist/{proof-CXKDPeAQ.js → proof-cOukCsyz.js} +3 -3
- package/dist/runtime/authdocloader.test.js +8 -8
- package/dist/runtime/docloader.test.js +1 -1
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/mod.js +6 -6
- package/dist/{send-y08iUbEp.js → send-Bf_w1ZdA.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +8 -8
- package/dist/sig/proof.test.js +7 -7
- package/dist/{types-DyE9FoHU.js → types-BeQTN8m4.js} +1 -1
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +74 -6
- package/dist/vocab/mod.d.ts +1 -1
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-BsWSzeRj.js → vocab-DfV7UP4S.js} +178 -178
- package/dist/{vocab-BR7zMT3_.js → vocab-rgzwMihA.js} +5 -4
- package/dist/webfinger/handler.test.js +18 -18
- package/dist/webfinger/lookup.test.js +56 -2
- package/dist/webfinger/mod.d.ts +1 -1
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/hono.d.ts +3 -3
- package/dist/x/sveltekit.d.ts +3 -3
- package/package.json +1 -1
- package/dist/middleware-Bnw0IeJz.js +0 -17
- package/dist/middleware-COErfYNw.js +0 -33
package/dist/sig/owner.test.js
CHANGED
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
7
7
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
8
8
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-euSMpkRz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Create } from "../vocab-
|
|
12
|
+
import { Create } from "../vocab-DfV7UP4S.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DF1K6ZKo.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import "../key-
|
|
18
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
|
19
|
-
import { lookupObject } from "../lookup-
|
|
16
|
+
import "../actor-9BjazhMw.js";
|
|
17
|
+
import "../key-D9ztI2tD.js";
|
|
18
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-BmsiLdfG.js";
|
|
19
|
+
import { lookupObject } from "../lookup-ClTiImdO.js";
|
|
20
20
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
21
21
|
import "../std__assert-B3iAixc-.js";
|
|
22
22
|
import { assertFalse } from "../assert_rejects-DceVjUlD.js";
|
|
@@ -24,7 +24,7 @@ import "../assert_is_error-DQdKoRgb.js";
|
|
|
24
24
|
import "../assert_not_equals-7pyUM3Ib.js";
|
|
25
25
|
import "../assert_throws-DTDC_gwN.js";
|
|
26
26
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
27
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
|
27
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-Cg5FL8FO.js";
|
|
28
28
|
|
|
29
29
|
//#region sig/owner.test.ts
|
|
30
30
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
7
7
|
import "../assert-DwEa6glZ.js";
|
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-euSMpkRz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import { decode } from "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-
|
|
12
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place, importMultibaseKey } from "../vocab-DfV7UP4S.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DF1K6ZKo.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import "../key-
|
|
18
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
|
16
|
+
import "../actor-9BjazhMw.js";
|
|
17
|
+
import "../key-D9ztI2tD.js";
|
|
18
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-C51Uc6yw.js";
|
|
19
19
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
20
20
|
import "../std__assert-B3iAixc-.js";
|
|
21
21
|
import { assertRejects } from "../assert_rejects-DceVjUlD.js";
|
|
@@ -23,7 +23,7 @@ import "../assert_is_error-DQdKoRgb.js";
|
|
|
23
23
|
import "../assert_not_equals-7pyUM3Ib.js";
|
|
24
24
|
import "../assert_throws-DTDC_gwN.js";
|
|
25
25
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
26
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
|
26
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-Cg5FL8FO.js";
|
|
27
27
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
|
28
28
|
|
|
29
29
|
//#region sig/proof.test.ts
|
|
@@ -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-C9lz1QKo.js";
|
|
6
6
|
import { getLogger } from "@logtape/logtape";
|
|
7
7
|
|
|
8
8
|
//#region nodeinfo/semver.ts
|
package/dist/vocab/actor.test.js
CHANGED
|
@@ -7,14 +7,14 @@ import { __export } from "../chunk-HsBuZ-b2.js";
|
|
|
7
7
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
8
8
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
9
9
|
import "../assert_instance_of-C9QtN-X9.js";
|
|
10
|
-
import "../docloader-
|
|
10
|
+
import "../docloader-euSMpkRz.js";
|
|
11
11
|
import "../url-kTAI6_KP.js";
|
|
12
12
|
import "../multibase-DeCHcK8L.js";
|
|
13
|
-
import { Application, Group, Organization, Person, Service } from "../vocab-
|
|
13
|
+
import { Application, Group, Organization, Person, Service } from "../vocab-DfV7UP4S.js";
|
|
14
14
|
import "../langstr-DbWheeIS.js";
|
|
15
|
-
import "../lookup-
|
|
15
|
+
import "../lookup-DF1K6ZKo.js";
|
|
16
16
|
import "../type-D2s5lmbZ.js";
|
|
17
|
-
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
|
17
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-9BjazhMw.js";
|
|
18
18
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
19
19
|
import { assertStrictEquals } from "../std__assert-B3iAixc-.js";
|
|
20
20
|
import { assertFalse, assertRejects } from "../assert_rejects-DceVjUlD.js";
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
7
7
|
import "../assert-DwEa6glZ.js";
|
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-euSMpkRz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Collection, Note, Object as Object$1, Person } from "../vocab-
|
|
12
|
+
import { Collection, Note, Object as Object$1, Person } from "../vocab-DfV7UP4S.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-DF1K6ZKo.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import { lookupObject, traverseCollection } from "../lookup-
|
|
16
|
+
import { lookupObject, traverseCollection } from "../lookup-ClTiImdO.js";
|
|
17
17
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
18
18
|
import "../std__assert-B3iAixc-.js";
|
|
19
19
|
import "../assert_rejects-DceVjUlD.js";
|
|
@@ -24,7 +24,10 @@ import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
|
24
24
|
import { esm_default } from "../esm-d-9EVGaP.js";
|
|
25
25
|
|
|
26
26
|
//#region vocab/lookup.test.ts
|
|
27
|
-
test("lookupObject()",
|
|
27
|
+
test("lookupObject()", {
|
|
28
|
+
sanitizeResources: false,
|
|
29
|
+
sanitizeOps: false
|
|
30
|
+
}, async (t) => {
|
|
28
31
|
esm_default.spyGlobal();
|
|
29
32
|
esm_default.get("begin:https://example.com/.well-known/webfinger", {
|
|
30
33
|
subject: "acct:johndoe@example.com",
|
|
@@ -87,9 +90,74 @@ test("lookupObject()", async (t) => {
|
|
|
87
90
|
assertEquals(await lookupObject("janedoe@example.com", options), null);
|
|
88
91
|
assertEquals(await lookupObject("https://example.com/404", options), null);
|
|
89
92
|
});
|
|
93
|
+
esm_default.removeRoutes();
|
|
94
|
+
esm_default.get("begin:https://example.com/.well-known/webfinger", () => new Promise((resolve) => {
|
|
95
|
+
setTimeout(() => {
|
|
96
|
+
resolve({
|
|
97
|
+
subject: "acct:johndoe@example.com",
|
|
98
|
+
links: [{
|
|
99
|
+
rel: "self",
|
|
100
|
+
href: "https://example.com/person",
|
|
101
|
+
type: "application/activity+json"
|
|
102
|
+
}]
|
|
103
|
+
});
|
|
104
|
+
}, 1e3);
|
|
105
|
+
}));
|
|
106
|
+
await t.step("request cancellation", async () => {
|
|
107
|
+
const controller = new AbortController();
|
|
108
|
+
const promise = lookupObject("johndoe@example.com", {
|
|
109
|
+
...options,
|
|
110
|
+
signal: controller.signal
|
|
111
|
+
});
|
|
112
|
+
controller.abort();
|
|
113
|
+
assertEquals(await promise, null);
|
|
114
|
+
});
|
|
115
|
+
esm_default.removeRoutes();
|
|
116
|
+
esm_default.get("begin:https://example.com/.well-known/webfinger", {
|
|
117
|
+
subject: "acct:johndoe@example.com",
|
|
118
|
+
links: [{
|
|
119
|
+
rel: "self",
|
|
120
|
+
href: "https://example.com/person",
|
|
121
|
+
type: "application/activity+json"
|
|
122
|
+
}]
|
|
123
|
+
});
|
|
124
|
+
await t.step("successful request with signal", async () => {
|
|
125
|
+
const controller = new AbortController();
|
|
126
|
+
const person = await lookupObject("johndoe@example.com", {
|
|
127
|
+
...options,
|
|
128
|
+
signal: controller.signal
|
|
129
|
+
});
|
|
130
|
+
assertInstanceOf(person, Person);
|
|
131
|
+
assertEquals(person.id, new URL("https://example.com/person"));
|
|
132
|
+
});
|
|
133
|
+
esm_default.removeRoutes();
|
|
134
|
+
esm_default.get("begin:https://example.com/.well-known/webfinger", () => new Promise((resolve) => {
|
|
135
|
+
setTimeout(() => {
|
|
136
|
+
resolve({
|
|
137
|
+
subject: "acct:johndoe@example.com",
|
|
138
|
+
links: [{
|
|
139
|
+
rel: "self",
|
|
140
|
+
href: "https://example.com/person",
|
|
141
|
+
type: "application/activity+json"
|
|
142
|
+
}]
|
|
143
|
+
});
|
|
144
|
+
}, 500);
|
|
145
|
+
}));
|
|
146
|
+
await t.step("cancellation with immediate abort", async () => {
|
|
147
|
+
const controller = new AbortController();
|
|
148
|
+
controller.abort();
|
|
149
|
+
const result = await lookupObject("johndoe@example.com", {
|
|
150
|
+
...options,
|
|
151
|
+
signal: controller.signal
|
|
152
|
+
});
|
|
153
|
+
assertEquals(result, null);
|
|
154
|
+
});
|
|
90
155
|
esm_default.hardReset();
|
|
91
156
|
});
|
|
92
|
-
test("traverseCollection()",
|
|
157
|
+
test("traverseCollection()", {
|
|
158
|
+
sanitizeResources: false,
|
|
159
|
+
sanitizeOps: false
|
|
160
|
+
}, async () => {
|
|
93
161
|
const options = {
|
|
94
162
|
documentLoader: mockDocumentLoader,
|
|
95
163
|
contextLoader: mockDocumentLoader
|
package/dist/vocab/mod.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ import "../kv-DDdb1hMa.js";
|
|
|
4
4
|
import "../docloader-BeCtcTOJ.js";
|
|
5
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-By6mpzr-.js";
|
|
6
6
|
import { Actor, ActorTypeName, GetActorHandleOptions, NormalizeActorHandleOptions, Recipient, getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-B4TBtqRP.js";
|
|
7
|
-
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-
|
|
7
|
+
import { FediverseHandle, LookupObjectOptions, PUBLIC_COLLECTION, TraverseCollectionOptions, getTypeId, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../mod-tMrYXlJo.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-C9lz1QKo.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-DWbhlsJt.js";
|
|
7
|
+
import "../lookup-DkWUbh0H.js";
|
|
8
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-rgzwMihA.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
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
globalThis.addEventListener = () => {};
|
|
5
5
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
7
|
-
import "../docloader-
|
|
7
|
+
import "../docloader-euSMpkRz.js";
|
|
8
8
|
import "../url-kTAI6_KP.js";
|
|
9
9
|
import "../multibase-DeCHcK8L.js";
|
|
10
|
-
import { Person } from "../vocab-
|
|
10
|
+
import { Person } from "../vocab-DfV7UP4S.js";
|
|
11
11
|
import "../langstr-DbWheeIS.js";
|
|
12
12
|
import { getTypeId } from "../type-D2s5lmbZ.js";
|
|
13
13
|
import { test } from "../testing-BZ0dJ4qn.js";
|
package/dist/vocab/vocab.test.js
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
import { assertEquals } from "../assert_equals-C5gKCm6A.js";
|
|
7
7
|
import { assert } from "../assert-DwEa6glZ.js";
|
|
8
8
|
import { assertInstanceOf } from "../assert_instance_of-C9QtN-X9.js";
|
|
9
|
-
import "../docloader-
|
|
9
|
+
import "../docloader-euSMpkRz.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import { decode } from "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-
|
|
12
|
+
import { Activity, Announce, Create, CryptographicKey, Follow, Hashtag, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../vocab-DfV7UP4S.js";
|
|
13
13
|
import { LanguageString } from "../langstr-DbWheeIS.js";
|
|
14
14
|
import { test } from "../testing-BZ0dJ4qn.js";
|
|
15
15
|
import "../std__assert-B3iAixc-.js";
|
|
@@ -18,7 +18,7 @@ import "../assert_is_error-DQdKoRgb.js";
|
|
|
18
18
|
import { assertNotEquals } from "../assert_not_equals-7pyUM3Ib.js";
|
|
19
19
|
import { assertThrows } from "../assert_throws-DTDC_gwN.js";
|
|
20
20
|
import { mockDocumentLoader } from "../docloader-09nVWLAZ.js";
|
|
21
|
-
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-
|
|
21
|
+
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-Cg5FL8FO.js";
|
|
22
22
|
import { pascalCase } from "es-toolkit";
|
|
23
23
|
import { parseLanguageTag } from "@phensley/language-tag";
|
|
24
24
|
import { Validator } from "@cfworker/json-schema";
|