@fedify/fedify 2.0.0-dev.1750 → 2.0.0-dev.1761
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-CRS7Dbo1.js → actor-B6D1DgrC.js} +1 -1
- package/dist/{actor-CMgHXjhs.js → actor-BhyQ9822.js} +185 -185
- package/dist/{actor-JG822JBi.cjs → actor-CU-zgW7H.cjs} +185 -185
- package/dist/{builder-D44QzfuD.js → builder-Bk6STrpU.js} +3 -3
- package/dist/compat/transformers.test.js +15 -15
- package/dist/{docloader-BvlqkI1M.js → docloader-yvdDjZmn.js} +2 -2
- package/dist/{esm-BZMLn6gu.js → esm-Bey3RZ90.js} +1 -1
- package/dist/federation/builder.test.js +4 -4
- package/dist/federation/collection.test.js +2 -2
- package/dist/federation/handler.test.js +16 -16
- package/dist/federation/idempotency.test.js +16 -16
- package/dist/federation/inbox.test.js +3 -3
- package/dist/federation/keycache.test.js +3 -3
- package/dist/federation/kv.test.js +2 -2
- package/dist/federation/middleware.test.js +17 -17
- package/dist/federation/mod.cjs +7 -7
- package/dist/federation/mod.js +7 -7
- package/dist/federation/mq.test.js +2 -2
- package/dist/federation/negotiation.test.js +2 -2
- package/dist/federation/retry.test.js +2 -2
- package/dist/federation/router.test.js +2 -2
- package/dist/federation/send.test.js +9 -9
- package/dist/{http-CPqfuthT.cjs → http-BfIfskSD.cjs} +2 -2
- package/dist/{http-BPsXiq3Y.js → http-CahEmcut.js} +2 -2
- package/dist/{http-DIsJckI7.js → http-iC-v-k0C.js} +2 -2
- package/dist/{inbox-24__vIeD.js → inbox-B-qNpKTs.js} +1 -1
- package/dist/{key-CcqQC_vj.js → key-CWdAvx3D.js} +2 -2
- package/dist/{keycache-BUF-P0-V.js → keycache-D3_6S9lL.js} +1 -1
- package/dist/{keys-DSikT9wk.js → keys-C2zH_sih.js} +1 -1
- package/dist/{kv-cache-gyMh96Y-.cjs → kv-cache-7QLc061b.cjs} +3 -2
- package/dist/{kv-cache-z0lgwFi_.js → kv-cache-DN9pfMBe.js} +2 -1
- package/dist/{kv-cache-CBOkGH5t.js → kv-cache-DqUU5bUb.js} +3 -2
- package/dist/{ld-C5wht8V2.js → ld-B5SBw6ZP.js} +2 -2
- package/dist/{lookup-CxJLpHHf.js → lookup-Bq3sFa9d.js} +185 -186
- package/dist/{lookup-Doq5XdGY.cjs → lookup-CeWmW5IY.cjs} +1 -2
- package/dist/{lookup-BE8ZMmug.js → lookup-DRwNWkAo.js} +1 -2
- package/dist/middleware-BTvujeT8.js +26 -0
- package/dist/{middleware-ClcQM1de.cjs → middleware-ByxuIbr9.cjs} +7 -7
- package/dist/{middleware-BImvTjdU.js → middleware-Dix9hFi7.js} +12 -12
- package/dist/middleware-Dp5IKEWF.cjs +15 -0
- package/dist/{middleware-D5NFjhOL.js → middleware-PNjMzqjn.js} +7 -7
- package/dist/middleware-XBO-5-GK.js +15 -0
- package/dist/{mod-VastcQsk.d.cts → mod-0noXw66R.d.cts} +2 -2
- package/dist/{mod-BYynOiJG.d.ts → mod-B9M-8jm2.d.ts} +2 -2
- package/dist/mod.cjs +7 -7
- package/dist/mod.d.cts +1 -1
- package/dist/mod.d.ts +1 -1
- package/dist/mod.js +7 -7
- package/dist/nodeinfo/client.test.js +3 -3
- package/dist/nodeinfo/handler.test.js +15 -15
- package/dist/nodeinfo/types.test.js +2 -2
- package/dist/{owner-DIa5WpbP.js → owner-B5hv2Af7.js} +2 -2
- package/dist/{proof-CCzhKDDB.js → proof-9tG-Y8wC.js} +2 -2
- package/dist/{proof-D0ak0hhc.js → proof-BcJ10hGk.js} +3 -3
- package/dist/{proof-DTKtjEh_.cjs → proof-CwCE0ot6.cjs} +3 -3
- package/dist/{send-BWfkS2zO.js → send-Is61JhLr.js} +2 -2
- package/dist/sig/http.test.js +7 -7
- package/dist/sig/key.test.js +5 -5
- package/dist/sig/ld.test.js +6 -6
- package/dist/sig/mod.cjs +4 -4
- package/dist/sig/mod.js +4 -4
- package/dist/sig/owner.test.js +6 -6
- package/dist/sig/proof.test.js +6 -6
- package/dist/testing/docloader.test.js +2 -2
- package/dist/testing/mod.js +2 -2
- package/dist/{testing-BHLtJbQx.js → testing-Cmb0733m.js} +1 -1
- package/dist/utils/docloader.test.js +8 -8
- package/dist/utils/kv-cache.test.js +3 -3
- package/dist/utils/mod.cjs +4 -4
- package/dist/utils/mod.d.cts +1 -1
- package/dist/utils/mod.d.ts +1 -1
- package/dist/utils/mod.js +4 -4
- package/dist/vocab/actor.test.js +4 -4
- package/dist/vocab/lookup.test.js +3 -3
- package/dist/vocab/mod.cjs +3 -3
- package/dist/vocab/mod.js +3 -3
- package/dist/vocab/type.test.js +2 -2
- package/dist/vocab/vocab.test.js +3 -3
- package/dist/{vocab-C3ZbIV8S.cjs → vocab-Blb3CmlV.cjs} +2 -2
- package/dist/{vocab-CjheaIIe.js → vocab-DXi9RqM9.js} +2 -2
- package/dist/webfinger/handler.test.js +15 -15
- package/dist/webfinger/lookup.test.js +3 -3
- package/dist/webfinger/mod.cjs +1 -1
- package/dist/webfinger/mod.js +1 -1
- package/dist/x/cfworkers.test.js +2 -2
- package/package.json +5 -5
- package/dist/middleware-BsLmqSNx.cjs +0 -15
- package/dist/middleware-CdFqipch.js +0 -15
- package/dist/middleware-ZZJaIUDZ.js +0 -26
package/dist/sig/proof.test.js
CHANGED
@@ -3,19 +3,19 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place } from "../lookup-
|
6
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place } from "../lookup-Bq3sFa9d.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 "../actor-
|
11
|
-
import "../key-
|
12
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../actor-B6D1DgrC.js";
|
11
|
+
import "../key-CWdAvx3D.js";
|
12
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-9tG-Y8wC.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-Cmb0733m.js";
|
14
14
|
import "../std__assert-DWivtrGR.js";
|
15
15
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
16
16
|
import "../assert_throws-BNXdRGWP.js";
|
17
17
|
import "../assert_not_equals-C80BG-_5.js";
|
18
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
18
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-C2zH_sih.js";
|
19
19
|
import { decodeMultibase, importMultibaseKey } from "@fedify/vocab-runtime";
|
20
20
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
21
21
|
|
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-Bq3sFa9d.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 { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { mockDocumentLoader, test } from "../testing-Cmb0733m.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
package/dist/testing/mod.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
7
|
-
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-
|
6
|
+
import "../lookup-Bq3sFa9d.js";
|
7
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-Cmb0733m.js";
|
8
8
|
|
9
9
|
export { createInboxContext, createRequestContext, test, testDefinitions };
|
@@ -3,7 +3,7 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { RouterError, __require, lookupObject, lookupWebFinger, traverseCollection } from "./lookup-
|
6
|
+
import { RouterError, __require, lookupObject, lookupWebFinger, traverseCollection } from "./lookup-Bq3sFa9d.js";
|
7
7
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
8
8
|
import { trace } from "@opentelemetry/api";
|
9
9
|
|
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-Bq3sFa9d.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 "../actor-
|
11
|
-
import "../key-
|
12
|
-
import { verifyRequest } from "../http-
|
13
|
-
import { getAuthenticatedDocumentLoader } from "../docloader-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../actor-B6D1DgrC.js";
|
11
|
+
import "../key-CWdAvx3D.js";
|
12
|
+
import { verifyRequest } from "../http-iC-v-k0C.js";
|
13
|
+
import { getAuthenticatedDocumentLoader } from "../docloader-yvdDjZmn.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-Cmb0733m.js";
|
15
15
|
import "../std__assert-DWivtrGR.js";
|
16
16
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
17
17
|
import "../assert_throws-BNXdRGWP.js";
|
18
18
|
import "../assert_not_equals-C80BG-_5.js";
|
19
|
-
import { rsaPrivateKey2 } from "../keys-
|
20
|
-
import { esm_default } from "../esm-
|
19
|
+
import { rsaPrivateKey2 } from "../keys-C2zH_sih.js";
|
20
|
+
import { esm_default } from "../esm-Bey3RZ90.js";
|
21
21
|
import { UrlError } from "@fedify/vocab-runtime";
|
22
22
|
|
23
23
|
//#region src/utils/docloader.test.ts
|
@@ -3,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
7
|
-
import { MockKvStore, kvCache } from "../kv-cache-
|
8
|
-
import { mockDocumentLoader, test } from "../testing-
|
6
|
+
import "../lookup-Bq3sFa9d.js";
|
7
|
+
import { MockKvStore, kvCache } from "../kv-cache-DN9pfMBe.js";
|
8
|
+
import { mockDocumentLoader, test } from "../testing-Cmb0733m.js";
|
9
9
|
import { preloadedContexts } from "@fedify/vocab-runtime";
|
10
10
|
import { deepStrictEqual, throws } from "node:assert";
|
11
11
|
|
package/dist/utils/mod.cjs
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
require('../lookup-
|
6
|
-
require('../actor-
|
7
|
-
require('../http-
|
8
|
-
const require_kv_cache = require('../kv-cache-
|
5
|
+
require('../lookup-CeWmW5IY.cjs');
|
6
|
+
require('../actor-CU-zgW7H.cjs');
|
7
|
+
require('../http-BfIfskSD.cjs');
|
8
|
+
const require_kv_cache = require('../kv-cache-7QLc061b.cjs');
|
9
9
|
require('../utils-DyRU1gdZ.cjs');
|
10
10
|
|
11
11
|
exports.getAuthenticatedDocumentLoader = require_kv_cache.getAuthenticatedDocumentLoader;
|
package/dist/utils/mod.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import "../vocab-CeDBzu-f.cjs";
|
2
2
|
import "../http-M8k5mKc0.cjs";
|
3
3
|
import "../kv-Bxr0Q87_.cjs";
|
4
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
4
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-0noXw66R.cjs";
|
5
5
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.d.ts
CHANGED
@@ -3,5 +3,5 @@ import { URLPattern } from "urlpattern-polyfill";
|
|
3
3
|
import "../vocab-BCWe1Ih5.js";
|
4
4
|
import "../http-BbO0ejuk.js";
|
5
5
|
import "../kv-BKNZ-Tb-.js";
|
6
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-
|
6
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../mod-B9M-8jm2.js";
|
7
7
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/utils/mod.js
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../lookup-
|
6
|
-
import "../actor-
|
7
|
-
import "../http-
|
8
|
-
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-
|
5
|
+
import "../lookup-DRwNWkAo.js";
|
6
|
+
import "../actor-BhyQ9822.js";
|
7
|
+
import "../http-CahEmcut.js";
|
8
|
+
import { getAuthenticatedDocumentLoader, kvCache } from "../kv-cache-DqUU5bUb.js";
|
9
9
|
import "../utils-D-Va7aXC.js";
|
10
10
|
|
11
11
|
export { getAuthenticatedDocumentLoader, kvCache };
|
package/dist/vocab/actor.test.js
CHANGED
@@ -3,17 +3,17 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Application, Group, Organization, Person, Service, __export } from "../lookup-
|
6
|
+
import { Application, Group, Organization, Person, Service, __export } from "../lookup-Bq3sFa9d.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 { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-
|
11
|
-
import { test } from "../testing-
|
10
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-B6D1DgrC.js";
|
11
|
+
import { test } from "../testing-Cmb0733m.js";
|
12
12
|
import { assertStrictEquals } from "../std__assert-DWivtrGR.js";
|
13
13
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
14
14
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
15
15
|
import "../assert_not_equals-C80BG-_5.js";
|
16
|
-
import { esm_default } from "../esm-
|
16
|
+
import { esm_default } from "../esm-Bey3RZ90.js";
|
17
17
|
|
18
18
|
//#region ../../node_modules/.pnpm/fast-check@3.23.2/node_modules/fast-check/lib/esm/check/precondition/PreconditionFailure.js
|
19
19
|
var PreconditionFailure = class PreconditionFailure extends Error {
|
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Collection, Note, Object as Object$1, Person, lookupObject, traverseCollection } from "../lookup-
|
6
|
+
import { Collection, Note, Object as Object$1, Person, lookupObject, traverseCollection } from "../lookup-Bq3sFa9d.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 { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { mockDocumentLoader, test } from "../testing-Cmb0733m.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import { assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
14
14
|
import "../assert_not_equals-C80BG-_5.js";
|
15
|
-
import { esm_default } from "../esm-
|
15
|
+
import { esm_default } from "../esm-Bey3RZ90.js";
|
16
16
|
|
17
17
|
//#region src/vocab/lookup.test.ts
|
18
18
|
test("lookupObject()", {
|
package/dist/vocab/mod.cjs
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
require('../lookup-
|
6
|
-
const require_actor = require('../actor-
|
7
|
-
const require_vocab = require('../vocab-
|
5
|
+
require('../lookup-CeWmW5IY.cjs');
|
6
|
+
const require_actor = require('../actor-CU-zgW7H.cjs');
|
7
|
+
const require_vocab = require('../vocab-Blb3CmlV.cjs');
|
8
8
|
|
9
9
|
exports.Accept = require_actor.Accept;
|
10
10
|
exports.Activity = require_actor.Activity;
|
package/dist/vocab/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 "../lookup-
|
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 { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-
|
5
|
+
import "../lookup-DRwNWkAo.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-BhyQ9822.js";
|
7
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-DXi9RqM9.js";
|
8
8
|
|
9
9
|
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,9 +3,9 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Person, getTypeId } from "../lookup-
|
6
|
+
import { Person, getTypeId } from "../lookup-Bq3sFa9d.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import { test } from "../testing-
|
8
|
+
import { test } from "../testing-Cmb0733m.js";
|
9
9
|
|
10
10
|
//#region src/vocab/type.test.ts
|
11
11
|
test("getTypeId()", () => {
|
package/dist/vocab/vocab.test.js
CHANGED
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, Link, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../lookup-
|
6
|
+
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, Link, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, vocab_exports } from "../lookup-Bq3sFa9d.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 { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { mockDocumentLoader, test } from "../testing-Cmb0733m.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import { assertFalse, assertRejects } from "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import { assertThrows } from "../assert_throws-BNXdRGWP.js";
|
14
14
|
import { assertNotEquals } from "../assert_not_equals-C80BG-_5.js";
|
15
|
-
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-
|
15
|
+
import { ed25519PublicKey, rsaPublicKey1 } from "../keys-C2zH_sih.js";
|
16
16
|
import { pascalCase } from "es-toolkit";
|
17
17
|
import { LanguageString, decodeMultibase } from "@fedify/vocab-runtime";
|
18
18
|
import { Validator } from "@cfworker/json-schema";
|
@@ -3,8 +3,8 @@
|
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
5
|
const require_chunk = require('./chunk-DqRYRqnO.cjs');
|
6
|
-
const require_lookup = require('./lookup-
|
7
|
-
const require_actor = require('./actor-
|
6
|
+
const require_lookup = require('./lookup-CeWmW5IY.cjs');
|
7
|
+
const require_actor = require('./actor-CU-zgW7H.cjs');
|
8
8
|
const __logtape_logtape = require_chunk.__toESM(require("@logtape/logtape"));
|
9
9
|
const __opentelemetry_api = require_chunk.__toESM(require("@opentelemetry/api"));
|
10
10
|
const __fedify_vocab_runtime = require_chunk.__toESM(require("@fedify/vocab-runtime"));
|
@@ -2,8 +2,8 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { deno_default, lookupWebFinger } from "./lookup-
|
6
|
-
import { Object as Object$1, getTypeId } from "./actor-
|
5
|
+
import { deno_default, lookupWebFinger } from "./lookup-DRwNWkAo.js";
|
6
|
+
import { Object as Object$1, getTypeId } from "./actor-BhyQ9822.js";
|
7
7
|
import { getLogger } from "@logtape/logtape";
|
8
8
|
import { SpanStatusCode, trace } from "@opentelemetry/api";
|
9
9
|
import { getDocumentLoader } from "@fedify/vocab-runtime";
|
@@ -3,30 +3,30 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Image, Link, Person } from "../lookup-
|
6
|
+
import { Image, Link, Person } from "../lookup-Bq3sFa9d.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-Dix9hFi7.js";
|
12
12
|
import "../client-pY7-3icS.js";
|
13
13
|
import "../types-C2XVl6gj.js";
|
14
|
-
import "../actor-
|
15
|
-
import "../key-
|
16
|
-
import "../http-
|
17
|
-
import "../ld-
|
18
|
-
import "../owner-
|
19
|
-
import "../proof-
|
20
|
-
import "../docloader-
|
21
|
-
import "../kv-cache-
|
22
|
-
import "../inbox-
|
23
|
-
import "../builder-
|
14
|
+
import "../actor-B6D1DgrC.js";
|
15
|
+
import "../key-CWdAvx3D.js";
|
16
|
+
import "../http-iC-v-k0C.js";
|
17
|
+
import "../ld-B5SBw6ZP.js";
|
18
|
+
import "../owner-B5hv2Af7.js";
|
19
|
+
import "../proof-9tG-Y8wC.js";
|
20
|
+
import "../docloader-yvdDjZmn.js";
|
21
|
+
import "../kv-cache-DN9pfMBe.js";
|
22
|
+
import "../inbox-B-qNpKTs.js";
|
23
|
+
import "../builder-Bk6STrpU.js";
|
24
24
|
import "../collection-BzWsN9pB.js";
|
25
|
-
import "../keycache-
|
25
|
+
import "../keycache-D3_6S9lL.js";
|
26
26
|
import "../negotiation-C4nFufNk.js";
|
27
27
|
import "../retry-CfF8Gn4d.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing-
|
28
|
+
import "../send-Is61JhLr.js";
|
29
|
+
import { createRequestContext, test } from "../testing-Cmb0733m.js";
|
30
30
|
import "../std__assert-DWivtrGR.js";
|
31
31
|
import "../assert_rejects-Ce45JcFg.js";
|
32
32
|
import "../assert_throws-BNXdRGWP.js";
|
@@ -3,16 +3,16 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { lookupWebFinger } from "../lookup-
|
6
|
+
import { lookupWebFinger } from "../lookup-Bq3sFa9d.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 { test } from "../testing-
|
10
|
+
import { test } from "../testing-Cmb0733m.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
14
14
|
import "../assert_not_equals-C80BG-_5.js";
|
15
|
-
import { esm_default } from "../esm-
|
15
|
+
import { esm_default } from "../esm-Bey3RZ90.js";
|
16
16
|
import { withTimeout } from "es-toolkit";
|
17
17
|
|
18
18
|
//#region src/webfinger/lookup.test.ts
|
package/dist/webfinger/mod.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
const { Temporal } = require("@js-temporal/polyfill");
|
3
3
|
const { URLPattern } = require("urlpattern-polyfill");
|
4
4
|
|
5
|
-
const require_lookup = require('../lookup-
|
5
|
+
const require_lookup = require('../lookup-CeWmW5IY.cjs');
|
6
6
|
require('../webfinger-vAtLmxOF.cjs');
|
7
7
|
|
8
8
|
exports.lookupWebFinger = require_lookup.lookupWebFinger;
|
package/dist/webfinger/mod.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import { lookupWebFinger } from "../lookup-
|
5
|
+
import { lookupWebFinger } from "../lookup-DRwNWkAo.js";
|
6
6
|
import "../webfinger-C72Y8lrh.js";
|
7
7
|
|
8
8
|
export { lookupWebFinger };
|
package/dist/x/cfworkers.test.js
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../lookup-
|
6
|
+
import "../lookup-Bq3sFa9d.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 { test } from "../testing-
|
10
|
+
import { test } from "../testing-Cmb0733m.js";
|
11
11
|
import "../std__assert-DWivtrGR.js";
|
12
12
|
import "../assert_rejects-Ce45JcFg.js";
|
13
13
|
import "../assert_throws-BNXdRGWP.js";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fedify/fedify",
|
3
|
-
"version": "2.0.0-dev.
|
3
|
+
"version": "2.0.0-dev.1761+9e73442d",
|
4
4
|
"description": "An ActivityPub server framework",
|
5
5
|
"keywords": [
|
6
6
|
"ActivityPub",
|
@@ -152,7 +152,7 @@
|
|
152
152
|
"dependencies": {
|
153
153
|
"@cfworker/json-schema": "^4.1.1",
|
154
154
|
"@js-temporal/polyfill": "^0.5.1",
|
155
|
-
"@logtape/logtape": "^1.
|
155
|
+
"@logtape/logtape": "^1.1.1",
|
156
156
|
"@multiformats/base-x": "^4.0.1",
|
157
157
|
"@opentelemetry/api": "^1.9.0",
|
158
158
|
"@opentelemetry/semantic-conventions": "^1.27.0",
|
@@ -167,7 +167,7 @@
|
|
167
167
|
"uri-template-router": "^0.0.17",
|
168
168
|
"url-template": "^3.1.1",
|
169
169
|
"urlpattern-polyfill": "^10.1.0",
|
170
|
-
"@fedify/vocab-runtime": "2.0.0-dev.
|
170
|
+
"@fedify/vocab-runtime": "2.0.0-dev.1761+9e73442d"
|
171
171
|
},
|
172
172
|
"devDependencies": {
|
173
173
|
"@cloudflare/workers-types": "^4.20250529.0",
|
@@ -185,8 +185,8 @@
|
|
185
185
|
"wrangler": "^4.17.0"
|
186
186
|
},
|
187
187
|
"scripts": {
|
188
|
-
"build": "deno task codegen && tsdown",
|
189
|
-
"prepublish": "
|
188
|
+
"build": "deno task codegen && pnpm run --filter vocab-runtime build && tsdown",
|
189
|
+
"prepublish": "pnpm run build",
|
190
190
|
"test": "deno task codegen && tsdown && cd dist/ && node --test",
|
191
191
|
"test:bun": "deno task codegen && deno task pnpm:build-vocab && tsdown && cd dist/ && bun test --timeout 60000",
|
192
192
|
"test:cfworkers": "deno task codegen && wrangler deploy --dry-run --outdir src/cfworkers && node --import=tsx src/cfworkers/client.ts"
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
const { Temporal } = require("@js-temporal/polyfill");
|
3
|
-
const { URLPattern } = require("urlpattern-polyfill");
|
4
|
-
|
5
|
-
require('./transformers-CoBS-oFG.cjs');
|
6
|
-
require('./lookup-Doq5XdGY.cjs');
|
7
|
-
require('./actor-JG822JBi.cjs');
|
8
|
-
const require_middleware = require('./middleware-ClcQM1de.cjs');
|
9
|
-
require('./http-CPqfuthT.cjs');
|
10
|
-
require('./proof-DTKtjEh_.cjs');
|
11
|
-
require('./types-CWgzGaqk.cjs');
|
12
|
-
require('./kv-cache-gyMh96Y-.cjs');
|
13
|
-
require('./vocab-C3ZbIV8S.cjs');
|
14
|
-
|
15
|
-
exports.FederationImpl = require_middleware.FederationImpl;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
|
5
|
-
import "./transformers-BFT6d7J5.js";
|
6
|
-
import "./lookup-BE8ZMmug.js";
|
7
|
-
import "./actor-CMgHXjhs.js";
|
8
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-D5NFjhOL.js";
|
9
|
-
import "./http-BPsXiq3Y.js";
|
10
|
-
import "./proof-D0ak0hhc.js";
|
11
|
-
import "./types-BtUjyi5y.js";
|
12
|
-
import "./kv-cache-CBOkGH5t.js";
|
13
|
-
import "./vocab-CjheaIIe.js";
|
14
|
-
|
15
|
-
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 "./lookup-CxJLpHHf.js";
|
7
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-BImvTjdU.js";
|
8
|
-
import "./client-pY7-3icS.js";
|
9
|
-
import "./types-C2XVl6gj.js";
|
10
|
-
import "./actor-CRS7Dbo1.js";
|
11
|
-
import "./key-CcqQC_vj.js";
|
12
|
-
import "./http-DIsJckI7.js";
|
13
|
-
import "./ld-C5wht8V2.js";
|
14
|
-
import "./owner-DIa5WpbP.js";
|
15
|
-
import "./proof-CCzhKDDB.js";
|
16
|
-
import "./docloader-BvlqkI1M.js";
|
17
|
-
import "./kv-cache-z0lgwFi_.js";
|
18
|
-
import "./inbox-24__vIeD.js";
|
19
|
-
import "./builder-D44QzfuD.js";
|
20
|
-
import "./collection-BzWsN9pB.js";
|
21
|
-
import "./keycache-BUF-P0-V.js";
|
22
|
-
import "./negotiation-C4nFufNk.js";
|
23
|
-
import "./retry-CfF8Gn4d.js";
|
24
|
-
import "./send-BWfkS2zO.js";
|
25
|
-
|
26
|
-
export { FederationImpl };
|