@fedify/fedify 1.9.0-pr.389.1491 → 1.9.0-pr.403.1503
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-CTz285kc.js → actor-ddzp91bo.js} +187 -187
- package/dist/{actor-DifeKyzj.js → actor-gF1XBVOh.js} +1 -1
- package/dist/{authdocloader-7HGtYzAG.js → authdocloader-Bazh9WML.js} +3 -3
- package/dist/{authdocloader-Cp8msScH.js → authdocloader-LZrs2JTf.js} +3 -3
- package/dist/{builder-BqVhVF-d.js → builder-Dh6fHk6A.js} +4 -4
- package/dist/{client-CpHcG8Is.js → client-DZoZLopd.js} +2 -2
- package/dist/compat/mod.d.ts +3 -3
- package/dist/compat/transformers.test.js +16 -16
- package/dist/{context-DJQB_Zv4.d.ts → context-CmgIi27U.d.ts} +1 -1
- package/dist/{docloader-DCTLKHHA.js → docloader-B3YenrMX.js} +1 -1
- package/dist/{esm-Cpkqr6zV.js → esm-BIQDNIre.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 +2 -2
- 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-g6xByOLt.js → http-DQvJllR8.js} +3 -3
- package/dist/{http-C-0K3LBb.js → http-DRiKgrZb.js} +2 -2
- package/dist/{inbox-C58I0UNW.js → inbox-CICxRJ1v.js} +1 -1
- package/dist/{key-B1hzx9QU.js → key-64JGN2QF.js} +2 -2
- package/dist/{key-MaVI8Op8.js → key-CkZKU9c3.js} +2 -2
- package/dist/{key-SCoeWSEt.js → key-CmTMB6LD.js} +3 -3
- package/dist/{key-B0ooYJ4P.js → key-DP5st_gc.js} +4 -4
- package/dist/{keycache-V2v-Jmj0.js → keycache-KDjztN02.js} +1 -1
- package/dist/{keys-5Uqke1VO.js → keys-QAPsELFi.js} +1 -1
- package/dist/{ld-qEyoHvMg.js → ld-CzxBsfyQ.js} +2 -2
- package/dist/{lookup-3czM5mmU.d.ts → lookup-BFfXRr1d.d.ts} +16 -3
- package/dist/{lookup-C6Ezno45.js → lookup-CJDkBrED.js} +1 -1
- package/dist/{lookup-BkRjay-B.js → lookup-DG2Qs-8X.js} +2 -2
- package/dist/{middleware-DiEbj3mL.js → middleware-B_z_8lUt.js} +10 -10
- package/dist/middleware-DDqQh45n.js +26 -0
- package/dist/middleware-DeWLztd3.js +17 -0
- package/dist/{middleware-Dy7pO99c.js → middleware-DrSXSqEv.js} +13 -13
- package/dist/{mod-eBo9RUEr.d.ts → mod-DS1m1V7N.d.ts} +1 -1
- package/dist/mod.d.ts +3 -3
- 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-Bzw-t91s.js → owner-CTcr5xgd.js} +2 -2
- package/dist/{proof-Bu83CvxJ.js → proof-B8g21BH-.js} +2 -2
- package/dist/{proof-BHgSKCFL.js → proof-wFWCk5k0.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.js +6 -6
- package/dist/runtime/multibase/multibase.test.js +3 -3
- package/dist/runtime/url.test.js +3 -3
- package/dist/{send-CzzO75cQ.js → send-Q8lbVZtK.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.d.ts +15 -2
- package/dist/testing/mod.js +3 -3
- package/dist/{testing-D5gYMklY.js → testing-DvZH9Z_u.js} +2 -2
- package/dist/{type-DMZadLpj.js → type-CXta-7xG.js} +186 -186
- package/dist/{types-k8CtSoZY.js → types-B6nMoYI4.js} +2 -2
- 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-BNqxj6Ww.js → vocab-BYU_AXmP.js} +4 -4
- package/dist/webfinger/handler.test.js +16 -16
- package/dist/webfinger/lookup.test.js +4 -4
- package/dist/webfinger/mod.d.ts +2 -2
- package/dist/webfinger/mod.js +2 -2
- package/dist/x/cfworkers.test.js +3 -3
- package/dist/x/hono.d.ts +2 -2
- package/dist/x/sveltekit.d.ts +2 -2
- package/package.json +1 -1
- package/dist/middleware-C_wgCcIf.js +0 -26
- package/dist/middleware-CpPFeixB.js +0 -17
package/dist/sig/http.test.js
CHANGED
@@ -3,22 +3,22 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { exportSpki } from "../type-
|
6
|
+
import { exportSpki } from "../type-CXta-7xG.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 "../actor-
|
12
|
-
import { exportJwk } from "../key-
|
13
|
-
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-DG2Qs-8X.js";
|
11
|
+
import "../actor-gF1XBVOh.js";
|
12
|
+
import { exportJwk } from "../key-CkZKU9c3.js";
|
13
|
+
import { createRfc9421SignatureBase, doubleKnock, formatRfc9421Signature, formatRfc9421SignatureParameters, parseRfc9421Signature, parseRfc9421SignatureInput, signRequest, timingSafeEqual, verifyRequest } from "../http-DRiKgrZb.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-DvZH9Z_u.js";
|
15
15
|
import { assertExists, assertStringIncludes } from "../std__assert-X-_kMxKM.js";
|
16
16
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
19
19
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
20
|
-
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-
|
21
|
-
import { esm_default } from "../esm-
|
20
|
+
import { rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey5 } from "../keys-QAPsELFi.js";
|
21
|
+
import { esm_default } from "../esm-BIQDNIre.js";
|
22
22
|
import { encodeBase64 } from "byte-encodings/base64";
|
23
23
|
|
24
24
|
//#region src/sig/http.test.ts
|
package/dist/sig/key.test.js
CHANGED
@@ -3,20 +3,20 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey, Multikey } from "../type-
|
6
|
+
import { CryptographicKey, Multikey } from "../type-CXta-7xG.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 "../actor-
|
12
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-DG2Qs-8X.js";
|
11
|
+
import "../actor-gF1XBVOh.js";
|
12
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk, validateCryptoKey } from "../key-CkZKU9c3.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-DvZH9Z_u.js";
|
14
14
|
import "../std__assert-X-_kMxKM.js";
|
15
15
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
16
16
|
import "../assert_is_error-BPGph1Jx.js";
|
17
17
|
import "../assert_not_equals-f3m3epl3.js";
|
18
18
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
19
|
-
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
19
|
+
import { ed25519Multikey, rsaPrivateKey2, rsaPublicKey1, rsaPublicKey2, rsaPublicKey3 } from "../keys-QAPsELFi.js";
|
20
20
|
|
21
21
|
//#region src/sig/key.test.ts
|
22
22
|
test("validateCryptoKey()", async () => {
|
package/dist/sig/ld.test.js
CHANGED
@@ -3,18 +3,18 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { CryptographicKey } from "../type-
|
6
|
+
import { CryptographicKey } from "../type-CXta-7xG.js";
|
7
7
|
import { assertEquals } from "../assert_equals-DSbWqCm3.js";
|
8
8
|
import { assert } from "../assert-MZs1qjMx.js";
|
9
|
-
import "../lookup-
|
10
|
-
import "../actor-
|
11
|
-
import { generateCryptoKeyPair } from "../key-
|
12
|
-
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-
|
13
|
-
import { mockDocumentLoader, test } from "../testing-
|
9
|
+
import "../lookup-DG2Qs-8X.js";
|
10
|
+
import "../actor-gF1XBVOh.js";
|
11
|
+
import { generateCryptoKeyPair } from "../key-CkZKU9c3.js";
|
12
|
+
import { attachSignature, createSignature, detachSignature, signJsonLd, verifyJsonLd, verifySignature } from "../ld-CzxBsfyQ.js";
|
13
|
+
import { mockDocumentLoader, test } from "../testing-DvZH9Z_u.js";
|
14
14
|
import { assertFalse, assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
15
15
|
import "../assert_is_error-BPGph1Jx.js";
|
16
16
|
import { assertThrows } from "../assert_throws-BOO88avQ.js";
|
17
|
-
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-
|
17
|
+
import { ed25519Multikey, ed25519PrivateKey, rsaPrivateKey2, rsaPrivateKey3, rsaPublicKey2, rsaPublicKey3 } from "../keys-QAPsELFi.js";
|
18
18
|
import { encodeBase64 } from "byte-encodings/base64";
|
19
19
|
|
20
20
|
//#region src/sig/ld.test.ts
|
package/dist/sig/mod.js
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
import { Temporal } from "@js-temporal/polyfill";
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
|
5
|
-
import "../docloader-
|
6
|
-
import "../actor-
|
7
|
-
import "../lookup-
|
8
|
-
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-
|
9
|
-
import { signRequest, verifyRequest } from "../http-
|
10
|
-
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-
|
5
|
+
import "../docloader-B3YenrMX.js";
|
6
|
+
import "../actor-ddzp91bo.js";
|
7
|
+
import "../lookup-CJDkBrED.js";
|
8
|
+
import { exportJwk, fetchKey, generateCryptoKeyPair, importJwk } from "../key-64JGN2QF.js";
|
9
|
+
import { signRequest, verifyRequest } from "../http-DQvJllR8.js";
|
10
|
+
import { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, getKeyOwner, signJsonLd, signObject, verifyJsonLd, verifyObject, verifyProof, verifySignature } from "../proof-wFWCk5k0.js";
|
11
11
|
import "../sig-BXJO--F9.js";
|
12
12
|
|
13
13
|
export { attachSignature, createProof, createSignature, detachSignature, doesActorOwnKey, exportJwk, fetchKey, generateCryptoKeyPair, getKeyOwner, importJwk, signJsonLd, signObject, signRequest, verifyJsonLd, verifyObject, verifyProof, verifyRequest, verifySignature };
|
package/dist/sig/owner.test.js
CHANGED
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create } from "../type-
|
6
|
+
import { Create } from "../type-CXta-7xG.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 { lookupObject } from "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import "../key-
|
13
|
-
import { doesActorOwnKey, getKeyOwner } from "../owner-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import { lookupObject } from "../lookup-DG2Qs-8X.js";
|
11
|
+
import "../actor-gF1XBVOh.js";
|
12
|
+
import "../key-CkZKU9c3.js";
|
13
|
+
import { doesActorOwnKey, getKeyOwner } from "../owner-CTcr5xgd.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-DvZH9Z_u.js";
|
15
15
|
import "../std__assert-X-_kMxKM.js";
|
16
16
|
import { assertFalse } from "../assert_rejects-DiIiJbZn.js";
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
19
19
|
import "../assert_throws-BOO88avQ.js";
|
20
|
-
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-
|
20
|
+
import { rsaPublicKey1, rsaPublicKey2 } from "../keys-QAPsELFi.js";
|
21
21
|
|
22
22
|
//#region src/sig/owner.test.ts
|
23
23
|
test("doesActorOwnKey()", async () => {
|
package/dist/sig/proof.test.js
CHANGED
@@ -3,21 +3,21 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-
|
6
|
+
import { Create, DataIntegrityProof, Multikey, Note, Place, decode, importMultibaseKey } from "../type-CXta-7xG.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 "../lookup-
|
11
|
-
import "../actor-
|
12
|
-
import "../key-
|
13
|
-
import { createProof, signObject, verifyObject, verifyProof } from "../proof-
|
14
|
-
import { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-DG2Qs-8X.js";
|
11
|
+
import "../actor-gF1XBVOh.js";
|
12
|
+
import "../key-CkZKU9c3.js";
|
13
|
+
import { createProof, signObject, verifyObject, verifyProof } from "../proof-B8g21BH-.js";
|
14
|
+
import { mockDocumentLoader, test } from "../testing-DvZH9Z_u.js";
|
15
15
|
import "../std__assert-X-_kMxKM.js";
|
16
16
|
import { assertRejects } from "../assert_rejects-DiIiJbZn.js";
|
17
17
|
import "../assert_is_error-BPGph1Jx.js";
|
18
18
|
import "../assert_not_equals-f3m3epl3.js";
|
19
19
|
import "../assert_throws-BOO88avQ.js";
|
20
|
-
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-
|
20
|
+
import { ed25519Multikey, ed25519PrivateKey, ed25519PublicKey, rsaPrivateKey2, rsaPublicKey2 } from "../keys-QAPsELFi.js";
|
21
21
|
import { decodeHex, encodeHex } from "byte-encodings/hex";
|
22
22
|
|
23
23
|
//#region src/sig/proof.test.ts
|
@@ -3,12 +3,12 @@
|
|
3
3
|
import { URLPattern } from "urlpattern-polyfill";
|
4
4
|
globalThis.addEventListener = () => {};
|
5
5
|
|
6
|
-
import "../type-
|
6
|
+
import "../type-CXta-7xG.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 { mockDocumentLoader, test } from "../testing-
|
10
|
+
import "../lookup-DG2Qs-8X.js";
|
11
|
+
import { mockDocumentLoader, test } from "../testing-DvZH9Z_u.js";
|
12
12
|
import "../std__assert-X-_kMxKM.js";
|
13
13
|
import "../assert_rejects-DiIiJbZn.js";
|
14
14
|
import "../assert_is_error-BPGph1Jx.js";
|
package/dist/testing/mod.d.ts
CHANGED
@@ -6950,7 +6950,7 @@ interface ResourceDescriptor {
|
|
6950
6950
|
/**
|
6951
6951
|
* Links to other resources.
|
6952
6952
|
*/
|
6953
|
-
links?: Link$1
|
6953
|
+
links?: Array<Link$1 | OStatusSubscribeLink>;
|
6954
6954
|
}
|
6955
6955
|
/**
|
6956
6956
|
* Represents a link. See also
|
@@ -6970,7 +6970,7 @@ interface Link$1 {
|
|
6970
6970
|
/**
|
6971
6971
|
* A URI pointing to the target resource.
|
6972
6972
|
*/
|
6973
|
-
href
|
6973
|
+
href?: string;
|
6974
6974
|
/**
|
6975
6975
|
* Human-readable titles describing the link relation. If the language is
|
6976
6976
|
* unknown or unspecified, the key is `"und"`.
|
@@ -6981,6 +6981,19 @@ interface Link$1 {
|
|
6981
6981
|
*/
|
6982
6982
|
properties?: Record<string, string>;
|
6983
6983
|
}
|
6984
|
+
/**
|
6985
|
+
* References a link. See also
|
6986
|
+
* [OStatus 1.0 Draft 2](https://www.w3.org/community/ostatus/wiki/images/9/93/OStatus_1.0_Draft_2.pdf)
|
6987
|
+
*/
|
6988
|
+
interface OStatusSubscribeLink {
|
6989
|
+
rel: "http://ostatus.org/schema/1.0/subscribe";
|
6990
|
+
/**
|
6991
|
+
* A URI template (RFC 6570) that can be used to construct URIs by
|
6992
|
+
* substituting variables. Used primarily for subscription endpoints
|
6993
|
+
* where parameters like account URIs need to be dynamically inserted.
|
6994
|
+
*/
|
6995
|
+
template: string;
|
6996
|
+
}
|
6984
6997
|
//#endregion
|
6985
6998
|
//#region src/webfinger/lookup.d.ts
|
6986
6999
|
/**
|
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-CXta-7xG.js";
|
7
|
+
import "../lookup-DG2Qs-8X.js";
|
8
|
+
import { createInboxContext, createRequestContext, test, testDefinitions } from "../testing-DvZH9Z_u.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-CXta-7xG.js";
|
7
|
+
import { RouterError, lookupObject, traverseCollection } from "./lookup-DG2Qs-8X.js";
|
8
8
|
import { configure, getConsoleSink, getLogger, reset } from "@logtape/logtape";
|
9
9
|
import { trace } from "@opentelemetry/api";
|
10
10
|
|