@fedify/fedify 1.9.0-pr.404.1510 → 2.0.0-dev.1514
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-DkIdAr9J.js → actor-B9P2qjOp.js} +228 -225
- package/dist/{actor-Ch5yFYFG.d.ts → actor-C22bXuuC.d.ts} +1 -1
- package/dist/{actor-CHqaUXl1.js → actor-_5FcZYCJ.js} +1 -1
- package/dist/{authdocloader-CjGMaQfP.js → authdocloader-B85dU2XF.js} +3 -3
- package/dist/{authdocloader-Bq3eEtNg.js → authdocloader-D1iSfbFg.js} +3 -3
- package/dist/{builder-DHDVBVOV.js → builder-CYzXSls9.js} +4 -4
- package/dist/{client-nKH0m0vE.js → client-CVlb4Ok0.js} +2 -2
- package/dist/compat/mod.d.ts +8 -8
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-DNwURm52.d.ts → context-3ICnZJKt.d.ts} +6 -12
- package/dist/{docloader-Bs8tIfQl.js → docloader-Oh_3p-47.js} +1 -2
- package/dist/{esm-BHj56Vi7.js → esm-D3g5PyTT.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 +46 -47
- package/dist/federation/mod.d.ts +7 -7
- 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-DWzB6Eiv.js → http-BfYXy8KN.js} +3 -3
- package/dist/{http-zMANLZqM.js → http-CqQdyMrD.js} +2 -2
- package/dist/{http-D8Q4xH0d.d.ts → http-DqSNLFNY.d.ts} +1 -1
- package/dist/{inbox-Dp-eEtMJ.js → inbox-aK-1EWle.js} +1 -1
- package/dist/{key-8JDozsni.js → key-CIHj-ji7.js} +3 -3
- package/dist/{key-UNMrztet.js → key-DO4DsIoa.js} +4 -4
- package/dist/{key-BbWECGU6.js → key-DvNnIm-b.js} +2 -2
- package/dist/{key-nbNXifMr.js → key-dwUEz7hD.js} +2 -2
- package/dist/{keycache-DpBmIsYm.js → keycache-BVu6aNEj.js} +1 -1
- package/dist/{keys-jozgkzA_.js → keys-DzPS0ETq.js} +1 -1
- package/dist/{ld-Bc_JMHzZ.js → ld-Cnu549gk.js} +2 -2
- package/dist/{lookup-9rf-3A_i.d.ts → lookup-3czM5mmU.d.ts} +1 -7
- package/dist/{lookup-aiIxqPca.js → lookup-CHIhk5sJ.js} +2 -2
- package/dist/{lookup-DpxXFxgP.js → lookup-CUS6_-CL.js} +1 -1
- package/dist/middleware-26M2bCJx.js +26 -0
- package/dist/{middleware--YergbUA.js → middleware-Bx2AUSYt.js} +12 -17
- package/dist/middleware-CpfIowSV.js +17 -0
- package/dist/{middleware-8D078v9S.js → middleware-DZEp_3SF.js} +15 -20
- package/dist/{mod-QSm_u37X.d.ts → mod-CWxqOAci.d.ts} +2 -2
- package/dist/{mod-Cy6pkZSn.d.ts → mod-Cxt4Kpf6.d.ts} +1 -1
- package/dist/{mod-B7Pc0I7F.d.ts → mod-Drmz72EK.d.ts} +2 -2
- package/dist/{mod-BAuhKa9d.d.ts → mod-TFoH2Ql8.d.ts} +1 -1
- package/dist/mod.d.ts +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-D38zBIMc.d.ts → owner-CQPnQVtf.d.ts} +2 -2
- package/dist/{owner-D9G54cA0.js → owner-DLtMHO6X.js} +2 -2
- package/dist/{proof-D-__AaiA.js → proof-BJikaSMR.js} +2 -2
- package/dist/{proof-ByNeF5u0.js → proof-DV0L-54H.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 +5 -6
- 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-C7UN2arY.js → send-vv5TvgyD.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/testing/docloader.test.js +3 -3
- package/dist/testing/mod.d.ts +14 -17
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-5ZjvWetO.js → testing-DM_97aHJ.js} +2 -2
- package/dist/{type-DYvF-0mj.js → type-BaPlY7h1.js} +227 -225
- package/dist/{types-BgaosfAy.js → types-0RrqyCDq.js} +2 -2
- 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 +11 -12
- package/dist/{vocab-Db27HLtB.js → vocab-FZ-IPYpZ.js} +4 -4
- package/dist/{vocab-BEEm2I6u.d.ts → vocab-SOE1ifCr.d.ts} +15 -12
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.d.ts +1 -1
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +7 -7
- package/dist/x/sveltekit.d.ts +7 -7
- package/package.json +1 -2
- package/dist/middleware-CC7Dt7C9.js +0 -17
- package/dist/middleware-DeBTO9vF.js +0 -26
package/dist/testing/mod.d.ts
CHANGED
@@ -2,7 +2,6 @@ import { Temporal } from "@js-temporal/polyfill";
|
|
2
2
|
import { URLPattern } from "urlpattern-polyfill";
|
3
3
|
globalThis.addEventListener = () => {};
|
4
4
|
import { Span, TracerProvider } from "@opentelemetry/api";
|
5
|
-
import { LanguageTag } from "@phensley/language-tag";
|
6
5
|
|
7
6
|
//#region src/runtime/docloader.d.ts
|
8
7
|
/**
|
@@ -281,14 +280,18 @@ interface GetNodeInfoOptions {
|
|
281
280
|
* A language-tagged string which corresponds to the `rdf:langString` type.
|
282
281
|
*/
|
283
282
|
declare class LanguageString extends String {
|
284
|
-
|
283
|
+
/**
|
284
|
+
* The locale of the string.
|
285
|
+
* @since 2.0.0
|
286
|
+
*/
|
287
|
+
readonly locale: Intl.Locale;
|
285
288
|
/**
|
286
289
|
* Constructs a new `LanguageString`.
|
287
290
|
* @param value A string value written in the given language.
|
288
|
-
* @param
|
289
|
-
*
|
291
|
+
* @param locale The language of the string. If a string is given, it will
|
292
|
+
* be parsed as a `Intl.Locale` object.
|
290
293
|
*/
|
291
|
-
constructor(value: string, language:
|
294
|
+
constructor(value: string, language: Intl.Locale | string);
|
292
295
|
}
|
293
296
|
//#endregion
|
294
297
|
//#region src/vocab/vocab.d.ts
|
@@ -4107,7 +4110,7 @@ declare class Link {
|
|
4107
4110
|
mediaType?: string | null;
|
4108
4111
|
name?: string | LanguageString | null;
|
4109
4112
|
names?: ((string | LanguageString))[];
|
4110
|
-
language?:
|
4113
|
+
language?: Intl.Locale | null;
|
4111
4114
|
height?: number | null;
|
4112
4115
|
width?: number | null;
|
4113
4116
|
previews?: (Link | Object$1 | URL)[];
|
@@ -4130,7 +4133,7 @@ declare class Link {
|
|
4130
4133
|
mediaType?: string | null;
|
4131
4134
|
name?: string | LanguageString | null;
|
4132
4135
|
names?: ((string | LanguageString))[];
|
4133
|
-
language?:
|
4136
|
+
language?: Intl.Locale | null;
|
4134
4137
|
height?: number | null;
|
4135
4138
|
width?: number | null;
|
4136
4139
|
previews?: (Link | Object$1 | URL)[];
|
@@ -4174,7 +4177,7 @@ declare class Link {
|
|
4174
4177
|
/** Hints as to the language used by the target resource.
|
4175
4178
|
* Value MUST be a BCP 47 Language-Tag.
|
4176
4179
|
*/
|
4177
|
-
get language():
|
4180
|
+
get language(): Intl.Locale | null;
|
4178
4181
|
/** On a {@link Link}, specifies a hint as to the rendering height in
|
4179
4182
|
* device-independent pixels of the linked resource.
|
4180
4183
|
*/
|
@@ -4258,7 +4261,7 @@ declare class Hashtag extends Link {
|
|
4258
4261
|
mediaType?: string | null;
|
4259
4262
|
name?: string | LanguageString | null;
|
4260
4263
|
names?: ((string | LanguageString))[];
|
4261
|
-
language?:
|
4264
|
+
language?: Intl.Locale | null;
|
4262
4265
|
height?: number | null;
|
4263
4266
|
width?: number | null;
|
4264
4267
|
previews?: (Link | Object$1 | URL)[];
|
@@ -4281,7 +4284,7 @@ declare class Hashtag extends Link {
|
|
4281
4284
|
mediaType?: string | null;
|
4282
4285
|
name?: string | LanguageString | null;
|
4283
4286
|
names?: ((string | LanguageString))[];
|
4284
|
-
language?:
|
4287
|
+
language?: Intl.Locale | null;
|
4285
4288
|
height?: number | null;
|
4286
4289
|
width?: number | null;
|
4287
4290
|
previews?: (Link | Object$1 | URL)[];
|
@@ -6970,7 +6973,7 @@ interface Link$1 {
|
|
6970
6973
|
/**
|
6971
6974
|
* A URI pointing to the target resource.
|
6972
6975
|
*/
|
6973
|
-
href
|
6976
|
+
href: string;
|
6974
6977
|
/**
|
6975
6978
|
* Human-readable titles describing the link relation. If the language is
|
6976
6979
|
* unknown or unspecified, the key is `"und"`.
|
@@ -6980,12 +6983,6 @@ interface Link$1 {
|
|
6980
6983
|
* Conveys additional information about the link relation.
|
6981
6984
|
*/
|
6982
6985
|
properties?: Record<string, string>;
|
6983
|
-
/**
|
6984
|
-
* A URI template (RFC 6570) that can be used to construct URIs by
|
6985
|
-
* substituting variables. Used primarily for subscription endpoints
|
6986
|
-
* where parameters like account URIs need to be dynamically inserted.
|
6987
|
-
*/
|
6988
|
-
template?: string;
|
6989
6986
|
}
|
6990
6987
|
//#endregion
|
6991
6988
|
//#region src/webfinger/lookup.d.ts
|
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-BaPlY7h1.js";
|
7
|
+
import "../lookup-CHIhk5sJ.js";
|
8
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-DM_97aHJ.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-BaPlY7h1.js";
|
7
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-CHIhk5sJ.js";
|
8
8
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
9
9
|
import { trace } from "@opentelemetry/api";
|
10
10
|
|