@fedify/fedify 1.8.1-dev.1085 → 1.8.1-pr.315.1087
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-DGxAq8Vu.js → actor-BGN9d-ER.js} +179 -179
- package/dist/{actor-1A9lKn5F.js → actor-COZxxnW-.js} +3 -3
- package/dist/{authdocloader-Q9hmx14W.js → authdocloader-CkDSocuG.js} +3 -3
- package/dist/{authdocloader-CulgQUB1.js → authdocloader-DuNq0lPa.js} +3 -3
- package/dist/{builder-DwGX0zII.js → builder-sY-OaLuR.js} +3 -3
- package/dist/{client-C4Ii_5Vz.js → client-CwyOrZdQ.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-5-JZgoal.js → context-CjO1Eu60.js} +2 -2
- package/dist/{docloader-KdAOepM4.js → docloader-Bqnt2g2O.js} +1 -1
- package/dist/{docloader-DZX4FXNq.js → docloader-DuYPQRhi.js} +1 -1
- 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-CMZ4ZGw2.js → http-CXo5GngC.js} +3 -3
- package/dist/{http-B2ULamEu.js → http-i7pAcF2p.js} +3 -3
- package/dist/{inbox-C1kXmxS_.js → inbox-B4J2j76m.js} +2 -2
- package/dist/{key-BN5jFZDX.js → key-BS66bul8.js} +5 -5
- package/dist/{key-BDvvEwIC.js → key-CgZWNnJ5.js} +4 -4
- package/dist/{key-MW8VYqPH.js → key-CvYsX4sx.js} +3 -3
- package/dist/{key-fEYdkO3Z.js → key-DUjSfms_.js} +2 -2
- package/dist/{keycache-BCrhP4Nl.js → keycache-Dg-EY2GA.js} +1 -1
- package/dist/{keys-aKISIFlI.js → keys-Dx4HPNvb.js} +1 -1
- package/dist/{ld-DYLAaFTz.js → ld-DgAsa2eP.js} +3 -3
- package/dist/{lookup-Dk8O5WNU.js → lookup-CT58kmo9.js} +3 -2
- package/dist/{lookup-Ci1Mb-AQ.js → lookup-CZsY2pg0.js} +3 -2
- package/dist/{lookup-ChOx0yAH.js → lookup-D0JZLVlO.js} +5 -4
- package/dist/{lookup-J_m4YZg0.d.ts → lookup-DyzAlXvF.d.ts} +4 -0
- package/dist/{middleware-BCBsJjje.js → middleware-BZUbnj6j.js} +10 -10
- package/dist/middleware-BeikD3Yz.js +17 -0
- package/dist/middleware-CxsH4gAU.js +33 -0
- package/dist/{middleware-BLAPP3y5.js → middleware-DRtyH_uK.js} +15 -15
- 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-BHEHafmI.js → owner-BB_XHgLB.js} +3 -3
- package/dist/{proof-CumuzY0a.js → proof-BvTaFMjj.js} +3 -3
- package/dist/{proof-DMtuS7LN.js → proof-slgx40CA.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-DgMAlUHr.js → send-V9BHYB-B.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-jsvL0oGD.js → types-MbRKEexC.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-uFD3MUpE.js → vocab-DB_2icZ5.js} +178 -178
- package/dist/{vocab-PHRrKZVW.js → vocab-HikH0hh9.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-C8_3GP9Y.js +0 -17
- package/dist/middleware-Ud7bS3Qp.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-Bqnt2g2O.js";
|
|
10
10
|
import "../url-kTAI6_KP.js";
|
|
11
11
|
import "../multibase-DeCHcK8L.js";
|
|
12
|
-
import { Create } from "../vocab-
|
|
12
|
+
import { Create } from "../vocab-DB_2icZ5.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-CZsY2pg0.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-COZxxnW-.js";
|
|
17
|
+
import "../key-CvYsX4sx.js";
|
|
18
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-BB_XHgLB.js";
|
|
19
|
+
import { lookupObject } from "../lookup-D0JZLVlO.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-Dx4HPNvb.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-Bqnt2g2O.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-DB_2icZ5.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-CZsY2pg0.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import "../actor-
|
|
17
|
-
import "../key-
|
|
18
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
|
16
|
+
import "../actor-COZxxnW-.js";
|
|
17
|
+
import "../key-CvYsX4sx.js";
|
|
18
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-slgx40CA.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-Dx4HPNvb.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-DuYPQRhi.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-Bqnt2g2O.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-DB_2icZ5.js";
|
|
14
14
|
import "../langstr-DbWheeIS.js";
|
|
15
|
-
import "../lookup-
|
|
15
|
+
import "../lookup-CZsY2pg0.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-COZxxnW-.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-Bqnt2g2O.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-DB_2icZ5.js";
|
|
13
13
|
import "../langstr-DbWheeIS.js";
|
|
14
|
-
import "../lookup-
|
|
14
|
+
import "../lookup-CZsY2pg0.js";
|
|
15
15
|
import "../type-D2s5lmbZ.js";
|
|
16
|
-
import { lookupObject, traverseCollection } from "../lookup-
|
|
16
|
+
import { lookupObject, traverseCollection } from "../lookup-D0JZLVlO.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-DuYPQRhi.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-BGN9d-ER.js";
|
|
7
|
+
import "../lookup-CT58kmo9.js";
|
|
8
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-HikH0hh9.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-Bqnt2g2O.js";
|
|
8
8
|
import "../url-kTAI6_KP.js";
|
|
9
9
|
import "../multibase-DeCHcK8L.js";
|
|
10
|
-
import { Person } from "../vocab-
|
|
10
|
+
import { Person } from "../vocab-DB_2icZ5.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-Bqnt2g2O.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-DB_2icZ5.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-Dx4HPNvb.js";
|
|
22
22
|
import { pascalCase } from "es-toolkit";
|
|
23
23
|
import { parseLanguageTag } from "@phensley/language-tag";
|
|
24
24
|
import { Validator } from "@cfworker/json-schema";
|