@fedify/fedify 1.9.0-pr.387.1422 → 1.9.0-pr.388.1454
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/README.md +18 -14
- package/dist/{actor-BAh3Jb1-.js → actor-D6e9qEkV.js} +1 -1
- package/dist/{actor-hvufPZ80.js → actor-rnKKWIEt.js} +187 -187
- package/dist/{authdocloader-C_4pc8zs.js → authdocloader-BLlcg6OT.js} +3 -3
- package/dist/{authdocloader-CtiQW43o.js → authdocloader-DNXCwhe4.js} +3 -3
- package/dist/{builder-wBFa5JX6.js → builder-rbQSp-ig.js} +4 -4
- package/dist/{client-nN6My7yX.js → client-V4MB7-QC.js} +1 -1
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{denokv-2x6-IpXO.js → denokv-C-wcHaX0.js} +4 -0
- package/dist/{docloader-BEl-iA3b.js → docloader-B0JdtOnB.js} +1 -1
- package/dist/{esm-DiIlFDDS.js → esm-Lllns3MF.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.js +10 -10
- package/dist/federation/mq.test.js +5 -5
- 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-twofsY6P.js → http-CyF0WaM0.js} +2 -2
- package/dist/{http-CJi72K_A.js → http-Udeoz_Al.js} +3 -3
- package/dist/{inbox-DkVhGftF.js → inbox-5hqyXKPa.js} +1 -1
- package/dist/{key-BiimIO_R.js → key-5ppjSAIK.js} +4 -4
- package/dist/{key-DwSfVzQW.js → key-7MvpRoyd.js} +2 -2
- package/dist/{key-CCJGU_pg.js → key-CTkfaVig.js} +3 -3
- package/dist/{key-BVdZtT1_.js → key-DIPT1P-B.js} +2 -2
- package/dist/{keycache-qUsoZxfy.js → keycache-rmZ6V89m.js} +1 -1
- package/dist/{keys-DyXcEWZf.js → keys-DwuXi5ni.js} +1 -1
- package/dist/{ld-BXpbj5wF.js → ld-pm8P5ZxN.js} +2 -2
- package/dist/{lookup-BTsxCnSh.js → lookup-DV4bXX-_.js} +1 -1
- package/dist/{lookup-BYMAnaWc.js → lookup-RSoRngQM.js} +1 -1
- package/dist/middleware-C6C_eSdH.js +17 -0
- package/dist/{middleware-B1dTePTn.js → middleware-DLtvTXdd.js} +13 -13
- package/dist/middleware-kt4x4bcT.js +26 -0
- package/dist/{middleware-CBCCK-Kt.js → middleware-u3F5lAP_.js} +10 -10
- 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-6f-M5CPM.js → owner-Dyov2Vyh.js} +2 -2
- package/dist/{proof-0qDjk2V6.js → proof-BKV2LcLG.js} +3 -3
- package/dist/{proof-CyNUNoN0.js → proof-DOdxEdqB.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.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-D-YnQUyU.js → send-BW12PG34.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.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-BOavIrX8.js → testing-BVgrw3iR.js} +2 -2
- package/dist/{type-DEt_fBHU.js → type-DGVk0-c1.js} +186 -186
- package/dist/{types-DzluAftI.js → types-DpoqseBT.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +4 -4
- package/dist/{vocab-kuoGz_8-.js → vocab-xe_N1JvM.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.d.ts +8 -0
- package/dist/x/cfworkers.js +8 -0
- package/dist/x/cfworkers.test.js +11 -3
- package/dist/x/hono.d.ts +8 -0
- package/dist/x/hono.js +4 -0
- package/dist/x/sveltekit.d.ts +4 -0
- package/dist/x/sveltekit.js +4 -0
- package/package.json +1 -1
- package/dist/middleware-BZn-kOXl.js +0 -17
- package/dist/middleware-Dzx58UUM.js +0 -26
@@ -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-B0JdtOnB.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-DGVk0-c1.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-RSoRngQM.js";
|
11
|
+
import { getActorClassByTypeName, getActorHandle, getActorTypeName, isActor, normalizeActorHandle } from "../actor-D6e9qEkV.js";
|
12
|
+
import { test } from "../testing-BVgrw3iR.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-Lllns3MF.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-DGVk0-c1.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-RSoRngQM.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-BVgrw3iR.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-Lllns3MF.js";
|
18
18
|
|
19
19
|
//#region src/vocab/lookup.test.ts
|
20
20
|
test("lookupObject()", {
|
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-B0JdtOnB.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-rnKKWIEt.js";
|
7
|
+
import "../lookup-DV4bXX-_.js";
|
8
|
+
import { PUBLIC_COLLECTION, isFediverseHandle, lookupObject, parseFediverseHandle, toAcctUrl, traverseCollection } from "../vocab-xe_N1JvM.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-DGVk0-c1.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
|
-
import "../lookup-
|
9
|
-
import { test } from "../testing-
|
8
|
+
import "../lookup-RSoRngQM.js";
|
9
|
+
import { test } from "../testing-BVgrw3iR.js";
|
10
10
|
|
11
11
|
//#region src/vocab/type.test.ts
|
12
12
|
test("getTypeId()", () => {
|
package/dist/vocab/vocab.test.js
CHANGED
@@ -3,18 +3,18 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, LanguageString, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, decode, vocab_exports } from "../type-
|
6
|
+
import { Activity, Announce, Collection, Create, CryptographicKey, Follow, Hashtag, LanguageString, Note, Object as Object$1, OrderedCollectionPage, Person, Place, Question, Source, decode, vocab_exports } from "../type-DGVk0-c1.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-RSoRngQM.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-BVgrw3iR.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-DwuXi5ni.js";
|
18
18
|
import { pascalCase } from "es-toolkit";
|
19
19
|
import { parseLanguageTag } from "@phensley/language-tag";
|
20
20
|
import { Validator } from "@cfworker/json-schema";
|
@@ -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-B0JdtOnB.js";
|
6
|
+
import { Object as Object$1, getTypeId } from "./actor-rnKKWIEt.js";
|
7
|
+
import { lookupWebFinger } from "./lookup-DV4bXX-_.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-DGVk0-c1.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-DLtvTXdd.js";
|
12
12
|
import "../semver-dArNLkR9.js";
|
13
|
-
import "../client-
|
14
|
-
import "../lookup-
|
13
|
+
import "../client-V4MB7-QC.js";
|
14
|
+
import "../lookup-RSoRngQM.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-D6e9qEkV.js";
|
17
|
+
import "../key-7MvpRoyd.js";
|
18
|
+
import "../http-CyF0WaM0.js";
|
19
|
+
import "../authdocloader-BLlcg6OT.js";
|
20
|
+
import "../ld-pm8P5ZxN.js";
|
21
|
+
import "../owner-Dyov2Vyh.js";
|
22
|
+
import "../proof-DOdxEdqB.js";
|
23
|
+
import "../inbox-5hqyXKPa.js";
|
24
|
+
import "../builder-rbQSp-ig.js";
|
25
25
|
import "../collection-CSzG2j1P.js";
|
26
|
-
import "../keycache-
|
26
|
+
import "../keycache-rmZ6V89m.js";
|
27
27
|
import "../retry-D4GJ670a.js";
|
28
|
-
import "../send-
|
29
|
-
import { createRequestContext, test } from "../testing-
|
28
|
+
import "../send-BW12PG34.js";
|
29
|
+
import { createRequestContext, test } from "../testing-BVgrw3iR.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-DGVk0-c1.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-RSoRngQM.js";
|
11
|
+
import { test } from "../testing-BVgrw3iR.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-Lllns3MF.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-B0JdtOnB.js";
|
6
|
+
import { lookupWebFinger } from "../lookup-DV4bXX-_.js";
|
7
7
|
import "../webfinger-C3GIyXIg.js";
|
8
8
|
|
9
9
|
export { lookupWebFinger };
|
package/dist/x/cfworkers.d.ts
CHANGED
@@ -15,6 +15,10 @@ import { KVNamespace, Queue } from "@cloudflare/workers-types/experimental";
|
|
15
15
|
* operation, as Cloudflare Workers KV does not support atomic compare-and-swap
|
16
16
|
* operations. If you need this functionality, consider using a different
|
17
17
|
* key–value store that supports atomic operations.
|
18
|
+
*
|
19
|
+
* @deprecated This class has been moved to `@fedify/cfworkers` package.
|
20
|
+
* Import `WorkersKvStore` from `@fedify/cfworkers` instead.
|
21
|
+
* This class will be removed in Fedify v2.0.
|
18
22
|
* @since 1.6.0
|
19
23
|
*/
|
20
24
|
declare class WorkersKvStore implements KvStore {
|
@@ -34,6 +38,10 @@ declare class WorkersKvStore implements KvStore {
|
|
34
38
|
* way as other message queue systems. Instead, you should use
|
35
39
|
* the {@link Federation.processQueuedTask} method to process messages
|
36
40
|
* passed to the queue.
|
41
|
+
*
|
42
|
+
* @deprecated This class has been moved to `@fedify/cfworkers` package.
|
43
|
+
* Import `WorkersMessageQueue` from `@fedify/cfworkers` instead.
|
44
|
+
* This class will be removed in Fedify v2.0.
|
37
45
|
* @since 1.6.0
|
38
46
|
*/
|
39
47
|
declare class WorkersMessageQueue implements MessageQueue {
|
package/dist/x/cfworkers.js
CHANGED
@@ -12,6 +12,10 @@
|
|
12
12
|
* operation, as Cloudflare Workers KV does not support atomic compare-and-swap
|
13
13
|
* operations. If you need this functionality, consider using a different
|
14
14
|
* key–value store that supports atomic operations.
|
15
|
+
*
|
16
|
+
* @deprecated This class has been moved to `@fedify/cfworkers` package.
|
17
|
+
* Import `WorkersKvStore` from `@fedify/cfworkers` instead.
|
18
|
+
* This class will be removed in Fedify v2.0.
|
15
19
|
* @since 1.6.0
|
16
20
|
*/
|
17
21
|
var WorkersKvStore = class {
|
@@ -49,6 +53,10 @@ var WorkersKvStore = class {
|
|
49
53
|
* way as other message queue systems. Instead, you should use
|
50
54
|
* the {@link Federation.processQueuedTask} method to process messages
|
51
55
|
* passed to the queue.
|
56
|
+
*
|
57
|
+
* @deprecated This class has been moved to `@fedify/cfworkers` package.
|
58
|
+
* Import `WorkersMessageQueue` from `@fedify/cfworkers` instead.
|
59
|
+
* This class will be removed in Fedify v2.0.
|
52
60
|
* @since 1.6.0
|
53
61
|
*/
|
54
62
|
var WorkersMessageQueue = class {
|
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-DGVk0-c1.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-RSoRngQM.js";
|
11
|
+
import { test } from "../testing-BVgrw3iR.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
@@ -26,6 +26,10 @@ import { delay } from "es-toolkit";
|
|
26
26
|
* operation, as Cloudflare Workers KV does not support atomic compare-and-swap
|
27
27
|
* operations. If you need this functionality, consider using a different
|
28
28
|
* key–value store that supports atomic operations.
|
29
|
+
*
|
30
|
+
* @deprecated This class has been moved to `@fedify/cfworkers` package.
|
31
|
+
* Import `WorkersKvStore` from `@fedify/cfworkers` instead.
|
32
|
+
* This class will be removed in Fedify v2.0.
|
29
33
|
* @since 1.6.0
|
30
34
|
*/
|
31
35
|
var WorkersKvStore = class {
|
@@ -63,6 +67,10 @@ var WorkersKvStore = class {
|
|
63
67
|
* way as other message queue systems. Instead, you should use
|
64
68
|
* the {@link Federation.processQueuedTask} method to process messages
|
65
69
|
* passed to the queue.
|
70
|
+
*
|
71
|
+
* @deprecated This class has been moved to `@fedify/cfworkers` package.
|
72
|
+
* Import `WorkersMessageQueue` from `@fedify/cfworkers` instead.
|
73
|
+
* This class will be removed in Fedify v2.0.
|
66
74
|
* @since 1.6.0
|
67
75
|
*/
|
68
76
|
var WorkersMessageQueue = class {
|
package/dist/x/hono.d.ts
CHANGED
@@ -25,6 +25,10 @@ type HonoMiddleware<THonoContext extends HonoContext> = (ctx: THonoContext, next
|
|
25
25
|
* A factory function to create a context data for the {@link Federation}
|
26
26
|
* object.
|
27
27
|
*
|
28
|
+
* @deprecated This type has been moved to `@fedify/hono` package.
|
29
|
+
* Import `ContextDataFactory` from `@fedify/hono` instead.
|
30
|
+
* This type will be removed in Fedify v2.0.
|
31
|
+
*
|
28
32
|
* @template TContextData A type of the context data for the {@link Federation}
|
29
33
|
* object.
|
30
34
|
* @template THonoContext A type of the Hono context.
|
@@ -35,6 +39,10 @@ type ContextDataFactory<TContextData, THonoContext> = (context: THonoContext) =>
|
|
35
39
|
/**
|
36
40
|
* Create a Hono middleware to integrate with the {@link Federation} object.
|
37
41
|
*
|
42
|
+
* @deprecated This function has been moved to `@fedify/hono` package.
|
43
|
+
* Import `federation` from `@fedify/hono` instead.
|
44
|
+
* This function will be removed in Fedify v2.0.
|
45
|
+
*
|
38
46
|
* @template TContextData A type of the context data for the {@link Federation}
|
39
47
|
* object.
|
40
48
|
* @template THonoContext A type of the Hono context.
|
package/dist/x/hono.js
CHANGED
@@ -6,6 +6,10 @@
|
|
6
6
|
/**
|
7
7
|
* Create a Hono middleware to integrate with the {@link Federation} object.
|
8
8
|
*
|
9
|
+
* @deprecated This function has been moved to `@fedify/hono` package.
|
10
|
+
* Import `federation` from `@fedify/hono` instead.
|
11
|
+
* This function will be removed in Fedify v2.0.
|
12
|
+
*
|
9
13
|
* @template TContextData A type of the context data for the {@link Federation}
|
10
14
|
* object.
|
11
15
|
* @template THonoContext A type of the Hono context.
|
package/dist/x/sveltekit.d.ts
CHANGED
@@ -24,6 +24,10 @@ type HookParams = {
|
|
24
24
|
* Create a SvelteKit hook handler to integrate with the {@link Federation}
|
25
25
|
* object.
|
26
26
|
*
|
27
|
+
* @deprecated This function has been moved to `@fedify/sveltekit` package.
|
28
|
+
* Import `fedifyHook` from `@fedify/sveltekit` instead.
|
29
|
+
* This function will be removed in Fedify v2.0.
|
30
|
+
*
|
27
31
|
* @example hooks.server.ts
|
28
32
|
* ``` typescript
|
29
33
|
* import { federation } from "./federation"; // Import the `Federation` object
|
package/dist/x/sveltekit.js
CHANGED
@@ -7,6 +7,10 @@
|
|
7
7
|
* Create a SvelteKit hook handler to integrate with the {@link Federation}
|
8
8
|
* object.
|
9
9
|
*
|
10
|
+
* @deprecated This function has been moved to `@fedify/sveltekit` package.
|
11
|
+
* Import `fedifyHook` from `@fedify/sveltekit` instead.
|
12
|
+
* This function will be removed in Fedify v2.0.
|
13
|
+
*
|
10
14
|
* @example hooks.server.ts
|
11
15
|
* ``` typescript
|
12
16
|
* import { federation } from "./federation"; // Import the `Federation` object
|
package/package.json
CHANGED
@@ -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-BEl-iA3b.js";
|
7
|
-
import "./actor-hvufPZ80.js";
|
8
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-CBCCK-Kt.js";
|
9
|
-
import "./lookup-BTsxCnSh.js";
|
10
|
-
import "./key-BVdZtT1_.js";
|
11
|
-
import "./http-CJi72K_A.js";
|
12
|
-
import "./proof-0qDjk2V6.js";
|
13
|
-
import "./types-DzluAftI.js";
|
14
|
-
import "./authdocloader-CtiQW43o.js";
|
15
|
-
import "./vocab-kuoGz_8-.js";
|
16
|
-
|
17
|
-
export { FederationImpl };
|
@@ -1,26 +0,0 @@
|
|
1
|
-
|
2
|
-
import { Temporal } from "@js-temporal/polyfill";
|
3
|
-
import { URLPattern } from "urlpattern-polyfill";
|
4
|
-
globalThis.addEventListener = () => {};
|
5
|
-
|
6
|
-
import "./type-DEt_fBHU.js";
|
7
|
-
import { ContextImpl, FederationImpl, InboxContextImpl, KvSpecDeterminer, createFederation } from "./middleware-B1dTePTn.js";
|
8
|
-
import "./semver-dArNLkR9.js";
|
9
|
-
import "./client-nN6My7yX.js";
|
10
|
-
import "./lookup-BYMAnaWc.js";
|
11
|
-
import "./types-BIgY6c-l.js";
|
12
|
-
import "./actor-BAh3Jb1-.js";
|
13
|
-
import "./key-DwSfVzQW.js";
|
14
|
-
import "./http-twofsY6P.js";
|
15
|
-
import "./authdocloader-C_4pc8zs.js";
|
16
|
-
import "./ld-BXpbj5wF.js";
|
17
|
-
import "./owner-6f-M5CPM.js";
|
18
|
-
import "./proof-CyNUNoN0.js";
|
19
|
-
import "./inbox-DkVhGftF.js";
|
20
|
-
import "./builder-wBFa5JX6.js";
|
21
|
-
import "./collection-CSzG2j1P.js";
|
22
|
-
import "./keycache-qUsoZxfy.js";
|
23
|
-
import "./retry-D4GJ670a.js";
|
24
|
-
import "./send-D-YnQUyU.js";
|
25
|
-
|
26
|
-
export { FederationImpl };
|