@fedify/fedify 1.9.0-pr.378.1394 → 1.9.0-pr.383.1403
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{actor-Uh1YDuVl.d.ts → actor-Ch5yFYFG.d.ts} +1 -1
- package/dist/{actor-B7EOS7sj.js → actor-DnPEDWLF.js} +1 -1
- package/dist/{actor-DVhqV33k.js → actor-eZbQYdo8.js} +1299 -179
- package/dist/{authdocloader-C4Z-T6r4.js → authdocloader-CJp5Zfjg.js} +3 -3
- package/dist/{authdocloader-C3NOxWC4.js → authdocloader-CnEXUcuh.js} +3 -3
- package/dist/{builder-DWbYd7Uz.js → builder-DuTTkBSu.js} +4 -4
- package/dist/{client-MeYeu6QM.js → client-BTeMw-gE.js} +1 -1
- package/dist/compat/mod.d.ts +7 -7
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-CnveeHUR.d.ts → context-DJQB_Zv4.d.ts} +5 -5
- package/dist/{docloader-lRn6Iz9h.js → docloader-DX3Np5vD.js} +35 -1
- package/dist/{esm-Cbcf_ekH.js → esm-Z0ZE8jo2.js} +1 -1
- package/dist/federation/builder.test.js +5 -5
- package/dist/federation/collection.test.js +3 -3
- package/dist/federation/handler.test.js +17 -17
- package/dist/federation/inbox.test.js +4 -4
- package/dist/federation/keycache.test.js +4 -4
- package/dist/federation/kv.test.js +3 -3
- package/dist/federation/middleware.test.js +18 -18
- package/dist/federation/mod.d.ts +6 -6
- package/dist/federation/mod.js +10 -10
- package/dist/federation/mq.test.js +3 -3
- package/dist/federation/retry.test.js +3 -3
- package/dist/federation/router.test.js +3 -3
- package/dist/federation/send.test.js +10 -10
- package/dist/{http-jsbQZmEx.js → http-CeLPDaRi.js} +2 -2
- package/dist/{http-DtG44GdM.d.ts → http-D8Q4xH0d.d.ts} +1 -1
- package/dist/{http-Xaq8uKR0.js → http-K4Tla_KJ.js} +3 -3
- package/dist/{inbox-Bvgh0p3t.js → inbox-BN0NXeC5.js} +1 -1
- package/dist/{key-7GjX3d6i.js → key-BsAiUXA4.js} +4 -4
- package/dist/{key-CGiIDuCb.js → key-CF7W9XLg.js} +2 -2
- package/dist/{key-B_hS87hg.js → key-DDiv1qGZ.js} +3 -3
- package/dist/{key-BA-VESrE.js → key-D_LpnL8C.js} +2 -2
- package/dist/{keycache-CaGRPD2D.js → keycache-CdO0iFUd.js} +1 -1
- package/dist/{keys-n8TnpEvl.js → keys-DSIJcr9B.js} +1 -1
- package/dist/{ld-536I1uoS.js → ld-JDE42vh9.js} +2 -2
- package/dist/{lookup-CpQFwuYT.js → lookup-BsolMp1L.js} +1 -1
- package/dist/{lookup-B51nxTWE.js → lookup-x9_o9BYY.js} +1 -1
- package/dist/{middleware-AR3RfTfO.js → middleware-BTtHOwFm.js} +17 -18
- package/dist/middleware-D1Ikw9dP.js +26 -0
- package/dist/middleware-DuCivxEy.js +17 -0
- package/dist/{middleware-D550um_p.js → middleware-sVKKoAcN.js} +14 -15
- package/dist/{mod-tQVUxQ_D.d.ts → mod-B7Pc0I7F.d.ts} +2 -2
- package/dist/{mod-mSMqo9JU.d.ts → mod-BAuhKa9d.d.ts} +1 -1
- package/dist/{mod-cz-tNIqP.d.ts → mod-Cy6pkZSn.d.ts} +1 -1
- package/dist/{mod-DPpunL8j.d.ts → mod-eBo9RUEr.d.ts} +2 -2
- package/dist/mod.d.ts +9 -9
- package/dist/mod.js +10 -10
- package/dist/nodeinfo/client.test.js +5 -5
- package/dist/nodeinfo/handler.test.js +16 -16
- package/dist/nodeinfo/mod.js +2 -2
- package/dist/nodeinfo/semver.test.js +3 -3
- package/dist/nodeinfo/types.test.js +3 -3
- package/dist/{owner-C12klfeG.d.ts → owner-D38zBIMc.d.ts} +2 -2
- package/dist/{owner-Dp73PxeY.js → owner-SUDnUN_3.js} +2 -2
- package/dist/{proof-DWJpYhi0.js → proof-BLxP2Ck2.js} +2 -2
- package/dist/{proof-DKtgyz5B.js → proof-BudfEhst.js} +3 -3
- package/dist/runtime/authdocloader.test.js +9 -9
- package/dist/runtime/docloader.test.js +4 -4
- package/dist/runtime/key.test.js +5 -5
- package/dist/runtime/langstr.test.js +3 -3
- package/dist/runtime/mod.d.ts +3 -3
- package/dist/runtime/mod.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-DucL-V0N.js → send-WVrf9Rly.js} +2 -2
- package/dist/sig/http.test.js +8 -8
- package/dist/sig/key.test.js +6 -6
- package/dist/sig/ld.test.js +7 -7
- package/dist/sig/mod.d.ts +5 -5
- package/dist/sig/mod.js +6 -6
- package/dist/sig/owner.test.js +7 -7
- package/dist/sig/proof.test.js +7 -7
- package/dist/src/vocab/collection.yaml +72 -0
- package/dist/testing/docloader.test.js +3 -3
- package/dist/testing/mod.d.ts +176 -0
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-CjUbycJE.js → testing-CY2ikEnk.js} +2 -2
- package/dist/{type-CQXrP5Lt.js → type-CysHu9KY.js} +1408 -254
- package/dist/{types-CCNn1tuL.js → types-Od3pVz0f.js} +1 -1
- package/dist/vocab/actor.test.js +5 -5
- package/dist/vocab/lookup.test.js +4 -4
- package/dist/vocab/mod.d.ts +3 -3
- package/dist/vocab/mod.js +4 -4
- package/dist/vocab/type.test.js +3 -3
- package/dist/vocab/vocab.test.js +14 -4
- package/dist/{vocab-Ukxjz3TM.d.ts → vocab-BEEm2I6u.d.ts} +176 -0
- package/dist/{vocab-Dqyc86T5.js → vocab-CiVt6gtY.js} +3 -3
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +6 -6
- package/dist/x/sveltekit.d.ts +6 -6
- package/package.json +1 -1
- package/dist/middleware-DLmV3Z7C.js +0 -26
- package/dist/middleware-JbhBHf-6.js +0 -17
package/dist/testing/mod.d.ts
CHANGED
@@ -2814,6 +2814,14 @@ declare class Collection extends Object$1 {
|
|
2814
2814
|
first?: CollectionPage | URL | null;
|
2815
2815
|
last?: CollectionPage | URL | null;
|
2816
2816
|
items?: (Object$1 | Link | URL)[];
|
2817
|
+
likesOf?: Object$1 | URL | null;
|
2818
|
+
sharesOf?: Object$1 | URL | null;
|
2819
|
+
repliesOf?: Object$1 | URL | null;
|
2820
|
+
inboxOf?: Object$1 | URL | null;
|
2821
|
+
outboxOf?: Object$1 | URL | null;
|
2822
|
+
followersOf?: Object$1 | URL | null;
|
2823
|
+
followingOf?: Object$1 | URL | null;
|
2824
|
+
likedOf?: Object$1 | URL | null;
|
2817
2825
|
}, options?: {
|
2818
2826
|
documentLoader?: DocumentLoader;
|
2819
2827
|
contextLoader?: DocumentLoader;
|
@@ -2880,6 +2888,14 @@ declare class Collection extends Object$1 {
|
|
2880
2888
|
first?: CollectionPage | URL | null;
|
2881
2889
|
last?: CollectionPage | URL | null;
|
2882
2890
|
items?: (Object$1 | Link | URL)[];
|
2891
|
+
likesOf?: Object$1 | URL | null;
|
2892
|
+
sharesOf?: Object$1 | URL | null;
|
2893
|
+
repliesOf?: Object$1 | URL | null;
|
2894
|
+
inboxOf?: Object$1 | URL | null;
|
2895
|
+
outboxOf?: Object$1 | URL | null;
|
2896
|
+
followersOf?: Object$1 | URL | null;
|
2897
|
+
followingOf?: Object$1 | URL | null;
|
2898
|
+
likedOf?: Object$1 | URL | null;
|
2883
2899
|
}, options?: {
|
2884
2900
|
documentLoader?: DocumentLoader;
|
2885
2901
|
contextLoader?: DocumentLoader;
|
@@ -2949,6 +2965,118 @@ declare class Collection extends Object$1 {
|
|
2949
2965
|
suppressError?: boolean;
|
2950
2966
|
tracerProvider?: TracerProvider;
|
2951
2967
|
}): AsyncIterable<Object$1 | Link>;
|
2968
|
+
/**
|
2969
|
+
* Similar to
|
2970
|
+
* {@link Collection.getLikesOf},
|
2971
|
+
* but returns its `@id` URL instead of the object itself.
|
2972
|
+
*/
|
2973
|
+
get likesOfId(): URL | null;
|
2974
|
+
/** Defines an object for which the collection is the value of the likes property.
|
2975
|
+
*/
|
2976
|
+
getLikesOf(options?: {
|
2977
|
+
documentLoader?: DocumentLoader;
|
2978
|
+
contextLoader?: DocumentLoader;
|
2979
|
+
suppressError?: boolean;
|
2980
|
+
tracerProvider?: TracerProvider;
|
2981
|
+
}): Promise<Object$1 | null>;
|
2982
|
+
/**
|
2983
|
+
* Similar to
|
2984
|
+
* {@link Collection.getSharesOf},
|
2985
|
+
* but returns its `@id` URL instead of the object itself.
|
2986
|
+
*/
|
2987
|
+
get sharesOfId(): URL | null;
|
2988
|
+
/** Defines an object for which the collection is the value of the shares property.
|
2989
|
+
*/
|
2990
|
+
getSharesOf(options?: {
|
2991
|
+
documentLoader?: DocumentLoader;
|
2992
|
+
contextLoader?: DocumentLoader;
|
2993
|
+
suppressError?: boolean;
|
2994
|
+
tracerProvider?: TracerProvider;
|
2995
|
+
}): Promise<Object$1 | null>;
|
2996
|
+
/**
|
2997
|
+
* Similar to
|
2998
|
+
* {@link Collection.getRepliesOf},
|
2999
|
+
* but returns its `@id` URL instead of the object itself.
|
3000
|
+
*/
|
3001
|
+
get repliesOfId(): URL | null;
|
3002
|
+
/** Defines an object for which the collection is the value of the replies property.
|
3003
|
+
*/
|
3004
|
+
getRepliesOf(options?: {
|
3005
|
+
documentLoader?: DocumentLoader;
|
3006
|
+
contextLoader?: DocumentLoader;
|
3007
|
+
suppressError?: boolean;
|
3008
|
+
tracerProvider?: TracerProvider;
|
3009
|
+
}): Promise<Object$1 | null>;
|
3010
|
+
/**
|
3011
|
+
* Similar to
|
3012
|
+
* {@link Collection.getInboxOf},
|
3013
|
+
* but returns its `@id` URL instead of the object itself.
|
3014
|
+
*/
|
3015
|
+
get inboxOfId(): URL | null;
|
3016
|
+
/** Defines an actor for which the collection is the value of the inbox property.
|
3017
|
+
*/
|
3018
|
+
getInboxOf(options?: {
|
3019
|
+
documentLoader?: DocumentLoader;
|
3020
|
+
contextLoader?: DocumentLoader;
|
3021
|
+
suppressError?: boolean;
|
3022
|
+
tracerProvider?: TracerProvider;
|
3023
|
+
}): Promise<Object$1 | null>;
|
3024
|
+
/**
|
3025
|
+
* Similar to
|
3026
|
+
* {@link Collection.getOutboxOf},
|
3027
|
+
* but returns its `@id` URL instead of the object itself.
|
3028
|
+
*/
|
3029
|
+
get outboxOfId(): URL | null;
|
3030
|
+
/** Defines an actor for which the collection is the value of the outbox property.
|
3031
|
+
*/
|
3032
|
+
getOutboxOf(options?: {
|
3033
|
+
documentLoader?: DocumentLoader;
|
3034
|
+
contextLoader?: DocumentLoader;
|
3035
|
+
suppressError?: boolean;
|
3036
|
+
tracerProvider?: TracerProvider;
|
3037
|
+
}): Promise<Object$1 | null>;
|
3038
|
+
/**
|
3039
|
+
* Similar to
|
3040
|
+
* {@link Collection.getFollowersOf},
|
3041
|
+
* but returns its `@id` URL instead of the object itself.
|
3042
|
+
*/
|
3043
|
+
get followersOfId(): URL | null;
|
3044
|
+
/** Defines an actor for which the collection is the value of the followers property.
|
3045
|
+
*/
|
3046
|
+
getFollowersOf(options?: {
|
3047
|
+
documentLoader?: DocumentLoader;
|
3048
|
+
contextLoader?: DocumentLoader;
|
3049
|
+
suppressError?: boolean;
|
3050
|
+
tracerProvider?: TracerProvider;
|
3051
|
+
}): Promise<Object$1 | null>;
|
3052
|
+
/**
|
3053
|
+
* Similar to
|
3054
|
+
* {@link Collection.getFollowingOf},
|
3055
|
+
* but returns its `@id` URL instead of the object itself.
|
3056
|
+
*/
|
3057
|
+
get followingOfId(): URL | null;
|
3058
|
+
/** Defines an actor for which the collection is the value of the following property.
|
3059
|
+
*/
|
3060
|
+
getFollowingOf(options?: {
|
3061
|
+
documentLoader?: DocumentLoader;
|
3062
|
+
contextLoader?: DocumentLoader;
|
3063
|
+
suppressError?: boolean;
|
3064
|
+
tracerProvider?: TracerProvider;
|
3065
|
+
}): Promise<Object$1 | null>;
|
3066
|
+
/**
|
3067
|
+
* Similar to
|
3068
|
+
* {@link Collection.getLikedOf},
|
3069
|
+
* but returns its `@id` URL instead of the object itself.
|
3070
|
+
*/
|
3071
|
+
get likedOfId(): URL | null;
|
3072
|
+
/** Defines an actor for which the collection is the value of the liked property.
|
3073
|
+
*/
|
3074
|
+
getLikedOf(options?: {
|
3075
|
+
documentLoader?: DocumentLoader;
|
3076
|
+
contextLoader?: DocumentLoader;
|
3077
|
+
suppressError?: boolean;
|
3078
|
+
tracerProvider?: TracerProvider;
|
3079
|
+
}): Promise<Object$1 | null>;
|
2952
3080
|
/**
|
2953
3081
|
* Converts this object to a JSON-LD structure.
|
2954
3082
|
* @param options The options to use.
|
@@ -3058,6 +3186,14 @@ declare class CollectionPage extends Collection {
|
|
3058
3186
|
first?: CollectionPage | URL | null;
|
3059
3187
|
last?: CollectionPage | URL | null;
|
3060
3188
|
items?: (Object$1 | Link | URL)[];
|
3189
|
+
likesOf?: Object$1 | URL | null;
|
3190
|
+
sharesOf?: Object$1 | URL | null;
|
3191
|
+
repliesOf?: Object$1 | URL | null;
|
3192
|
+
inboxOf?: Object$1 | URL | null;
|
3193
|
+
outboxOf?: Object$1 | URL | null;
|
3194
|
+
followersOf?: Object$1 | URL | null;
|
3195
|
+
followingOf?: Object$1 | URL | null;
|
3196
|
+
likedOf?: Object$1 | URL | null;
|
3061
3197
|
partOf?: Collection | URL | null;
|
3062
3198
|
next?: CollectionPage | URL | null;
|
3063
3199
|
prev?: CollectionPage | URL | null;
|
@@ -3127,6 +3263,14 @@ declare class CollectionPage extends Collection {
|
|
3127
3263
|
first?: CollectionPage | URL | null;
|
3128
3264
|
last?: CollectionPage | URL | null;
|
3129
3265
|
items?: (Object$1 | Link | URL)[];
|
3266
|
+
likesOf?: Object$1 | URL | null;
|
3267
|
+
sharesOf?: Object$1 | URL | null;
|
3268
|
+
repliesOf?: Object$1 | URL | null;
|
3269
|
+
inboxOf?: Object$1 | URL | null;
|
3270
|
+
outboxOf?: Object$1 | URL | null;
|
3271
|
+
followersOf?: Object$1 | URL | null;
|
3272
|
+
followingOf?: Object$1 | URL | null;
|
3273
|
+
likedOf?: Object$1 | URL | null;
|
3130
3274
|
partOf?: Collection | URL | null;
|
3131
3275
|
next?: CollectionPage | URL | null;
|
3132
3276
|
prev?: CollectionPage | URL | null;
|
@@ -4427,6 +4571,14 @@ declare class OrderedCollection extends Collection {
|
|
4427
4571
|
current?: CollectionPage | URL | null;
|
4428
4572
|
first?: CollectionPage | URL | null;
|
4429
4573
|
last?: CollectionPage | URL | null;
|
4574
|
+
likesOf?: Object$1 | URL | null;
|
4575
|
+
sharesOf?: Object$1 | URL | null;
|
4576
|
+
repliesOf?: Object$1 | URL | null;
|
4577
|
+
inboxOf?: Object$1 | URL | null;
|
4578
|
+
outboxOf?: Object$1 | URL | null;
|
4579
|
+
followersOf?: Object$1 | URL | null;
|
4580
|
+
followingOf?: Object$1 | URL | null;
|
4581
|
+
likedOf?: Object$1 | URL | null;
|
4430
4582
|
items?: (Object$1 | Link | URL)[];
|
4431
4583
|
}, options?: {
|
4432
4584
|
documentLoader?: DocumentLoader;
|
@@ -4493,6 +4645,14 @@ declare class OrderedCollection extends Collection {
|
|
4493
4645
|
current?: CollectionPage | URL | null;
|
4494
4646
|
first?: CollectionPage | URL | null;
|
4495
4647
|
last?: CollectionPage | URL | null;
|
4648
|
+
likesOf?: Object$1 | URL | null;
|
4649
|
+
sharesOf?: Object$1 | URL | null;
|
4650
|
+
repliesOf?: Object$1 | URL | null;
|
4651
|
+
inboxOf?: Object$1 | URL | null;
|
4652
|
+
outboxOf?: Object$1 | URL | null;
|
4653
|
+
followersOf?: Object$1 | URL | null;
|
4654
|
+
followingOf?: Object$1 | URL | null;
|
4655
|
+
likedOf?: Object$1 | URL | null;
|
4496
4656
|
items?: (Object$1 | Link | URL)[];
|
4497
4657
|
}, options?: {
|
4498
4658
|
documentLoader?: DocumentLoader;
|
@@ -4621,6 +4781,14 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
4621
4781
|
current?: CollectionPage | URL | null;
|
4622
4782
|
first?: CollectionPage | URL | null;
|
4623
4783
|
last?: CollectionPage | URL | null;
|
4784
|
+
likesOf?: Object$1 | URL | null;
|
4785
|
+
sharesOf?: Object$1 | URL | null;
|
4786
|
+
repliesOf?: Object$1 | URL | null;
|
4787
|
+
inboxOf?: Object$1 | URL | null;
|
4788
|
+
outboxOf?: Object$1 | URL | null;
|
4789
|
+
followersOf?: Object$1 | URL | null;
|
4790
|
+
followingOf?: Object$1 | URL | null;
|
4791
|
+
likedOf?: Object$1 | URL | null;
|
4624
4792
|
partOf?: Collection | URL | null;
|
4625
4793
|
next?: CollectionPage | URL | null;
|
4626
4794
|
prev?: CollectionPage | URL | null;
|
@@ -4691,6 +4859,14 @@ declare class OrderedCollectionPage extends CollectionPage {
|
|
4691
4859
|
current?: CollectionPage | URL | null;
|
4692
4860
|
first?: CollectionPage | URL | null;
|
4693
4861
|
last?: CollectionPage | URL | null;
|
4862
|
+
likesOf?: Object$1 | URL | null;
|
4863
|
+
sharesOf?: Object$1 | URL | null;
|
4864
|
+
repliesOf?: Object$1 | URL | null;
|
4865
|
+
inboxOf?: Object$1 | URL | null;
|
4866
|
+
outboxOf?: Object$1 | URL | null;
|
4867
|
+
followersOf?: Object$1 | URL | null;
|
4868
|
+
followingOf?: Object$1 | URL | null;
|
4869
|
+
likedOf?: Object$1 | URL | null;
|
4694
4870
|
partOf?: Collection | URL | null;
|
4695
4871
|
next?: CollectionPage | URL | null;
|
4696
4872
|
prev?: CollectionPage | URL | null;
|
package/dist/testing/mod.js
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
7
|
-
import "../lookup-
|
8
|
-
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-
|
6
|
+
import "../type-CysHu9KY.js";
|
7
|
+
import "../lookup-BsolMp1L.js";
|
8
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-CY2ikEnk.js";
|
9
9
|
|
10
10
|
export { createInboxContext, createRequestContext, test, testDefinitions };
|
@@ -3,8 +3,8 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { __require, lookupWebFinger } from "./type-
|
7
|
-
import { RouterError, lookupObject, traverseCollection } from "./lookup-
|
6
|
+
import { __require, lookupWebFinger } from "./type-CysHu9KY.js";
|
7
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-BsolMp1L.js";
|
8
8
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
9
9
|
import { trace } from "@opentelemetry/api";
|
10
10
|
|